Commit Graph

1178 Commits

Author SHA1 Message Date
Sandeep Somavarapu
c656d5e1d7 Reduce calling clone 2017-11-09 11:28:00 +01:00
Matt Bierner
be88547c66 Prototyping new CodeAction API (#36316)
* Add CodeAction Type

Adds skeleton on a new CodeActionType and allows codeActionProvider to return either `Command`s or `CodeAction`s

Move proposed CodeAction API to proposed and try using it in TS

Split CodeAction into quickfix and refactoring classes

Update proposed interface

Update for new API

Adding basic docs

* Support workspace edits and text edits in codeactions

* Remove placeholders

* Resolving conflicts and making PR suggested changes

* Fix quick fix test

* Revert change to only use `CodeAction` instead of `CodeAction | Command` in modes since this will break `vscode.executeCodeActionProvider`
2017-11-08 16:07:34 -08:00
Christof Marti
9ad5aeb690 Remove credentials code (fixes #37822) 2017-11-08 11:11:13 -08:00
Joao Moreno
1a595ca4a1 Merge branch 'fix/33739' 2017-11-08 12:43:17 +01:00
Benjamin Pasero
4ec5250582 promise: make sure as() returns promise like and fix errors 2017-11-08 12:33:48 +01:00
Joao Moreno
d2016c4ad0 Merge branch 'master' into fix/33739 2017-11-08 12:27:48 +01:00
Joao Moreno
0a42516de8 Merge branch 'hui/scm-inputbox-placeholder' of https://github.com/huizhougit/vscode into huizhougit-hui/scm-inputbox-placeholder 2017-11-08 12:02:33 +01:00
Dirk Baeumer
ba02906456 Clean up unused code 2017-11-08 11:00:38 +01:00
Johannes Rieken
04fc390148 fix #37808 2017-11-08 10:33:37 +01:00
Matt Bierner
4b4ac1b4d9 Remove unused generic types 2017-11-07 11:48:38 -08:00
Johannes Rieken
6dc7e364d7 debt - remove some ts-ignored things 2017-11-07 17:23:19 +01:00
Erich Gamma
c536efdfbc Enabled the noUnusedLocals and added @tsignore 2017-11-07 13:13:41 +01:00
Erich Gamma
b94569fe0d tslint5 adoption - fix semicolon rule 2017-11-07 12:08:22 +01:00
Daniel Imms
7624d001e5 Add a null check in
Fixes #37501
2017-11-02 11:04:11 -07:00
Johannes Rieken
47bd8ae1ca Revert "fix #37484"
This reverts commit c8a8fc7ddd.
2017-11-02 11:50:53 +01:00
Johannes Rieken
c8a8fc7ddd fix #37484 2017-11-02 11:05:03 +01:00
Benjamin Pasero
67ae810e04 api - remove add/removeWorkspaceFolder (for #37301) 2017-11-01 15:04:51 +01:00
Joao Moreno
cadcedc995 npe in scm world
fixes #37221
2017-11-01 12:03:09 +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
Sandeep Somavarapu
62ff872b91 #36623 Pass null resource to get resource configuration value for any resource 2017-10-27 15:50:21 +02:00
Sandeep Somavarapu
bf63319e2e #36623 💄 2017-10-27 13:32:48 +02:00
Sandeep Somavarapu
a10370cb9f Implement #36623 2017-10-27 12:31:10 +02:00
Johannes Rieken
fa253ce001 Merge pull request #35938 from mjbvz/fix-35937
Don't treat regular string SignatureInformation documentation as markdown
2017-10-27 10:06:32 +02:00
Johannes Rieken
47e1c93285 deco - use correct/overwrite decorations in scm viewlet because the same URI can have multiple decorations 2017-10-26 17:01:18 +02:00
Johannes Rieken
86cd46a44e deco - allow to derive new decoration from existing decoration, add IDecorationData#source 2017-10-26 17:01:18 +02:00
Sandeep Somavarapu
0a749202aa Implement #36475 2017-10-26 16:22:36 +02:00
Johannes Rieken
1df5c0240f manually track workspace symbols for later resolving, #36941 2017-10-26 11:38:50 +02:00
Benjamin Pasero
0b0733774d API: expose workspace.name property (fixes #36802) (#36803) 2017-10-25 11:54:09 +02:00
Don Jayamanne
509630ffe3 fix https://github.com/Microsoft/vscode/issues/36854 (#36855) 2017-10-25 06:53:24 +02:00
Daniel Imms
e0d8548f56 Merge pull request #30352 from Microsoft/ramyar/terminal-api-env
env support in terminal api
2017-10-24 10:18:17 -07:00
Andre Weinand
af809a59db API: expose debug console; fixes #36753 2017-10-24 13:03:31 +02:00
Matt Bierner
9ecd417c64 Move convert function into MarkDownstring namespace 2017-10-23 13:45:52 -07:00
Daniel Imms
62595dbd39 Merge remote-tracking branch 'origin/master' into ramyar/terminal-api-env 2017-10-23 13:44:43 -07:00
Matt Bierner
85af29ffcf Don't treat regular string SignatureInformation documentation as markdown
Fixes #35937
2017-10-23 13:18:27 -07:00
Sandeep Somavarapu
5520af8168 Fix #34254 2017-10-20 22:56:40 +02:00
Alex Dima
5f8562294b Merge remote-tracking branch 'origin/master' into alex/interval-tree 2017-10-20 15:20:02 +02:00
Sandeep Somavarapu
fd42d99117 💄 2017-10-18 11:58:50 +02:00
Sandeep Somavarapu
993043440d Send workspace configuration change event data to extension host 2017-10-18 10:53:24 +02:00
Johannes Rieken
71d332b464 deco - remove opacity, use colors only, remove provider label from proposed api 2017-10-18 10:36:47 +02:00
Johannes Rieken
ca2c107324 deco - update decorations when gitignore-file changes 2017-10-18 10:06:13 +02:00
Sandeep Somavarapu
b65cb01b3d Send the configuration change event data to Extension host 2017-10-18 08:39:48 +02:00
Johannes Rieken
41f0ff15d7 deco - move scm decorations to git extension 2017-10-17 12:49:56 +02:00
Johannes Rieken
572c7ba2b4 deco - expose decorations as proposed api 2017-10-17 11:15:56 +02:00
Sandeep Somavarapu
b5774640f1 Use IConfigurationService.updateValue instead of IConfigurationEditingService 2017-10-16 23:01:02 +02:00
Alex Dima
324650128e Add fast path for vscode.TextEditor.setDecorations 2017-10-16 22:48:45 +02:00
Sandeep Somavarapu
81cab911d8 Merge pull request #36348 from Microsoft/sandy081/configurationImprovements
Improvements to configuration service
2017-10-16 12:43:36 +02:00
Johannes Rieken
46b7697866 color - move color provider api to stable api 2017-10-16 12:43:21 +02:00
Johannes Rieken
65a2d30efe color - jsdoc and tiny tweaks for color provider api 2017-10-16 12:43:21 +02:00
Sandeep Somavarapu
87aef92aaf Merges 2017-10-16 11:39:28 +02:00
Nick Snyder
65ab631d51 add missing awaits 2017-10-14 00:16:14 -07:00