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:
Jackson Kearl
2019-11-24 02:35:39 -08:00
committed by GitHub
parent c0d41ffbf2
commit 695bc30383
16 changed files with 1091 additions and 11 deletions

View File

@@ -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"
}
]
}