Commit Graph

26 Commits

Author SHA1 Message Date
Johannes Rieken
f7fb208b39 remove timeouts (and their settings) for format and code actions, #87449 2020-01-09 12:53:48 +01:00
Johannes Rieken
082511b4fe Show cancellable progress when running save participants, #87449 2020-01-09 12:53:48 +01:00
Johannes Rieken
1e10d52b5d show status bar message when save participants fail and link message to corresponding setting, #87449 2020-01-06 15:58:28 +01:00
Matt Bierner
4cc8710a38 Add CodeAction.disabled
For #85160
2019-11-20 17:10:00 -08:00
Benjamin Pasero
9727eb6050 untitled - fix save with associated file path 2019-11-18 07:57:48 +01:00
Benjamin Pasero
72c2f506de working copy - introduce first save/revert semantics (#84672) 2019-11-15 15:36:55 +01:00
Matt Bierner
c26325fb46 Support excluding subsets of code actions for codeActionsOnSave
Fixes #84602
2019-11-12 14:28:43 -08:00
Benjamin Pasero
da5f408834 workbench editor model: getResource => resource 2019-11-12 17:04:54 +01:00
Matt Bierner
b5dbace111 Better name for codeAction types file 2019-11-07 16:00:12 -08:00
Matt Bierner
2719c1ddc0 Replacing more for loops with .every/.some or arrays.equals 2019-10-07 14:43:53 -07:00
Matt Bierner
b17e5587df Surface errors for commands that are part of a code action
Fixes #79967
2019-09-10 08:51:33 -07:00
Alex Dima
2adf01f2af Convert more editor options 2019-09-05 11:13:42 +02:00
Benjamin Pasero
b264205ad2 fix #79927 2019-08-28 11:56:13 +02:00
Matt Bierner
b4a00ca33f Replacing heapservice with lifecycle for code actions
Part of #74846

Code Actions can use commands internally, which must be disposed of. We were previously using the heap service for this but this will not work for the web. Add a custom lifecycle instead
2019-06-06 22:12:56 -07:00
Matt Bierner
483e48d875 Fix sorting of source code actions being reversed
Fixes #73344
2019-05-30 11:30:45 -07:00
Benjamin Pasero
1ce1371dc3 debt - distinguish progress services 2019-05-24 15:03:55 +02:00
Matt Bierner
4875cc00d5 Use correct sorting for code action on save
Fixes #73344
2019-05-10 15:43:38 -07:00
Matt Bierner
af722a281a Use finally 2019-05-10 15:43:38 -07:00
Johannes Rieken
0918dabba5 use editor for format on save and honor silent mode 2019-04-09 09:54:33 +02:00
Johannes Rieken
d95618b784 use readonly T[] instead of ReadonlyArray<T> 2019-04-05 15:45:21 +02:00
Johannes Rieken
e4e0eb0637 add editor.defaultFormatter-setting, #71173 2019-03-27 17:32:52 +01:00
Johannes Rieken
8399f4ae80 Have 'Format Document' and 'Format Document With...' at the same time, show message when formatting document with first provider, #41882 2019-03-25 14:29:57 +01:00
Johannes Rieken
71b4fc14c5 format on save, format on paste don't format when multiple formatters are available, #41882 2019-03-21 17:40:31 +01:00
Johannes Rieken
3fc8913343 show quick pick when multiple formatter apply, #41882 2019-03-21 17:40:31 +01:00
Benjamin Pasero
10c0126e4b debt - reduce null | undefined usages 2019-03-20 08:28:19 +01:00
Johannes Rieken
e93063a0cc move mainThread[S], #70319 2019-03-19 17:30:14 +01:00