Commit Graph

78 Commits

Author SHA1 Message Date
Matt Bierner
7c633148b3 Remove unneeded d.ts files from extensions (#19653)
* Remove unneeded d.ts files from extensions

Moves most extensions to use the lib files for the standard library that typescript provides.

* Remove a few more node.d.ts references
2017-02-01 12:34:50 -08:00
Matt Bierner
1ee3f9dc6c Added command for selecting ts version (#19641)
* Added command for selecting the ts version

* Update name

* Update name
2017-01-31 14:27:24 -08:00
Matt Bierner
35e2132409 New tsdk flow for 19 (#19602)
* Allow using workspace typescript.tsdk setting

Allows users to opt into using their workspace typescript.tsdk setting to specify the path to their typescript install.

Also, fixes a bug when the global tsdk setting points to the workspace version of typescript, our ts selector interface can get confused on which version is currently active. The fix adds a check using the local storage value to show the correct active version.

* Flip vscode and workspace pick order

* Use shared logic when workspace tsdk setting is not used
2017-01-30 16:33:20 -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
kieferrm
97b08a7ce4 adapt contributions 2017-01-23 21:05:17 -08:00
Johannes Rieken
40729ec1a9 AtaProgressReporter using proposed progress api 2017-01-17 18:23:05 +01: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
ed5a9f269d Pick up 2.1.5 release (#18429) 2017-01-11 18:10:13 -08:00
Joao Moreno
31997b32c3 Revert "Only apply TS Dot Accept Suggestion if Previous Character is a valid identifier (#18063)"
This reverts commit 41cb5ee5ae.
2017-01-10 10:11:52 +01: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
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
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
Matt Bierner
371f5e449f Pick up TS 2.1.5 12/29 insiders (#17915) 2016-12-29 15:47:20 -06:00
Matt Bierner
d413a67e92 Pick up 12/20 ts drop (#17635) 2016-12-20 18:46:58 -08:00
Matt Bierner
33eb6753be Fixes #17363 Adds typings.json schema (#17416) 2016-12-16 12:55:20 -08:00
Matt Bierner
32222e2eef Update to TS 2.1.5 insiders build (#17347) 2016-12-15 16:35:08 -08:00
Matt Bierner
46e96d6d73 Move @types/semver in TS Extension to devDependencies (#16958)
* Revert #15842 to unblock oss tool

* Move @typessemver to devdependencies
2016-12-08 22:01:02 -08:00
Matt Bierner
8a16c576a8 Adopt TS 2.1.4 in TS Extension (#16872) 2016-12-07 16:28:15 -08:00
Matt Bierner
0df5b6fb30 Pick up latest TS insiders build 2016-12-06 11:38:10 -08:00
Matt Bierner
8a1db6dbcf TS 2.1.4-insiders 2016-12-05 11:56:48 -08:00
Matt Bierner
5e0e79610b Adopt TS 2.1.3-insiders (#16295)
Adopts the 2.1.3 insiders build of TS in the TS extension
2016-11-30 16:00:58 -08:00
Matt Bierner
77e1bbebad Remove some Typings Files From TypeScript Extension (#15842)
Remove the node-additions typings file and changes the semver typings to come from `@types/semver`.
2016-11-22 10:54:49 -08:00
Dirk Baeumer
ab8e320022 Fixes #15543: Adapt TSServer 2.0.10 2016-11-15 15:24:24 -08:00
Dirk Baeumer
aea3a39ad4 Fixes #15337: Adapt TSServer 2.0.9 2016-11-11 10:42:25 +01:00
Dirk Baeumer
93548f30b4 Merge #15152: Adapt TSServer 2.0.8 2016-11-08 10:48:33 +01:00
Dirk Baeumer
ebd2a0126e Fixes #14966: Upgrade TSServer to version 2.0.7 2016-11-04 09:52:40 +01:00
Dirk Baeumer
aa587165ff Fixed #14548: Lock TypeScript 2.0.6 dependency in NPM shrinkwarp if necessary 2016-10-27 11:02:17 +02:00
Benjamin Pasero
1de326dfaa update to typescript 2.0.6 2016-10-26 11:49:16 +02:00
Dirk Baeumer
207d45f161 Fixes #14410: Rename experimentalAutomaticTypeAcquisition to disableAutomaticTypingAcquisition 2016-10-25 15:10:14 +02:00
kieferrm
f94ebcf2d0 enable automatic typings acquisition by default 2016-10-24 17:10:08 -07:00
Johannes Rieken
abc9993766 add [typescript|javascript].formate.enable 2016-10-17 14:38:08 +02:00
Dirk Baeumer
04d334b1db Move tsserver to 2.0.6-insiders.20161014 2016-10-14 21:50:20 +02:00
Dirk Baeumer
6291636991 Use 2.0.3 stable for tsserver. 2016-10-14 20:49:31 +02:00
Dirk Baeumer
6827488419 Added additional formatting options 2016-10-14 20:49:30 +02:00
Dirk Baeumer
99dd5e4a22 Adopt protocol.d.ts file from npm package 2016-10-14 20:49:29 +02:00
Dirk Baeumer
67af291986 Make use of TS 2.0.6 optional 2016-10-14 20:49:28 +02:00
Dirk Baeumer
ad7e29352d Automate tsserver installation 2016-10-14 20:49:23 +02:00
Dirk Baeumer
2e5b5f1750 Fixes #13035: Disable experimental auto build setting 2016-09-29 21:56:14 +02:00
Dirk Baeumer
a464b8a7b5 Fixing compile error caused by TS 2.0.3 2016-09-23 09:03:16 +02:00
Dirk Baeumer
03d7916061 ImprovedVersionChecking 2016-09-22 16:24:33 +02:00
Dirk Baeumer
1ad65140b4 Update typescript extension to 2.0.2 2016-09-21 16:13:49 +02:00
Dirk Baeumer
b40a3b4b71 Fixes #11456: Hide the tsdk_version setting from the user 2016-09-02 16:21:11 +02:00
Dirk Baeumer
c4d6481247 Make TypeScript extension ready for 2.0 2016-08-17 12:43:17 +02:00
Martin Aeschlimann
fdcbf91f27 [typescript] evolve update script, emit grammar as JSON 2016-08-02 17:27:04 +02:00
Martin Aeschlimann
893483c907 [typescript] grammar-update script 2016-08-02 12:13:28 +02:00
Martin Aeschlimann
70aa7ac5b0 Merge pull request #9595 from Microsoft/aeschli/languageconfiguration-cleanup
Replace deprecated __ language APIs with language-configuration alternative
2016-07-22 10:58:23 +02:00
Martin Aeschlimann
e929d1d8f0 Migrate JS/TS to language-configuration 2016-07-21 20:06:20 +02:00
Andre Weinand
36edf0b561 use new "breakpoints" contribution point 2016-07-21 11:43:56 +02:00