Commit Graph

68 Commits

Author SHA1 Message Date
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
Johannes Rieken
f7e09ce253 name it getWorkspaceFolder, #28526 2017-07-14 14:05:45 +02:00
Johannes Rieken
ee378d4e98 add test, fix getContainingWorkspaceFolder, #28526 2017-07-14 10:46:10 +02:00
Johannes Rieken
c510eff1ad Merge branch 'master' into joh/remote 2017-07-13 16:48:36 +02:00
Johannes Rieken
0df555f5f4 have an explicit WorkspaceFolder with some extra bits and pieces, #28526 2017-07-13 16:22:19 +02:00
Johannes Rieken
16c00672fa proposed API and its wiring 2017-07-10 16:17:27 +02:00
Johannes Rieken
93101a2d59 fix #29641 2017-06-28 17:00:35 +02:00
Johannes Rieken
aec62b1f78 for now, restore false rootPath, #28526 2017-06-22 12:25:46 +02:00
Johannes Rieken
58b081deed fix compile error 2017-06-21 11:46:21 +02:00
Johannes Rieken
8e746dfdc7 very first proposed API for multiple roots, #28526 2017-06-21 11:23:53 +02:00
Johannes Rieken
919d3feca4 make getPath return undefined when there is not just one root, #28526 2017-06-21 10:58:01 +02:00
Sandeep Somavarapu
a4b6dc9532 #28538 Take workspace as input in Configuration model 2017-06-16 12:30:03 +02:00
Johannes Rieken
63b4da631e 💄 #28526 2017-06-15 17:03:26 +02:00
Johannes Rieken
f8eb2fa3b8 adopt IWorkspace2, implement proper workspaceContains, #28526 2017-06-14 12:21:26 +02:00