Commit Graph

1352 Commits

Author SHA1 Message Date
Benjamin Pasero
5c9b0eb15e simplify code 2018-01-24 13:42:08 +01:00
Benjamin Pasero
d35e6e3f49 Merge branch 'master' into ben/workspace-api 2018-01-24 13:25:06 +01:00
Johannes Rieken
3dd2035b13 another try, #41408 2018-01-24 09:55:50 +01:00
Johannes Rieken
acf50ea95a Revert "Revert "add 'configuration' (read uri/path) of workspace config file, #41408""
This reverts commit 1cacde3496.
2018-01-24 09:54:15 +01:00
Johannes Rieken
57a072f82a Merge pull request #41552 from Microsoft/rename-workspaceedit-proto
Allow renaming/creating/deleting files in a workspaced edit
2018-01-24 09:28:07 +01:00
Sandeep Somavarapu
07d50ff62e Fix #39574 2018-01-23 20:31:07 +01:00
Sandeep Somavarapu
c9b291978c #39574 Implement log level transmission to extension host 2018-01-23 19:31:12 +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
Sandeep Somavarapu
6fe6061960 #39574 Revert extension changs 2018-01-23 17:59:15 +01:00
Sandeep Somavarapu
de24732aa9 Implement #39574 2018-01-23 17:28:53 +01:00
Johannes Rieken
1ccfbe4024 missing merge change 2018-01-23 17:21:43 +01:00
Johannes Rieken
0f2cc682a0 Merge branch 'master' into rename-workspaceedit-proto 2018-01-23 17:19:06 +01:00
Johannes Rieken
a80308455b make WorkspaceEdit more sane 2018-01-23 16:59:23 +01:00
Benjamin Pasero
a5f5d37f00 Merge branch 'master' into ben/workspace-api 2018-01-23 16:28:35 +01:00
Benjamin Pasero
3660fb83e8 address some feedback 2018-01-23 16:27:59 +01:00
Joao Moreno
1cacde3496 Revert "add 'configuration' (read uri/path) of workspace config file, #41408"
This reverts commit 3ecef8c1dd.
2018-01-23 11:23:02 +01:00
Benjamin Pasero
c9cc93cbc1 Merge branch 'master' into ben/workspace-api 2018-01-23 11:00:47 +01:00
Johannes Rieken
3ecef8c1dd add 'configuration' (read uri/path) of workspace config file, #41408 2018-01-23 10:17:51 +01:00
Matt Bierner
6316a4d0c8 Take kind instead of edit in CodeAction ctor
Changes the `CodeAction` constructor to take a kind instead of an edit. This makes the API more consistent IMO, as now both `edit` and `command` are set the same way
2018-01-22 11:59:17 -08:00
Matt Bierner
3cb83387be Use CodeActionKind.append 2018-01-22 11:48:35 -08:00
Matt Bierner
eccf728e64 CodeActionScope (#41782)
* Add CodeActionScope

* Replace matches with contains, try using in ts extension

* Move filtering to getCodeActions

* Basic test

* Docs

* Fix tests

* Hooking up requested scope

* Add basic test for requestedScope

* Added auto apply logic

* Gate refactor provider to only compute refactorings when requested

* Making suggested renames

* Clean up code action trigger impl to use single Trrigger info object

* Rename codeActionScope file and internal CodeActionScope class

* Add quick fix base type

* Make keybinding API more similar to insertSnippet

Take args as an object instead of as an array of values

* Clean up docs

* scope -> kind

* Fixing examples to match Refactor kind
2018-01-22 11:45:22 -08:00
Johannes Rieken
2835524c71 less tuple type usage 2018-01-22 17:28:54 +01:00
Benjamin Pasero
f963973eef first cut of proposed updateWorkspaceFolders API 2018-01-22 12:45:11 +01:00
Johannes Rieken
155b066266 post merge fixes 2018-01-22 10:38:44 +01:00
Johannes Rieken
abb5354943 Merge branch 'master' into rename-workspaceedit-proto 2018-01-22 10:35:30 +01:00
Johannes Rieken
dc31fa213b support interleaving file and text changes, basically rewrite bulk edit... 2018-01-19 17:54:54 +01:00
Johannes Rieken
54240a7bd3 also add the workspace name, #41408 2018-01-16 17:49:19 -08:00
Johannes Rieken
42de6cc82f add TextSearchOptions, only search in folder contributed by provider, #41536 2018-01-16 12:31:40 -08:00
Johannes Rieken
4b5c0ec9d1 remote - a few more todo-tags after a 'file'-scheme search 2018-01-16 10:59:37 -08:00
Sandeep Somavarapu
f86c0f9a91 Remove the handle from the system when handle changes 2018-01-16 17:06:47 +01:00
Sandeep Somavarapu
c66517cf0d Fix #40018 2018-01-16 17:06:47 +01:00
Johannes Rieken
c0278341ed link detection for remote file systems, #41482 2018-01-15 17:36:00 -08:00
Johannes Rieken
c677bf31e2 write meta.json file #41408 2018-01-15 15:18:13 -08:00
Johannes Rieken
9401875dfc more type fixes for #36946 2018-01-15 11:25:27 -08:00
Johannes Rieken
97a199d02c wire up types, #36946 2018-01-15 11:12:00 -08:00
Johannes Rieken
788486ccc8 Merge pull request #41561 from Microsoft/incomplete
When trigger suggest for incomplete completions, use new kind
2018-01-15 10:04:40 -08:00
Sandeep Somavarapu
f94603326d Fix #41535 2018-01-15 16:10:53 +01:00
Sandeep Somavarapu
5b26eccb33 #41535 Adopt TreeItem to have resourceUri 2018-01-15 10:09:28 +01:00
Ramya Achutha Rao
f5a5097918 When trigger suggest for incomplete completions, use new kind 2018-01-12 16:54:21 -08:00
Johannes Rieken
4df995c240 remote - manage some todos 2018-01-12 16:46:41 -08:00
Johannes Rieken
8046a03660 root in fs provider is optional, #36177 2018-01-12 16:21:59 -08:00
Matt Bierner
519b4723d5 Fix potentiall undefined ref 2018-01-12 14:12:52 -08:00
Matt Bierner
e932b8ad9c Add rename/create/delete file to workspaced edit
Fixes #10659

Allows workspace edits to also change files in the workspace
2018-01-12 14:07:24 -08:00
Johannes Rieken
0b9b336009 refine text search api, #41536 2018-01-12 08:14:18 -08:00
Sandeep Somavarapu
3d43ef7c46 Use handle for id if it is of type string 2018-01-12 15:07:17 +01:00
Sandeep Somavarapu
71cc864c49 #40018 Revert to use label as id. Do not use index instead have a counter for duplicate labels 2018-01-12 13:55:43 +01:00
Sandeep Somavarapu
2315df4bb8 Revert "Fix #40018"
This reverts commit 7ffffa09b3.
2018-01-12 13:55:43 +01:00
Benjamin Pasero
3b4fa88743 add vscode.removeFromRecentlyOpened command (fixes #41391) 2018-01-12 10:47:58 +01:00
Johannes Rieken
73ee03ed51 remote - sketch up find in files logic 2018-01-11 16:22:57 -08:00