Commit Graph

1316 Commits

Author SHA1 Message Date
Sandeep Somavarapu
75cf7dabb5 Refactor Configuration Service
- API to get a value given a key
- API to update value smartly
- Fine grained configuration change event
- Smart reload API
- Remove unnecessary APIs
2017-10-05 23:13:18 +02:00
Christof Marti
35b91522e7 Check search.useRipgrep for file searches (#34999) 2017-10-03 11:56:25 -07:00
Johannes Rieken
1f975f05c9 allow InputBoxOptions#validateInput to return a thenable, #34532 2017-10-03 09:18:28 +02:00
isidor
409d89c60b remove vscode.startDebug 2017-10-02 16:59:28 +02:00
Johannes Rieken
229093ec9e debt - remove unused 'usesCommandLink' telemetry 2017-10-02 14:40:03 +02:00
Johannes Rieken
8414d5c03e debt - use SearchTree over Trie'ish 2017-10-02 14:31:34 +02:00
Johannes Rieken
1d6dd956ef debt - map'ish names for trie 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
38779c0593 don't trust MarkedString, #29076 2017-09-29 11:34:27 +02:00
Dirk Baeumer
2e4b6ce1c2 Fixes #34732: Tasks - Multiroot folder - no all detected tasks presented in quick pick 2017-09-29 11:16:02 +02:00
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