Commit Graph

1104 Commits

Author SHA1 Message Date
Johannes Rieken
93dfa359fa getWorkspaceFolder return a workspace folder when called with one, fixes #34843 2017-09-28 11:36:46 +02:00
Johannes Rieken
a5824e6daa better names, better jsdoc, fixes #35141 2017-09-27 14:46:57 +02:00
Johannes Rieken
22336f0530 fix #35053, fix #35051 2017-09-27 10:27:11 +02:00
Benjamin Pasero
4368d0f452 validate ctor arguments (fixes #35112) 2017-09-26 17:19:35 +02:00
Benjamin Pasero
fd19798aa1 Consider to change RelativePattern ctor argument order (fixes #35103) 2017-09-26 17:07:57 +02:00
kieferrm
08d8f0f9f6 indentation changes 2017-09-25 18:36:43 -07:00
kieferrm
9d5589dbf4 update GDPR todos 2017-09-25 18:36:43 -07:00
kieferrm
fbb3e25987 omit endPoint where it defaults to none 2017-09-25 18:36:43 -07:00
kieferrm
03bbbbb6b1 review GDPR classifications 2017-09-25 18:36:43 -07:00
kieferrm
acacfeda1f change wildcard property 2017-09-25 18:36:43 -07:00
kieferrm
c180bda91e inline values 2017-09-25 18:36:43 -07:00
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