Commit Graph

207 Commits

Author SHA1 Message Date
Pine Wu
31ec4fe434 CompletionItemLabel#label -> name 2020-01-15 10:37:33 +01:00
Matt Bierner
3883ebd061 Add common service for logging deprecated api usage (#88585)
* Add common service for logging deprecated api usage

For #88391

Adds a new `ExtHostApiDeprecationService`. This service logs a warning and telemetry when a deprecated API is used.

Updates some of the more simple deprecated apis to use this new service

* Note that extensionId cannot be undefined

* Fix event name
2020-01-14 15:27:42 -08:00
Pine Wu
79a01a0f27 Revert isDetailsResolved and implement CompletionItemLabel 2020-01-14 17:20:41 +01:00
Johannes Rieken
e69cc0760c update telemetry message with index of changed field #87187 2020-01-13 12:26:42 +01:00
Matt Bierner
1b70625f8c Use import type when importing vscode under src
When the core references `vscode`, we only want to import the types and never generate a real import (which will fail to load). Use `import type` to better enforce this
2020-01-10 14:25:21 -08:00
Johannes Rieken
c40b6072bc propose CompletionList#isDetailsResolved, #39441 2020-01-09 15:50:34 +01:00
Johannes Rieken
e25b9c9f0b allow prepareCallHierarchy to also return an array 2019-12-16 16:36:06 +01:00
Matt Bierner
a4177f50c4 Use object for refactor.disabled
For #85160

Using an object is more explict with property names and will let us introduce additional properties in the future if needed
2019-12-11 20:15:30 -08:00
Johannes Rieken
34fb5e910e print warning and telemetry message when resolveCompletionItem is changing the insert behaviour, #86122 2019-12-09 12:51:42 +01:00
Johannes Rieken
64b177b2e0 fix #86300 2019-12-05 11:22:46 +01:00
Alex Dima
d6dae16f40 Remove areas from the semantic tokens API 2019-12-02 10:41:32 +01:00
Matt Bierner
4cc8710a38 Add CodeAction.disabled
For #85160
2019-11-20 17:10:00 -08:00
Alexandru Dima
47dfc2debf Avoid having very small delta areas 2019-11-18 11:34:13 +01:00
Alexandru Dima
22ff01e6ff Fix issue when areas with 0 tokens would be used for delta encoding 2019-11-18 09:41:10 +01:00
Alex Dima
3c2ac03c19 Better logging 2019-11-14 23:25:08 +01:00
Alex Dima
4dbb961407 Fix issue with appended deltas having the wrong order & add unit tests to semantic areas delta computation 2019-11-14 14:03:52 +01:00
Alex Dima
15beb36ccf Merge remote-tracking branch 'origin/master' into alex/semantic-exploration 2019-11-14 09:16:10 +01:00
Johannes Rieken
8e64adbbde use LogService in extHostLanguageFeatures and extHostMessageService, #84283 2019-11-11 12:22:55 +01:00
Alex Dima
5eaf74f52d Delta encode single semantic coloring areas 2019-11-08 12:07:06 +01:00
Alexandru Dima
3554cc2f8e Towards diffing a single area result 2019-11-07 17:51:48 +01:00
Alexandru Dima
e0c1d66ae3 Implement identity based diffing for smart semantic tokens providers 2019-11-07 17:17:24 +01:00
Alexandru Dima
28042553d1 Do not split semantic tokens that are on the same line onto different areas, i.e. area overlap is not allowed 2019-11-07 16:59:40 +01:00
Alexandru Dima
f3934a7950 Split semantic coloring results containing many tokens in a single area 2019-11-07 16:43:35 +01:00
Alexandru Dima
c34e736195 Forward SemanticColoring disposals to the ext host 2019-11-07 16:06:46 +01:00
Alexandru Dima
7761e75deb API tweak from the standup discussion 2019-11-07 15:26:22 +01:00
Johannes Rieken
e5719685cc implement api commands for call hierarchy, #83274 2019-11-07 14:05:50 +01:00
Alex Dima
abc4e88074 reduce diffs 2019-11-06 08:55:09 +01:00
Alexandru Dima
013433992a Semantic tokenization 2019-11-05 17:17:28 +01:00
Alexandru Dima
308ff31f95 Merge remote-tracking branch 'origin/master' into alex/semantic-exploration 2019-11-05 09:44:55 +01:00
Johannes Rieken
31e7866e59 change names to inserting/replacing #10266 2019-11-05 08:36:45 +01:00
Johannes Rieken
363647b245 fix #83400 2019-10-28 09:58:48 +01:00
Johannes Rieken
b802676caa call it CallHierarchyProvider instead of CallHierarchyItemProvider #70231 2019-10-25 10:18:17 +02:00
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