Commit Graph

81 Commits

Author SHA1 Message Date
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
Johannes Rieken
c0a5a09ab4 fix #33528 2018-01-29 12:58:24 +01:00
Benjamin Pasero
6adbd5b2a2 💄 multi root API 2018-01-28 17:58:58 +01:00
Benjamin Pasero
1dbb41ace2 💄 2018-01-26 15:26:52 +01:00
Benjamin Pasero
36ff08f1ec more fixes for multi root API 2018-01-26 15:09:04 +01:00
Benjamin Pasero
d134615a31 more tests 2018-01-26 10:08:03 +01:00
Benjamin Pasero
5b1bd55f35 extract common delta code 2018-01-26 09:36:54 +01:00
Benjamin Pasero
49eb09593e add test and fix issue with swapping folders 2018-01-26 09:30:00 +01:00
Benjamin Pasero
a0de412c76 actually implement and test live objects 2018-01-26 09:17:38 +01:00
Benjamin Pasero
b62dbb65fb fix tests 2018-01-25 13:21:35 +01:00
Benjamin Pasero
202c3fe42c 💄 2018-01-25 13:11:42 +01:00
Benjamin Pasero
91f4de5c59 more tests and fix liveness issue 2018-01-25 12:25:10 +01:00
Benjamin Pasero
c345b67b84 updateWorkspaceFolders tests 2018-01-25 12:19:53 +01:00
Benjamin Pasero
40798a95cd use live objects and avoid promises 2018-01-25 09:03:48 +01:00
Benjamin Pasero
5c9b0eb15e simplify code 2018-01-24 13:42:08 +01:00
Benjamin Pasero
7d20e75c85 💄 2018-01-23 19:23:02 +01:00
Benjamin Pasero
de1dd8546d updateWorkspaceFolders - add some validation 2018-01-23 18:11:24 +01:00
Benjamin Pasero
3660fb83e8 address some feedback 2018-01-23 16:27:59 +01:00
Benjamin Pasero
f963973eef first cut of proposed updateWorkspaceFolders API 2018-01-22 12:45:11 +01:00
Johannes Rieken
2e6578fc37 native json for exthost/mainthread-workspace, #40169 2017-12-14 10:37:58 +01:00
Johannes Rieken
7cab470639 yet more UriComponents in mainThread-land, #40169 2017-12-13 18:01:16 +01:00
Alex Dima
367dd10413 Rename RPCProtocol.get to RPCProtocol.getProxy (#36972) 2017-12-13 16:04:14 +01:00
Benjamin Pasero
6ba17b2e50 findFiles broken in Insiders? (fixes #39158) 2017-11-27 11:41:43 +01:00
Benjamin Pasero
67ae810e04 api - remove add/removeWorkspaceFolder (for #37301) 2017-11-01 15:04:51 +01:00
Benjamin Pasero
80ece09d7f Provide additional workspace API to add/remove workspace folders (for #35407) (#36820)
* Provide additional workspace API to add/remove workspace folders (for #35407)

* add/removeFolders => add/removeFolder

* make add/remove folder return a boolean

* use proper service for workspace editing

* workspac => workspace

* do not log promise canceled messages

* show confirm dialog
2017-10-30 13:49:48 +00:00
Johannes Rieken
8414d5c03e debt - use SearchTree over Trie'ish 2017-10-02 14:31:34 +02:00
Johannes Rieken
fe549c277c debt - a better search tree to replace trie 2017-10-02 14:31:34 +02:00
Johannes Rieken
93dfa359fa getWorkspaceFolder return a workspace folder when called with one, fixes #34843 2017-09-28 11:36:46 +02:00
Benjamin Pasero
3e9fa59616 Introduce GlobPattern and adopt in DocumentFilter/FileWatcher/FileSearch (#34695)
* introduce IRelativePattern and use in extension API

* 💄

* docs

* introduce RelativePattern

* support RelativePattern also for file watcher

* also make findFiles support RelativePattern

* less type conversion

* add GlobPattern type and remove readonly

* make base a string

* fix setter access to RelativePattern

* fix npe when exclude is undefined

* fix findFiles: pattern seems to be matched against workspace always

* 💄

* clarify glob pattern matching
2017-09-22 13:52:23 +02:00
Johannes Rieken
55490528e7 have TrieMap and StringTrieMap for more flex 2017-09-20 16:54:11 +02:00
Sandeep Somavarapu
5fa7f9682a Move toResource method to IWorkspaceFolder 2017-09-20 15:11:19 +02:00
Johannes Rieken
e1d38a3c52 Merge branch 'master' into joh/ftp 2017-09-19 15:40:08 +02:00
Alex Dima
02ee356269 Have workspace.applyEdit correctly account for model version changes and reply with false if a model was loaded and changed in the meantime 2017-09-18 16:56:03 +02:00
Johannes Rieken
19c992bae8 move ftp provider into an extensions, expose things as proposed api 2017-09-18 16:15:38 +02:00
Sandeep Somavarapu
80e2c7a338 Introduce WorkspaceFolder model that wraps information about a workspace folder.
Use WorkspaceFolder instead of URIs in IWorkspaceContextService
2017-09-18 08:52:12 +02:00
Sandeep Somavarapu
2153617a7c Rename roots to folders 2017-09-14 10:26:39 +02:00
Johannes Rieken
db6f3d8145 don't normalize input paths, normalize results, #33709 2017-09-08 15:58:29 +02:00
Johannes Rieken
82a7a46379 Merge branch 'master' into joh/searchp 2017-08-28 16:25:28 +02:00
Benjamin Pasero
a87dd9c7ad fix imports to single quote 2017-08-21 11:27:57 +02:00
Johannes Rieken
52f98f46ef move find-file logic into fsprovider, wire things up end to end 2017-08-17 12:36:30 +02:00
Johannes Rieken
af195c9638 api-ify search provider, needs query logic... 2017-08-17 11:15:44 +02:00
Alex Dima
2b3298af79 Use native proxies for renderer <-> ext host RPC communication 2017-08-16 10:26:25 +02:00
Alex Dima
20a45eef3a Add a mechanism to be a customer of the extension host (share lifecycle) and begin reducing usage of IThreadService 2017-08-15 18:26:51 +02:00
Johannes Rieken
a154372764 fix #31553 2017-07-28 11:46:43 +02:00
Johannes Rieken
0106e2f189 Merge branch 'master' into joh/remote 2017-07-20 17:19:16 +02:00
Johannes Rieken
7a8bb07f4a make asRelativePath include the workspace name if there is more than 1, #28526 2017-07-17 15:55:10 +02:00
Johannes Rieken
395b486406 make getWorkspaceFolder return the parent workspace if a workspace is presented, #28526 2017-07-14 14:40:01 +02:00