Commit Graph

125 Commits

Author SHA1 Message Date
Johannes Rieken
f7d0c2d2da add parent back, fix caching id issue, 2019-10-25 09:22:44 +02:00
Matt Bierner
6fbb276e2b Use map instead of object map 2019-10-24 14:55:54 -07:00
Matt Bierner
8526a2f2f8 Convert async 2019-10-24 14:55:54 -07:00
Johannes Rieken
15bcf1a8c5 call hierarchy shows root node, also update API proposal for this, #81753 2019-10-24 20:20:27 +02:00
Johannes Rieken
fcb807c75f move insert/replace range API to proposed 2019-10-24 14:39:47 +02:00
Johannes Rieken
0bfdfa69bc Merge branch 'master' into joh/completionOverwrite 2019-10-24 12:34:52 +02:00
Matt Bierner
4d4040c3d1 Avoid cast 2019-10-23 19:30:23 -07:00
Johannes Rieken
9f474febfe implement API proposal 2019-10-22 16:48:12 +02:00
Johannes Rieken
f1583f11ab debt - use more ISuggestDataDtoField 2019-10-22 15:27:09 +02:00
Johannes Rieken
46be30ef9a renames: source -> from, target -> to, #81746 2019-10-08 12:44:25 +02:00
Alexandru Dima
45a92a4937 wip 2019-09-30 15:19:07 +02:00
Alexandru Dima
7e4991aa33 WIP 2019-09-25 17:49:27 +02:00
Matt Bierner
14ae1247f8 Use const enums for minimized ISuggestDataDto types
From #71060

**Problem**
ISuggestDataDto currently uses opaque property names in order to keep the size of the json object down. This makes the code difficult to read

**Proposed Fix**
Use a const enum to map human readable property name to the short names actually used for the json
2019-09-13 16:14:08 -07:00
jrieken
4ac45c1be8 💄 named export for extHostProtocol... 2019-09-12 13:35:17 +00:00
jrieken
6fc8778fdc calls - add CallHierarchyItem to type converter 2019-09-12 13:34:45 +00:00
jrieken
4aa06c2611 calls - remove resolve-function, use document,position tuple when making requests 2019-09-12 10:13:20 +00:00
Johannes Rieken
fd6bb626e3 fix tslint warnings... 2019-09-11 16:16:13 +02:00
jrieken
8e5edc0eda use Outgoing/Incoming terminology 2019-09-11 13:25:53 +00:00
jrieken
e6df99aed8 implement CallsFrom/CallsTo proposal 2019-09-11 08:01:13 +00:00
Matt Bierner
bffbe2ea30 Make sure modes.DocumentSymbol.tags is not undefined
Fixes #80023
2019-08-28 19:05:45 -07:00
Johannes Rieken
043a06542d add SymbolInformation.tags, render deprecated items in quick outline and workspace symbol search 2019-08-23 10:25:55 +02:00
Johannes Rieken
62c31b7154 add SymbolTag, make tag a propertiy, #23927 2019-08-23 09:03:18 +02:00
Johannes Rieken
8b0bc473cd CompletionItemKindModifier -> CompletionItemKindTag, #23927 2019-08-23 08:12:33 +02:00
Johannes Rieken
8ecc032c23 document symbols and deprecated, UX, internal API, #50972 2019-08-22 14:53:40 +02:00
Johannes Rieken
1848b16313 tweak UI for deprecated completions, update API proposal #23927 2019-08-22 10:28:55 +02:00
Johannes Rieken
f35f14ffa0 Merge branch 'master' into joh/completionsDeprecated 2019-08-21 10:13:39 +02:00
Johannes Rieken
32da48e7a0 consistent dto namings 2019-08-05 16:50:13 +02:00
Kamran Ayub
dbbf3316d3 Add deprecated support to SuggestDataDto 2019-07-26 15:22:35 +02:00
Matt Bierner
f928d0eb36 Add log message to help catch leaked disposables in ext host 2019-07-08 17:53:32 -07:00
Johannes Rieken
5f406230c9 use keybinding instead of setting, show provider name (iff possible) 2019-07-01 09:43:41 +02:00
Johannes Rieken
c8843e3b0d final touch at heap service removal, #74846 2019-06-19 10:58:24 +02:00
Matt Bierner
580bd304c9 Don't use heap service for signature help
For #74846

Migrates from using the heap service to have an explicit lifecycle
2019-06-13 17:49:00 -07:00
Matt Bierner
592b91b5cb Use readonly for cache
This type never modifies the input arrays
2019-06-13 16:43:09 -07:00
Matt Bierner
1e9fae2fba Partial fix for ExtHost CodeLenses registering commands after they have already been disposed of
For #75105

This change ensures that we do not try registering a command while resolving a code lens. However it does not fix the issue where we can end up trying to invoke a command that has already been disposed of
2019-06-07 18:26:19 -07: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
Johannes Rieken
6a4467da59 for completions use CommandsConverter.toInternal2, #74846 2019-06-05 09:38:49 +02:00
Johannes Rieken
a73b4236b0 properly keep resolved code lens command, #74846 2019-06-05 09:38:49 +02:00
Johannes Rieken
35643d80e0 add lifecycle to code lens, #74846 2019-06-05 08:52:31 +02:00
Johannes Rieken
6f1da34c2e debt - decouple webviews from code insets, move things to /browser/-layer, change inset api proposal to push style, re #66418 2019-06-04 12:31:18 +02:00
Johannes Rieken
034165ac67 don't cache provider results when request was cancelled, #74446 2019-05-28 12:15:53 +02:00
Alex Dima
9fb9ca51a6 Add transformOutgoingScheme to IURITransformer 2019-05-24 12:46:48 +02:00
Johannes Rieken
c0821aa5e9 move extHost-files to common 2019-04-10 10:26:52 +02:00
Johannes Rieken
81456a7212 move api/common to api/browser 2016-01-11 14:44:13 +01:00
Johannes Rieken
2e95c110f4 use weak references to track TextDocument that were given out to consumers 2016-01-11 12:50:40 +01:00
Johannes Rieken
d78646888a refactor ExtHostDocumentModel to ready for node_module consumption 2016-01-11 10:50:25 +01:00
Johannes Rieken
f2bba12f8b 🔼 move thenable<->promise utility to async 2016-01-06 16:19:44 +01:00
Johannes Rieken
2e50c91b24 correct command argument caching for CodeLensProvider, fixes #1698 2016-01-05 10:38:02 +01:00
Johannes Rieken
fa1c52de3b towards code lens lifecycle, still #1698 2016-01-04 18:48:19 +01:00
Johannes Rieken
ff077c103e create dummy commands (and manage them) when code action or code lens commands have argument #1698 2016-01-04 16:22:28 +01:00
Benjamin Pasero
5906207073 workbench api linting 2015-12-21 18:51:51 +01:00