385 Commits

Author SHA1 Message Date
kieferrm
eafb9edd94 Use Later instead of Close 2017-01-27 12:28:15 -08:00
Matt Bierner
aa19ee1d1e Fixed a few more cases and updated wording to be more clear 2017-01-27 11:24:11 -08:00
Matt Bierner
850c163f49 Fix a few edge cases for quick pick of ts version 2017-01-27 11:08:04 -08:00
Johannes Rieken
1162f89430 onDidChangeCodeLenses:Event<void>, fixes #19495 2017-01-27 15:24:10 +01:00
Matt Bierner
4b4ad2d9e8 Reword ts version switch flow a little 2017-01-26 20:28:43 -08:00
Matt Bierner
6bc96698d0 Show warning on first load of workspace with typescript.tsdk setting (#19463)
* Show warning on first load of workspace with typescript.tsdk setting

Shows a prompt when a user first loads a workspace with a `typescript.tsdk` setting in the  workspace.

* Also show message on first load in case where workspace has local version of TS

* Use quick pick. Added restart message

* Rename intellisense
2017-01-26 16:41:29 -08:00
Matt Bierner
faffa553f3 Fixes #3912 2017-01-25 23:14:51 -08:00
Matt Bierner
08ff1faa38 Fix a few more edge cases for references code lens 2017-01-25 21:23:19 -08:00
Matt Bierner
8bfcb15c8c Fixes #18474 2017-01-25 21:18:25 -08:00
Matt Bierner
277f25d05b Fix a few undefined ref accesses while ts is loading 2017-01-25 20:45:49 -08:00
Matt Bierner
2908125a50 Mark const completions correctly in ts. Part of #19401 2017-01-25 17:36:40 -08:00
Matt Bierner
80e243f9ba Fixes #19406. Only insert top level parameters for useCodeSnippedOnMethodSuggest 2017-01-25 17:24:14 -08:00
Matt Bierner
8aa7e5336d Change TypeScript Configuration Flow For workspacesTrustedToSpecifyExecutables (#19329)
* Proto

* Remove unused method

* Use local storage for selecting typescript version

* Update settings warning message for typescript tsdk setting

* Small logic cleanup
2017-01-25 16:52:42 -08:00
Matt Bierner
a4347befde References code lens fire event when config is changed. Fixes #19195 (#19343) 2017-01-25 00:33:00 -08:00
Matt Bierner
55097a0825 Add support for untitled js and ts file format and suggestions (#19340) 2017-01-24 23:29:50 -08:00
Matt Bierner
6cf0c5cd3f Fix Typescript Quick Fix not using correct tab/spaces setting in TS 2.1.5 (#19312)
Fixes #19279
2017-01-24 17:12:58 -08:00
Matt Bierner
57e77e4171 rename (#19282) 2017-01-24 13:32:35 -08:00
kieferrm
97b08a7ce4 adapt contributions 2017-01-23 21:05:17 -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
Martin Aeschlimann
f675d5105d [themes] supertypes not colored in plus themes 2017-01-23 09:48:45 +01:00
Benjamin Pasero
c698fddbee usual every morning build fixing 2017-01-23 07:42:08 +01:00
Christof Marti
ae937bd27e Merge remote-tracking branch 'origin/master' into chrmarti/welcomeexperience 2017-01-21 11:30:41 -08:00
Johannes Rieken
05c239f2c6 Merge pull request #18780 from Microsoft/joh/ata-progress
ata progress reporting
2017-01-20 09:19:03 +01:00
Christof Marti
851ed825d7 Let walkThroughSnippet scheme go through to tsserver 2017-01-19 22:40:06 -08:00
Matt Bierner
1a35a77864 Gate TS go to implementation feature to TS 2.2+ (#18806) 2017-01-19 11:25:40 -08:00
Johannes Rieken
5262c787bc drop packages which are only send on end 2017-01-19 12:34:01 +01:00
Johannes Rieken
fca283d7d6 different api, nicer message 2017-01-19 12:24:59 +01:00
Johannes Rieken
e562b36e6d Merge branch 'master' into joh/ata-progress 2017-01-19 12:16:53 +01:00
Martin Aeschlimann
abfdbf6d46 [typescript] grammars: remove workaround for spaces in scope names 2017-01-19 12:02:16 +01:00
Martin Aeschlimann
3956be9ba6 [typescript] update grammar to to Microsoft/TypeScript-TmLanguage@e47681d (2017-01-17). Fixes #18612 2017-01-19 12:02:15 +01:00
Johannes Rieken
40729ec1a9 AtaProgressReporter using proposed progress api 2017-01-17 18:23:05 +01:00
Matt Bierner
052f6405c7 Enable dot completions in a few more contexts 2017-01-13 15:05:36 -08:00
Benjamin Pasero
a6175d0756 Fix build (#18492) 2017-01-13 07:15:26 +01:00
Matt Bierner
4f4df044b7 Fixes #18487 2017-01-12 19:41:50 -08:00
Matt Bierner
269d1f3aae Fix 17584 (#18477)
* Fixes #17584

* Remove logging statement
2017-01-12 17:55:53 -08:00
Matt Bierner
d9d41f7cd0 Prototype Using Commit Characters for JS and TS Completions (#18380)
* Prototype Using Commit Characters for JS and TS Completions

Part of #7326

Adds a prototype for using specific characters to complete TS/JS completion items automatically.

* Tune path completion items

* Disable dot commit in js files

* Don't complete on / in module names
2017-01-12 15:21:46 -08:00
Matt Bierner
0f2c51fc22 Fixes #18425 2017-01-12 15:13:38 -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
Matt Bierner
ed5a9f269d Pick up 2.1.5 release (#18429) 2017-01-11 18:10:13 -08:00
Matt Bierner
5f1828b731 Fix failure to match some ref count names 2017-01-11 16:57:10 -08:00
Joao Moreno
31997b32c3 Revert "Only apply TS Dot Accept Suggestion if Previous Character is a valid identifier (#18063)"
This reverts commit 41cb5ee5ae03602482e272a87f6d3eb988b96ccb.
2017-01-10 10:11:52 +01:00
Matt Bierner
db0d72e663 Fixes #18347 2017-01-09 20:19:13 -08:00
Martin Aeschlimann
d12f865650 [jsx] Automatic HTML indentation and cursor position in JSX. Fixes #18284 2017-01-09 21:47:42 -04:00
Matt Bierner
450778c177 Exclude Definition From TS code lens (#18338)
Fixes #18335

Removes the definition itself from the list of references shown in the TS code lens
2017-01-09 11:37:15 -08:00
Matt Bierner
1e2059c676 Fix nls command title 2017-01-09 10:59:43 -08:00
Matt Bierner
41cb5ee5ae Only apply TS Dot Accept Suggestion if Previous Character is a valid identifier (#18063)
* Only apply TS Dot Accept Suggestion if previous character is a valid identifier char

Fixes #17825
Fixes #17770
Fixes #17584

**Bug**
When typing two or more `.` in a row, we end up unexpectedly accepting suggestions in TS files. This is caused by the custom keybinding that ts registers for `.`.

**Fix**
Only accept the suggestion on `.` if the previous character is a valid identifier character.

* Move title to nls
2017-01-09 10:43:59 -08:00
Alex Dima
88c45c4e57 Merge remote-tracking branch 'origin/master' into alex/tokenization 2017-01-09 11:19:26 +01:00
Martin Aeschlimann
d826ad6e4f [jsx][tsx] Wrong type of comments for React code. Fixes #6461 2017-01-07 10:57:37 -04:00
Matt Bierner
265803b0c9 Add TypeScript References Code Lens Provider (#18205)
Fixes #18054

Adds an references code lens provide for JS and TS
2017-01-06 15:18:06 -08:00
Alex Dima
51b5727501 Merge remote-tracking branch 'origin/master' into alex/tokenization 2017-01-06 17:06:26 +01:00