Commit Graph

127 Commits

Author SHA1 Message Date
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
Benjamin Pasero
35523f6c51 debt - workbench/parts => workbench/contrib (update imports and scripts) 2019-02-07 11:48:58 +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
Rob Lourens
f666f0be0a findTextInFiles - 'null' skipes configured excludes 2018-07-01 15:34:14 -07:00
Rob Lourens
73db972b9d findTextInFiles - hook up includes/excludes 2018-07-01 15:15:31 -07:00
Rob Lourens
0fb670f9a3 Fix #9049 - text search API 2018-07-01 15:15:31 -07:00
Johannes Rieken
3117f1b450 fix #47388 2018-04-09 09:47:46 +02:00
Johannes Rieken
67efbbf5ca remote - use posix.dirname of uri.path 2018-03-16 15:32:06 +01:00
Dirk Baeumer
fc7051a897 Cleaner API to query tasks 2018-03-16 11:55:18 +01:00
Matt Bierner
81767beaca Make Event a named export
There are many places in the code that do `import Event, { ...} from '.../event'`.
2018-03-14 14:25:30 -07:00
Christof Marti
3de4e2f515 Log use of file search (fixes #43605) 2018-02-26 11:49:50 +01:00
Alex Dima
8bfa7ffd2e Move IExtensionService up to /workbench/ (fixes #44281) 2018-02-23 17:38:24 +01:00
Benjamin Pasero
9ab2056393 notifications - remove old message service and adopt new one 2018-02-19 17:57:12 +01:00
Matt Bierner
308c1887df Update extensions for TS 2.7
Update src to build with TS 2.7

Explicitly assign this.message in the else body
2018-02-08 14:28:55 -08:00
Benjamin Pasero
c567386efc Merge pull request #42314 from Microsoft/ben/list-mode
Introduce and adopt workbench.list.openMode
2018-01-29 15:03:13 +01:00