Commit Graph

2196 Commits

Author SHA1 Message Date
Rob Lourens
c86cab2211 SearchProvider - fix NPE when searching extraFileResources 2018-08-01 21:27:18 -07:00
Rob Lourens
55ae86a53d Fix #55612 - fix findTextInFiles cancellation 2018-08-01 15:48:22 -07:00
Rob Lourens
49bbb88160 Fix FileSearchProvider unit tests for progress change 2018-08-01 13:39:21 -07:00
Rob Lourens
e69e4d3a47 Search provider - Fix FileSearchProvider to return array, not progress 2018-08-01 11:44:51 -07:00
Rob Lourens
866bc0aa4c Fix #55224 - use different cacheKeys per folder in FileIndexProvider 2018-07-27 11:26:04 -07:00
Rob Lourens
0dea26f6e7 Search provider - avoid unnecessary joinPath in some cases
Maybe fixes liveshare issue
2018-07-26 21:42:24 -07:00
Rob Lourens
c348736137 Add temp registerSearchProvider stub
to avoid breaking live share in Insiders
2018-07-26 21:29:40 -07:00
Matt Bierner
bd1e8d40fd Fix unit test 2018-07-26 15:42:24 -07:00
Matt Bierner
341013c0ef Log warning when returned code action will be dropped (#55090)
* Add extension logging when returned code action will be dropped

Fixes #54803

Adds a loggin warning when a code action provider returns code actions that will be dropped. Warn in the the following cases:

- A provider returns code actions (not commands)
- And a specific code action type is requested.
- And the returned code actions either don't set kind or are of the wrong kind

* Use log service

* Include extension id in warning
2018-07-26 15:14:16 -07:00
Rob Lourens
aff77d278b SearchProvider - clean up FileSearchProvider, remove cacheKey 2018-07-26 12:28:15 -07:00
Rob Lourens
28fd1cc007 Search provider - clean up file index search, remove PPromise 2018-07-26 12:28:15 -07:00
Rob Lourens
d36a3d2395 Search provider - implement FileIndexProvider 2018-07-26 12:28:15 -07:00
Rob Lourens
9999dac541 SearchProvider - split out separate TextSearchProvider #47058 2018-07-26 12:28:15 -07:00
Johannes Rieken
9cc1fc914d fix #55163 2018-07-26 19:10:58 +02:00
mechatroner
2582f425b6 Add API function that changes document language: #1800 2018-07-26 00:29:07 -04:00
Matt Bierner
b297efad40 Extract interface 2018-07-25 12:52:07 -07:00
Matt Bierner
f8870d79d6 Formatting and extration 2018-07-25 12:52:06 -07:00
Matt Bierner
4be0f07230 Add WebviewPanel.iconPath (#54912)
* Add WebviewPanel.iconPath

Allows webviews to provide icons used in UI. Adds a new `WebviewPanel.iconPath` property for this.

Replaces the static contribution approach from #49657

Fixes #48864

* Fix doc

* Move icon into mainthreadwebview

* Cleaning up implementation

* Cleaning up implementation
2018-07-24 15:08:46 -07:00
Sandeep Somavarapu
0aee16bab6 Fix #52944 2018-07-24 16:24:25 +02:00
Rob Lourens
c4f336d1d6 Fix #53887 - remove remaining PPromise usage in search 2018-07-23 14:07:50 -07:00
Christof Marti
8804cedf65 Move to stable API (#53327) 2018-07-23 11:51:44 +02:00
Christof Marti
ebf213ab68 Move back button to QuickInputButtons (#53327) 2018-07-23 11:20:17 +02:00
Sandeep Somavarapu
b1f6b66d37 Merge branch 'master' into sandy081/openUri 2018-07-22 10:14:08 +02:00
Matt Bierner
a6885b48cd Use toDisposable in more places in workbench and platform 2018-07-20 14:16:28 -07:00
Sandeep Somavarapu
077e97564a Merges 2018-07-20 15:11:05 +02:00
Sandeep Somavarapu
e7058655de Fix #54721 2018-07-20 15:02:38 +02:00
Martin Aeschlimann
e6c64eff1d support URI in openWindowCommand 2018-07-20 11:54:20 +02:00
Sandeep Somavarapu
e0d5a3d490 Check with respective owners 2018-07-19 19:23:24 +02:00
Matt Bierner
44cd521ced Finalize definition link (#54424)
Finalize the definition link api

- Gives fields more explicit names (target and origin)
- Moves api to vscode.d.ts
- Makes other definition providers (such as type definition provider and implementation provider) also return definition links

Fixes #54101
2018-07-18 16:32:27 -07:00
Johannes Rieken
220f8952b6 fix #54359 2018-07-17 09:36:16 +02:00
Johannes Rieken
1313726256 Merge pull request #54286 from gregvanl/complex-cmds
complex command typos and add dash between argument and descriptions
2018-07-16 16:56:16 +02:00
Johannes Rieken
69139dabf5 fix #52923 2018-07-16 16:54:16 +02:00
Benjamin Pasero
fafff47907 better fix for #54295 & #54369 2018-07-16 11:37:20 +02:00
Benjamin Pasero
b757388b47 Revert "fix #54295, fix #54369"
This reverts commit db39621bf8.
2018-07-16 11:37:20 +02:00
Benjamin Pasero
db39621bf8 fix #54295, fix #54369 2018-07-16 07:57:39 +02:00
Greg Van Liew
98ee779cc9 complex command typos and add dash between argument and desciptions 2018-07-13 15:28:11 -07:00
Daniel Imms
cac818fd0e Merge remote-tracking branch 'origin/master' into tyriar/terminalProcess 2018-07-12 06:22:17 -07:00
Sandeep Somavarapu
b45fa88047 Do not use optional property 2018-07-12 09:56:38 +02:00
Sandeep Somavarapu
79bfb028c9 #48430 Do not activate optional dependencies 2018-07-12 09:56:37 +02:00
Christof Marti
0fc6b638e1 Avoid repeated scanning of siblings array (#47187) 2018-07-12 09:26:40 +02:00
Rob Lourens
a56ec40e8a findTextInFiles - add second signature for optional options 2018-07-11 20:54:56 -07:00
Daniel Imms
f667da4163 Remove ITerminalProcess.isConnected
The terminal process no longer exists so this isn't needed anymore
2018-07-11 15:25:21 -07:00
Daniel Imms
a50e6d4eeb Clean up and fix handling of environment 2018-07-11 15:20:00 -07:00
Rob Lourens
e60cf6b0ee Search provider - remove file pattern checking code from extHostSearch 2018-07-11 15:02:48 -07:00
Daniel Imms
549143dabf Pass shell launch config to TerminalProcess 2018-07-11 13:38:35 -07:00
Daniel Imms
8b6f9e7396 Fix shell/args/cwd 2018-07-11 11:49:05 -07:00
Daniel Imms
84a7a188f8 Remove some comments 2018-07-11 11:35:50 -07:00
Joao Moreno
be8076491d Merge branch 'master' into remove-ppromise 2018-07-11 11:07:45 +02:00
Daniel Imms
2fb8ab5124 Fix most of process proxy 2018-07-10 23:03:43 -07:00
Benjamin Pasero
2b79b107b0 remove dead branch 2018-07-11 07:31:30 +02:00