Ron Buckton
340f7beef9
Fix to allow for optional chain token in completions ( #81402 )
2019-09-25 11:13:58 -07:00
Rob Lourens
099485461d
Merge pull request #80801 from orta/capital_S
...
Fixes some capital S typoes with JS/TS
2019-09-15 14:55:34 -07:00
Andrew Branch
8774e0bb05
[typescript-language-features] Add formatter option for semicolons ( #80828 )
...
* Add formatter option for semicolons
* Add compatibility note
* Make it compile without TS 3.7
2019-09-13 13:40:41 -07:00
Matt Bierner
67e37803b7
Add telemtry property for local TS version
...
We are interested in understanding which TS versions user have enabled in their workspaces, and how widely these diverge from these the workspace version
2019-09-12 17:27:28 -07:00
Orta Therox
a89b72bf63
Fix hardcoded lower case S issues for JS/TS only for presentation-ish strinngs
2019-09-12 09:58:03 -04:00
Matt Bierner
22db92f71b
Add telemetry event when TS server is spawned
...
This is needed to help us better understand which TS versions users have enabled in their workspaces
2019-09-11 18:03:14 -07:00
Matt Bierner
f4524551e9
Remove gating for TS < 2.2.0 features
...
Based on telemetry, these versions have pretty much zero usage in the past 30 days. Removing the extra gating code since we can now assume users are on TS > 2.2.
2019-09-11 15:50:50 -07:00
Matt Bierner
7a00ddf9f8
Format files for 3.6
...
Fixes #80118
2019-09-02 21:29:05 -06:00
Matt Bierner
8891b85518
Fix caption parsing
...
For #79704
- Use regexp
- Handle unix line endings
- Don't highlight caption as part of code block
2019-08-27 14:49:19 -07:00
Andrew Liu
86723e74b6
fix for 79704 - support for @example <caption>
2019-08-26 17:19:36 -07:00
Matt Bierner
91e99652cd
Fix js/ts refactorings
2019-08-26 14:51:26 -07:00
Matt Bierner
e3b9b8eefc
Re-check opened files while executing refactoring
...
Fixes #79650
2019-08-23 23:06:01 -05:00
Matt Bierner
908ea77860
Revert "Use per-resource settings for js/ts validate.enable"
...
This reverts commit 8b61c15d3d .
2019-08-21 17:20:03 -07:00
Matt Bierner
8b61c15d3d
Use per-resource settings for js/ts validate.enable
...
For #78549 but requires more work
2019-08-21 16:23:23 -07:00
Martin Aeschlimann
379623e369
update yarn.lock files
2019-08-21 18:04:55 +02:00
Martin Aeschlimann
be8f289fa9
update jsonc-parser
2019-08-21 16:55:59 +02:00
Matt Bierner
1429e8182f
Enable "restart ts server" command in js/tsconfig files
...
Fixes #79530
2019-08-20 11:22:24 -07:00
Matt Bierner
d9aba4fa7f
Use const enums
2019-08-15 18:03:55 -07:00
Matt Bierner
35c97ea91d
Mark readonly
2019-08-15 18:02:28 -07:00
Matt Bierner
46d0bd8100
Don't include closing ] in folded range
...
Fixes #79142
2019-08-14 17:05:13 -07:00
Matt Bierner
2c4edeb617
Make sure we compare fully normalized error codes when checking for fix all actions
2019-08-14 17:05:13 -07:00
Matt Bierner
c4733f91c8
Still show fix all actions for fix-all actions that can fix multiple errors with multple different diagnostics
2019-08-14 14:49:23 -07:00
TypeScript Tools
41414c2b5f
Strip a path list out of an error message
...
The error, which happens quite frequently, contains an excessively long path list. The message itself was cleaned up in https://github.com/microsoft/TypeScript/pull/32785 but we add some additional filtering to the editor since older server versions are still in use.
2019-08-12 15:10:29 -07:00
Alex Ross
2bf257c0c5
Implement resolveTask for typescript tasks
...
Fixes #76521
2019-08-06 09:59:09 +02:00
Alex Ross
8fda22e123
Improve typescript task slash warning
...
Part of #74995
2019-07-30 12:23:31 +02:00
Matt Bierner
049e4ca16d
Mark addMissingAwait as a preferred fix
2019-07-24 23:09:36 -07:00
Matt Bierner
cf69f2f1af
Refactor code to use single state object instead of two
2019-07-19 18:35:42 -07:00
Matt Bierner
feef95c707
Make sure we update pending files properly
...
The previous logic failed to add anything to the pending files list
For #77665
2019-07-19 18:35:42 -07:00
Alex Ross
8b497a9019
Add slash type message to typescript tasks
...
Part of #74995
2019-07-11 11:16:30 +02:00
Matt Bierner
ae977ba1e0
Make sure we always kill the syntax server when the semantic server exists
2019-07-01 17:30:42 -07:00
Matt Bierner
35f77aab43
Enable useSeparateSyntaxServer by default and remove the experimental section from setting name
...
Fixes #76420
2019-07-01 15:10:21 -07:00
Alex Ross
01e7c59b1d
Force drive letter to lowercase in tsc tasks
...
Fixes #75084
2019-06-27 12:30:25 +02:00
Matt Bierner
cefbf36d1d
Add docCommentTemplate to syntax commands
2019-06-26 15:17:17 -07:00
Matt Bierner
9670060267
Make sure we never cancel a request to just one of the ts servers
...
Fixes #76143
2019-06-25 16:22:13 -07:00
Alex Ross
7f365d2ff2
Fix drive letter casing on typescript tasks
...
Occurs when opening by double clicking on workspace file. Fixes #75084
2019-06-25 16:36:45 +02:00
Matt Bierner
8c8f79dcef
Auto restart when changing typescript.experimental.useSeparateSyntaxServer
2019-06-24 17:07:07 -07:00
Matt Bierner
14bc8002eb
Use openExternal
2019-06-24 17:07:07 -07:00
Matt Bierner
e32e2a90c5
Make RelativeWorkspacePathResolver a static class
2019-06-24 17:07:07 -07:00
Matt Bierner
85ab838037
Add explicit win32 gheck for using user specific temp folder
2019-06-24 15:19:03 -07:00
Matt Bierner
e642a0a5db
Merge pull request #75547 from asztal/patch-1
...
Handle multiple users with /tmp/vscode-typescript
2019-06-24 12:54:45 -07:00
Matt Bierner
777010a734
Fix file name spelling
2019-06-24 11:54:45 -07:00
Matt Bierner
ffecce0476
Better encapsulate logic of spawning different server kinds
2019-06-20 18:25:12 -07:00
Matt Bierner
5fc7a8c5c0
Renames
2019-06-20 18:15:33 -07:00
Matt Bierner
fd245fcda0
Fix method name
2019-06-20 18:13:06 -07:00
Matt Bierner
362ca1d638
Also include format in the syntax commands
2019-06-20 18:01:49 -07:00
Matt Bierner
ec191a08f4
Make execute command a configuration object
2019-06-20 18:01:49 -07:00
Matt Bierner
1958209daf
Include server id in TS server errors
2019-06-20 18:01:49 -07:00
Matt Bierner
87b8402b59
Add experimental dual TS server
...
Fixes #75866
2019-06-20 17:11:20 -07:00
Matt Bierner
8ec2559029
Move getQueueingType into class
2019-06-20 17:11:20 -07:00
Matt Bierner
45ea4703c2
Renames
2019-06-20 17:11:20 -07:00