Commit Graph

1093 Commits

Author SHA1 Message Date
kieferrm
a65363876a more GDPR classification 2017-09-25 18:36:43 -07:00
Johannes Rieken
a60a65d804 Revert "Revert "allow to reuse the same function/context when listening to events""
This reverts commit 4a3dbb6c44.
2017-09-25 14:25:25 +02:00
Johannes Rieken
4a3dbb6c44 Revert "allow to reuse the same function/context when listening to events"
This reverts commit 7cb8ac43e6.
2017-09-25 14:11:32 +02:00
Johannes Rieken
7cb8ac43e6 allow to reuse the same function/context when listening to events 2017-09-25 12:40:49 +02:00
Benjamin Pasero
8ec0c6012a better fix for #34796 2017-09-25 09:21:29 +02:00
Matt Bierner
982277d9d1 Really fix test on options 2017-09-22 15:53:03 -07:00
Matt Bierner
6069a52022 Fix failing tests 2017-09-22 15:14:01 -07:00
Johannes Rieken
a7ad71be3b remote - refine utimes 2017-09-22 16:02:51 +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
Benjamin Pasero
bdefc09eb0 showWorkspaceFolderPick not enforced as proposed api (fixes #34819) 2017-09-22 11:33:46 +02:00
Benjamin Pasero
07eaf2ac53 workspace.openTextDocument works incorectly when passing { content?: string; } as argument (fix #34796) 2017-09-22 11:29:53 +02:00
Johannes Rieken
9dce4655b1 move open/save api into stable api, #13807 2017-09-22 11:21:00 +02:00
Johannes Rieken
9cfb745faa log api usage for getWorkspaceFolder 2017-09-22 10:42:06 +02:00
Johannes Rieken
40dd269a72 allow to define byte-offset and byte-count when reading from a provider 2017-09-21 17:38:15 +02:00
Johannes Rieken
8cb7d0a71e better error handling when resolving non-existent files, stop using async/await 2017-09-21 16:23:26 +02:00
Johannes Rieken
ea4ee63ed1 operations that create a file/folder should return a stat-object because we want it anyways 2017-09-21 16:23:26 +02:00
Johannes Rieken
4855cf0643 add id to FileStat and remove resource, make readdir return tuples, sketch up error codes, add todos on the API 2017-09-21 16:23:25 +02:00
Martin Aeschlimann
9b93a688a9 vscode.d.ts: add ColorPresentation constructor 2017-09-21 12:03:16 +02:00
Johannes Rieken
c7630e1858 add filters, #13807 2017-09-21 10:55:38 +02:00
Johannes Rieken
a1f78c66a9 Merge pull request #34055 from mjbvz/fix-752
Add optional CompletionContext to provideCompletionItems
2017-09-21 10:27:40 +02:00
Johannes Rieken
447fea8845 debt - make vscode.Uri compatibile with URI, declare private ctor 2017-09-21 10:10:19 +02:00
Matt Bierner
2f34618b87 Adding completion item kind enum 2017-09-20 19:21:45 -07:00
Matt Bierner
b34379e8f7 Take context as last argument 2017-09-20 19:21:45 -07:00
Matt Bierner
0283831aff Fix interfaces and move the function types into namespaces 2017-09-20 19:21:45 -07:00
Matt Bierner
89773f358e Update based on comments 2017-09-20 19:21:45 -07:00
Matt Bierner
377eabe614 Add optional CompletionContext to provideCompletionItems
Fixes #752

Adds a new overload of `provideCompletionItems` that takes a context argument. This context is currently used to provide the trigger character of the suggestion
2017-09-20 19:21:45 -07:00
rebornix
084849c2fa provideColorPresentations should have document in paramaters. 2017-09-20 13:44:57 -07: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
Sandeep Somavarapu
04139fac35 Rename to IWorkspaceFolder 2017-09-20 15:10:27 +02:00
Johannes Rieken
ccc5f969c8 Merge pull request #34229 from Microsoft/joh/ftp
ftp file system provider
2017-09-20 15:07:23 +02:00
Benjamin Pasero
492ae2a023 Workspace folder picker command (for #32936) (#34648)
* Workspace folder picker command (for #32936)

* fix test

* make this proper API
2017-09-20 15:06:30 +02:00
isidor
93867e4ef2 merge master 2017-09-20 10:08:51 +02:00
Johannes Rieken
54dfbf8c66 fix #34520 2017-09-20 09:54:37 +02:00
Johannes Rieken
7c0116c68e Merge pull request #34649 from eamodio/feature-active-viewcolumn
Closes #27408 - Adds ViewColumn.Active
2017-09-20 09:08:45 +02:00
Joao Moreno
7a9f035053 Merge branch 'scm-viewlet' 2017-09-19 17:34:58 +02:00
Eric Amodio
8631b22498 Closes #27408 - Adds ViewColumn.Active 2017-09-19 11:30:14 -04:00
Johannes Rieken
e1d38a3c52 Merge branch 'master' into joh/ftp 2017-09-19 15:40:08 +02:00
Dirk Baeumer
95deca7678 More work to make task multi folder aware 2017-09-19 12:42:23 +02:00
isidor
351b05d6e1 debug api: use uri not workspace folder between extension host and renderer 2017-09-19 12:38:52 +02:00
isidor
2370592e81 debug: use WorkspaceFolder 2017-09-19 12:03:32 +02:00
isidor
efdc328058 ${workspaceRoot} -> ${workspaceFolder} 2017-09-19 11:21:49 +02:00
rebornix
d069e922ef Re #34366. Extensions define color formats. 2017-09-19 00:03:58 -07: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
Joao Moreno
a29640931a Merge branch 'splitview' into scm-viewlet 2017-09-18 11:32:04 +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
Benjamin Pasero
46189edc74 💄 2017-09-15 11:19:55 +02:00
Dirk Baeumer
cc5cc9a2d6 Adopt task multi folder API 2017-09-15 11:04:31 +02:00
Dirk Baeumer
9c6880cb32 Add workspace folders to task API 2017-09-15 11:04:28 +02:00