Daniel Imms
e384ca7461
Clean up terminal cwd handling
2019-01-28 06:06:37 -08:00
Daniel Imms
8846757657
Move cwd ownership into terminal process
2019-01-28 06:06:36 -08:00
Johannes Rieken
f824581042
fix #67120
2019-01-28 14:04:43 +01:00
Johannes Rieken
d0ba2734fa
make sure to invoke command with correct argument types, #64376
2019-01-28 12:06:13 +01:00
Sandeep Somavarapu
aba0fcbb58
Delay extension host until workspace is completely initialized
2019-01-28 10:54:45 +01:00
Peng Lyu
74e267efdd
Merge branch 'rebornix/reactions'
2019-01-27 16:45:10 -08:00
Peng Lyu
130fdbee2b
reaction api
2019-01-27 15:06:33 -08:00
Andre Weinand
24261c0068
cleaning up path DAP handling
2019-01-27 09:04:48 +01:00
Benjamin Pasero
002cd6253b
move exthost into extensions service where its used from ( #67131 )
2019-01-25 18:28:34 +01:00
Johannes Rieken
c4d6e79d4d
move open-function into stable, #66741
2019-01-24 09:01:27 -08:00
Benjamin Pasero
ebf9cb4136
debt - inline commands.ts from electron-browser
2019-01-24 16:11:38 +01:00
Daniel Imms
f14dceaf49
Fix terminal process env variables
2019-01-23 16:38:22 -08:00
Johannes Rieken
936facd191
less async#always, #67027
2019-01-23 15:05:39 -08:00
Johannes Rieken
02248a4d4e
Merge pull request #65059 from Microsoft/joh/promise-finally
...
Add typings for Promise#finally
2019-01-23 09:14:46 -08:00
Matt Bierner
508f43166b
Rename source.autoFix to source.fixAll
...
Part of #62110
`autoFix` is a confusing term since we have a `auto fix` command now. Using `fix all` as this term is used by many linters for this type of operation
2019-01-22 14:34:43 -08:00
Alex Dima
b2736fdc7c
Capture console log and send it through the extension host protocol
2019-01-22 20:03:24 +01:00
Alex Dima
c16d569a32
Add IInitData.resolvedExtensions
2019-01-22 20:01:56 +01:00
Alex Dima
7ed411c3c2
Improve error messages
2019-01-22 19:59:28 +01:00
Daniel Imms
a865e6691b
Sanitize terminal environment variables
2019-01-22 07:47:00 -08:00
Martin Aeschlimann
585099e139
support add/diffMode in windowService.openWindow
2019-01-22 15:56:28 +01:00
Martin Aeschlimann
998d665c39
cli server for internal terminal
2019-01-22 15:56:28 +01:00
Martin Aeschlimann
032f640ba7
support files in windowOpen
2019-01-22 15:56:28 +01:00
Johannes Rieken
97ed8aba29
add developer command that prints available formatters to console, #41882
2019-01-21 18:19:02 -08:00
Matt Bierner
65b0d6d274
Fix spelling error
2019-01-21 18:04:01 -08:00
Matt Bierner
f929531dfb
Add CodeActionKind.intersects
...
Fixes #66881
2019-01-21 18:04:01 -08:00
Matt Bierner
4e6bd4aedd
Prototype autofix source code action
...
Part of #62110
* Adds a new `CodeActionKind`: `source.autoFix`.
* Implements a simple auto fix provider for typescript. This provider can auto fix `implement interface` and `spelling` errors (provided there is only a single valid fix listed)
The provider is likely not something we actually want to check it (especially in its current state), we should ask TS for proper autoFix support
2019-01-21 17:16:06 -08:00
Johannes Rieken
232006c427
use electron openExternal, return boolean-promise, rename to 'open', #66741
2019-01-21 17:03:15 -08:00
Johannes Rieken
96ab284b4e
move function to env, rename to openItem #66741
2019-01-21 15:42:54 -08:00
Matt Bierner
bcc2281e45
Rename CodeAction.canAutoApply -> CodeAction.preferred
...
Part of #62110
Use the more generic name as suggested in https://github.com/Dart-Code/Dart-Code/issues/1393 . This makes the intent of the field more clear and also allows us to extend the concept of preferred code actions to refactorings and other classes of code actions
Experimentally also allows a `preferred` value for `apply` when configuring code aciton keyboard shortcuts. This applies the preferred code action returned from the list of code actions returned
2019-01-21 14:09:30 -08:00
Johannes Rieken
172b5a5c59
delegate to opener service, #66741
2019-01-21 10:20:57 -08:00
Johannes Rieken
f9d0c4b2cb
wire up read/write correctly, #66759
2019-01-18 18:51:39 -08:00
Johannes Rieken
84162b715b
add command to list of disallowed schemes
2019-01-18 16:52:06 -08:00
Johannes Rieken
073aba1923
first cut proposed api for vscode.open, #66741
2019-01-18 11:27:26 -08:00
Alex Dima
ae72d6983d
Handle added/removed extensions in bulk
2019-01-18 17:16:46 +01:00
Isidor Nikolic
2494a5f3cb
Merge pull request #66352 from Microsoft/isidorn/contributes-labels
...
labelService: allow extensions to contribute label formatting rules
2019-01-18 13:49:23 +01:00
rebornix
ee3a616601
Max code actions per file is 1000
2019-01-17 17:11:28 -08:00
isidor
7bd16e21c8
label service new structure for formatters
2019-01-17 18:04:37 +01:00
Matt Bierner
1904cd8d84
Prototype auto fixable quick fixes
...
Part of #62110
- Adds a new field `canAutoApply` to code actions. This field indicates that a code action can be applied without additional user input. For quick fixes, this should be set if the fix properly addresses the error
- Enable auto fixes for TS spelling errors
- Added a `editor.action.autoFix` command to triggers auto fixes at the current cursor position
2019-01-16 17:56:22 -08:00
Rob Lourens
19adeb1620
Simplify extHostSearch
2019-01-16 12:27:35 +01:00
Alex Dima
924b7a1fea
Handle the case of removing an extension from the extension host
2019-01-15 23:04:45 +01:00
Alex Dima
471a786cf3
Activate newly installed/enabled extensions
2019-01-15 13:51:15 +01:00
Alex Dima
2fe9de8511
Initialize configuration data through ExtHostConfiguration
2019-01-14 17:28:14 +01:00
Matt Bierner
d3d16d2b34
Don't return symbolic columns for webview panels
...
Fixes #56097
When a symbolic column is used while creating a webview panel, instead set the `viewColum` as `undefined` and then resolve it once we know the real (non-symbolic) column
2019-01-11 15:32:15 -08:00
Gabriel DeBacker
e1d8493f28
Implement creating a razzle terminal with approved API changes
2019-01-11 10:27:18 -08:00
Johannes Rieken
14ce5183db
renames, #58649
2019-01-11 16:18:56 +01:00
rebornix
fe5f523735
Add extension information to comment widget model
2019-01-10 09:58:56 -08:00
Sandeep Somavarapu
4d285a7ee1
Fix #66030
2019-01-10 10:49:54 +01:00
Matt Bierner
93ebd40953
Continue Strict null check for Map.get may return undefined
2019-01-09 17:37:42 -08:00
Matt Bierner
f89f4902ca
Continue with strict null fixes for Map.get possibly returning undefined
2019-01-09 17:37:42 -08:00
Benjamin Pasero
42d0a188fc
extension tests: print errors to console
2019-01-09 18:15:53 +01:00