Commit Graph

278 Commits

Author SHA1 Message Date
Matt Bierner
2f34618b87 Adding completion item kind enum 2017-09-20 19:21:45 -07:00
Matt Bierner
b34379e8f7 Take context as last argument 2017-09-20 19:21:45 -07:00
Matt Bierner
0283831aff Fix interfaces and move the function types into namespaces 2017-09-20 19:21:45 -07:00
Matt Bierner
89773f358e Update based on comments 2017-09-20 19:21:45 -07:00
Matt Bierner
377eabe614 Add optional CompletionContext to provideCompletionItems
Fixes #752

Adds a new overload of `provideCompletionItems` that takes a context argument. This context is currently used to provide the trigger character of the suggestion
2017-09-20 19:21:45 -07:00
rebornix
084849c2fa provideColorPresentations should have document in paramaters. 2017-09-20 13:44:57 -07:00
rebornix
d069e922ef Re #34366. Extensions define color formats. 2017-09-19 00:03:58 -07:00
rebornix
3753e0e1d2 Align signatures with other providers. 2017-09-08 14:11:44 -07:00
rebornix
3479d81d77 Fix #32235. Functional style formatter. Color range is all float number and remove fromHex, fromHSL methods. 2017-09-08 11:36:39 -07:00
Johannes Rieken
ed50fa2105 don't register resolve method when there is none, #4352 2017-09-08 10:40:01 +02:00
Johannes Rieken
353526170b use suggest lifecycle instead of automagic heap tracking, #18682 2017-09-07 12:09:20 +02:00
Johannes Rieken
c00bdb74ee Merge pull request #33682 from Microsoft/joh/lightbulb
show lightbulb inline
2017-09-04 15:56:05 +02:00
Johannes Rieken
4e3ed60858 only select diagnostics that are contained by the code action range 2017-09-04 14:31:52 +02:00
Johannes Rieken
29e0c87679 remove unused param 2017-09-04 14:30:13 +02:00
Benjamin Pasero
bef497ff82 avoid more implicit any and some 💄 2017-09-04 11:20:09 +02:00
rebornix
879373d9e1 Remove onDidChagne events. Deprecate [lan].colorDecorators.enable and
use editor.colorDecorators for all.
2017-08-25 16:10:16 -07:00
rebornix
9937bcf6ec Color Decorator sits together with Color Picker. 2017-08-25 16:10:16 -07:00
rebornix
f52299aee0 Add a new option to control whether to render inline color box or not. 2017-08-25 16:10:16 -07:00
Johannes Rieken
9791d58701 replace MarkedString with object-type IMarkdownString, #29076 2017-08-23 15:53:39 +02:00
Johannes Rieken
eb4e09ba69 Revert "know decorations using command links, #29076"
This reverts commit 94c4b25a47.
2017-08-23 11:54:45 +02:00
Johannes Rieken
94c4b25a47 know decorations using command links, #29076 2017-08-23 11:50:58 +02:00
Johannes Rieken
001cff3e78 know hover providers using command links, #29076 2017-08-23 11:50:46 +02:00
Johannes Rieken
9e86799468 fix #32788 2017-08-18 18:03:17 +02:00
Alex Dima
2b3298af79 Use native proxies for renderer <-> ext host RPC communication 2017-08-16 10:26:25 +02:00
Alex Dima
20a45eef3a Add a mechanism to be a customer of the extension host (share lifecycle) and begin reducing usage of IThreadService 2017-08-15 18:26:51 +02:00
Joao Moreno
3007332134 fixes #32379 2017-08-14 11:52:36 +02:00
Joao Moreno
13a6a7a9c3 color api: remove ColorRange.format 2017-08-11 11:50:10 +02:00
Joao Moreno
fe42130032 fix hygiene 2017-07-28 10:18:03 +02:00
Michel Kaporin
35b085f864 Fixed passing available formats to the main thread. 2017-07-27 23:03:08 +02:00
Michel Kaporin
726eeeb1aa Integrate API changes into extHost 2017-07-27 18:03:23 +02:00
Michel Kaporin
be836877ee Simplified extHost <-> mainThread communication by having color formatters map on both sides. 2017-07-27 17:16:35 +02:00
Joao Moreno
7efa9545b6 Merge branch 'master' into colorpicker 2017-07-26 21:54:00 +02:00
Michel Kaporin
0490818367 Updated color API and color info conversion between extHost and main. Added color picker disposal, more listeners. 2017-07-21 12:02:32 +02:00
Michel Kaporin
06c30736cd Added color provider to proposed API. 2017-07-19 16:40:56 +02:00
Matt Bierner
5da27baff3 Build VSCode using TS 2.4 (#30473)
* Build VSCode using TS 2.4.1

Fixes #28643

a

* Reformat a few files for 2.4

* Fix compile errors in jsoneditingservice
2017-07-12 11:28:47 -07:00
Johannes Rieken
38f0dea2b6 fix #29469, remove unsued code 2017-07-11 17:54:42 +02:00
Johannes Rieken
3623fee7d7 next try to fix #26524 2017-05-19 12:09:12 +02:00
Benjamin Pasero
b34f17350f Un-allowed double quoted imports (for #25451) 2017-04-26 19:13:12 +02:00
Matt Bierner
6147b54439 Fix TS 2.3.1 Compiler Errors in VSCode src/workbench (#25249)
TS 2.3.1 introduced a breaking change by [switching to covariant types for callbacks](https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#covariance-in-callback-parameters). This change tries to fix these compiler errors in the workbench codebase
2017-04-25 08:20:25 -07:00
Alex Dima
f3be941164 Move IRange out of editorCommon 2017-04-18 17:33:22 +03:00
Alex Dima
8a3f8985fa Move IPosition out of editorCommon 2017-04-18 16:53:33 +03:00
Johannes Rieken
2d05792d35 also add EnumMember and Struct to SymbolKind, #2628 2017-03-23 13:10:34 +01:00
Matt Bierner
a87586c7c3 Add Type Definition Provider API (#19699)
* Add Type Definition Provider API

Adds a new API to support type definition providers and adds an initial type definition provider for TypeScript

* Fix comment

* Addressing comments

* Fixer menu option ordering

* Added simple test
2017-02-02 14:01:23 -08:00
Matt Bierner
406014ae97 Adding explicit returns 2017-02-01 17:06:13 -08:00
Matt Bierner
57e77e4171 rename (#19282) 2017-01-24 13:32:35 -08:00
Matt Bierner
20f3a9f11b Rename TypeDefinitionProvider to TypeImplementationProvider (#19101)
* Rename TypeDefinitionProvider to TypeImeplementationProvider

**bug**
In #18346, I originally called the new go to implementation provider api `ImplementationProvider` which we then decided to rename to `TypeDefinitionProvider`. At the time, I didn't realize that a type definition was actually its own, unrelated concept.

**Fix**
Rename `TypeDefinitionProvider` to `TypeImplementationProvider` to make it clear what the purpose and use of this api is.

* Fix a few names in comments
2017-01-23 16:25:37 -08:00
Matt Bierner
9d611d4dfd Add Go To Implementation Api (#18346)
* Add Go To Implementation Api

For #10806

Adds a new API for supporting  `go to implementation` command for languages. Implements an example for TS

* Rename

* Cleanup
2017-01-12 12:16:48 -08:00
Johannes Rieken
61bd582998 first cut of CompletionItem#commitCharacters, #7326 2017-01-10 17:21:37 +01:00
Johannes Rieken
118b3e0d5a debt - use Map instead of object 2016-12-30 15:37:12 +01:00
Johannes Rieken
a6435b1cbd add CodeLensProvider#onDidUpdateCodeLenses, #10648 2016-12-29 15:54:48 +01:00