mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-19 08:08:39 +01:00
Add initial search editor implementation (#85424)
* Initial search editor implementation * Merge fixes * Exclude search result untitled editors from localresults results * Remove unneeded keybinding * .vsc-search => .code-search * Add extension readme * Fix extra space inserted on Windows * Fixup some escaping issues * Add highlighting of result matches
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "Search Results",
|
||||
"scopeName": "text.searchResult",
|
||||
"patterns": [
|
||||
{
|
||||
"match": "^# (Query|Flags|Include|Exclude): .*$",
|
||||
"name": "comment"
|
||||
},
|
||||
{
|
||||
"match": "^\\S.*:$",
|
||||
"name": "string path.searchResult"
|
||||
},
|
||||
{
|
||||
"match": "^ \\d+",
|
||||
"name": "constant.numeric lineNumber.searchResult"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user