Commit Graph

139 Commits

Author SHA1 Message Date
Sandeep Somavarapu
e2b1f24253 #68658 Strict null check - ExtHostConfiguration test 2019-02-19 12:06:08 +01:00
Martin Aeschlimann
833fc7aa99 test fix 2019-02-15 16:40:23 +01:00
Martin Aeschlimann
a06dbfc3f2 rename extpath.normalize to extpath.normalizeWithSlash 2019-02-15 16:40:23 +01:00
Martin Aeschlimann
92a61b8d16 use path.normalize for extpath.normalize(.., true) 2019-02-15 16:40:23 +01:00
Benjamin Pasero
622b3d62dd paths - paths.node.ts => path.ts 2019-02-12 20:36:23 +01:00
Benjamin Pasero
b0acf49b18 paths - move path to extpath 2019-02-12 20:36:23 +01:00
SteVen Batten
5ebd625b40 use new path implementation (#68538)
* adopt paths.node over path

* fix strict null

* remove hacky typing inlabel.test.ts
2019-02-12 20:14:50 +01:00
Martin Aeschlimann
08705a1b10 dirname can not return null 2019-02-12 17:18:07 +01:00
Matt Bierner
14e4835a55 Strict null extHostWorkspace 2019-02-11 16:41:59 -08:00
Sandeep Somavarapu
16a2c2e3fa Merge branch 'master' into sandy081/remoteMRWorkspace 2019-02-11 10:23:58 +01:00
Benjamin Pasero
7c1fe9a7d6 debt - move search out of platform 2019-02-09 17:02:31 +01:00
Rob Lourens
0af3142ef8 Fix all findFiles excludes always disregarded 2019-02-07 18:15:37 -08:00
Matt Bierner
5076c35a53 Strict null work on mainThread and extHost 2019-02-07 09:54:21 -08:00
Sandeep Somavarapu
db81580e7f Merge branch 'master' into sandy081/remoteMRWorkspace 2019-02-07 12:41:42 +01:00
Benjamin Pasero
35523f6c51 debt - workbench/parts => workbench/contrib (update imports and scripts) 2019-02-07 11:48:58 +01:00
Sandeep Somavarapu
aba0fcbb58 Delay extension host until workspace is completely initialized 2019-01-28 10:54:45 +01:00
Alex Dima
9cf36cdf8f Rename CanonicalExtensionIdentifier to ExtensionIdentifier 2019-01-07 12:00:54 +01:00
Rob Lourens
ef2547d547 replace void 0 with undefined 2019-01-03 11:20:19 -08:00
Alex Dima
25417553be Adopt case insensitive extension identifiers 2018-12-21 12:41:41 +01:00
Johannes Rieken
653280d133 debt - Thenable -> Promise 2018-12-13 11:31:54 +01:00
Matt Bierner
0b1d0da7af Prefer to use .then(void 0, ..) over .then(null, ..)
ES6 promises like using undefined as their first argument instead of null. Both should behave the same behavior
2018-12-11 21:59:32 -08:00
Rob Lourens
9a6cd0a3c1 Fix #59458 - implement context options for text search (ripgrep) 2018-10-26 17:41:19 -07:00
Rob Lourens
aba240a4d8 Fix #59919 - text search combines matches on one line 2018-10-25 17:17:41 -07:00
Christof Marti
4e436d128c Investigate using Electron's resolveProxy API (#60773) 2018-10-22 20:00:58 +02:00
Rob Lourens
b17e21d0ad Split text and file search interfaces 2018-10-18 16:49:58 -07:00
Johannes Rieken
291f9af174 debt - less TPromise usage 2018-10-09 10:35:13 +02:00
Rob Lourens
38a2c24ca2 Merge pull request #59717 from skprabhanjan/fix-59364
Fix #59364 : Respect global .gitignore when searching
2018-10-04 11:40:23 -07:00
Matt Bierner
8087b0a8d8 Remove use strict directives in main vs code ts files (part 2)
We compile using the alwaysStrict flag so these directives are not needed

This part removes most `use strict` directives that are right after the file header
2018-10-02 16:11:05 -07:00
pkoushik
c4928076b7 fix #59364 - Review #2 2018-10-02 19:35:18 +05:30
Rob Lourens
3da89c1937 Rename previewOptions 2018-09-24 21:08:11 -07:00
Rob Lourens
54090bc222 Fix #57459 - add default previewOptions for findTextInFiles 2018-09-24 16:41:03 -07:00
Rob Lourens
5b3403bfb5 Fix #57895 - remove leadingChars from search provider API 2018-09-24 16:41:03 -07:00
Rob Lourens
6326543b11 Support findFiles with a non-file URI workspace 2018-09-19 16:10:54 -07:00
Rob Lourens
cb0e4a5322 Merge remote-tracking branch 'origin/ben/relative-pattern' into roblou/findFilesUri 2018-09-19 16:09:15 -07:00
Rob Lourens
f3654c59e0 Fix #55790 - allow extensions to return a hitLimit flag 2018-09-17 22:48:12 -07:00
Rob Lourens
44dc55b9fc Fix #57951 - remove $cancelSearch 2018-09-05 16:51:16 -07:00
Rob Lourens
b3ae3bd02c Ensure that a search with an immediately canceled token does not actually start a search. Fix possibly flaky findFiles test 2018-09-05 10:34:00 -07:00
Benjamin Pasero
782c941260 add baseFolder to RelativePattern 2018-09-04 15:54:28 +02:00
Johannes Rieken
2d452e0a7e uri - replace usages of default export with named export 2018-09-03 10:54:50 +02:00
Rob Lourens
bc784b68a5 Fix #57418 - Assert that totalChars > leadingChars in preview options. And truncate match when it's > totalChars 2018-08-29 22:00:26 -07:00
Rob Lourens
3f7afc6504 #57186 - implement previewOptions for findTextInFiles 2018-08-25 11:27:49 -07:00
Rob Lourens
fd76ad9f00 #57186 - fix findTextInFiles 2018-08-25 11:21:40 -07:00
Rob Lourens
803542327f Fix #57046 - workspaceContains should search using search providers, not its own DiskSearch instance 2018-08-23 22:11:02 -07:00
isidor
a03b3b5066 remove .name from IWorkspace 2018-08-23 12:09:01 +02:00
Martin Aeschlimann
62c5e45b18 Use resources instead of paths for dirname, basename, joinPath, normalizePath, isAbsolutePath 2018-08-08 16:06:26 +02:00
Rob Lourens
55ae86a53d Fix #55612 - fix findTextInFiles cancellation 2018-08-01 15:48:22 -07:00
Sandeep Somavarapu
e0d5a3d490 Check with respective owners 2018-07-19 19:23:24 +02:00
Rob Lourens
1f93cb9562 findTextInFiles - change includes/excludes from array to single object to match findFiles 2018-07-03 20:46:32 -07:00
Johannes Rieken
b0fd77e9ff fix compile/api issue when using es6 (which is actually correct) 2018-07-03 09:34:45 +02:00
Rob Lourens
0ef1c31b06 Change SearchProvider to be URI-based, not string-based. #50788 2018-07-02 19:24:14 -07:00