Commit Graph

6556 Commits

Author SHA1 Message Date
Matt Bierner
8ac2c23fdc Don't force convert fixable diagnostics to numbers
Fixes #64848 for the VS Code side
2018-12-14 14:57:37 -08:00
Matt Bierner
45c34a2c51 Remove extra Array.from 2018-12-14 14:57:37 -08:00
Matt Bierner
7632e0133e Use clear 2018-12-14 14:57:37 -08:00
Matt Bierner
83ce38f6de Make fixPathPrefixes a bit more resiliant 2018-12-14 14:57:36 -08:00
Pine Wu
9b5795b0fe Fix #64993 2018-12-14 14:19:05 -08:00
Prabhanjan S Koushik
0f5b2d14e7 Fix #64253 - Support ~/ paths for typescript.tsdk (#64892)
* fix-64253 Added fixPathPrefixes

* fix-64253 Removed  and handled ~/path
2018-12-14 14:18:24 -08:00
Matt Bierner
a87dc2b62f Interup getError for refactor and updatePaths on rename
These are user triggered operations that should interupt the background getError requests
2018-12-14 13:48:53 -08:00
Matt Bierner
d02be78457 Show progress during update JS/TS imports
Fixes #64986
2018-12-14 13:29:57 -08:00
Matt Bierner
90f36693c9 Extend disposable 2018-12-14 12:54:07 -08:00
Matt Bierner
bb8fc43f72 Remove un-needed cast 2018-12-14 12:52:48 -08:00
Alex Ross
edd216eb0c Gulp task detection shouldn't open output
Fixes #64900
2018-12-14 16:03:52 +01:00
Matt Bierner
6b89247875 Allow extension contributed TS plugins to be loaded for workspace versions of TS
Fixes #65031

Adds a `enableForWorkspaceTypeScriptVersions` flag (default false) to the plugins contributions that  allows a contributed plugin to be loaded for workspace versions of ts
2018-12-13 14:29:32 -08:00
Matt Bierner
5dc52f0617 Extract getCodeLensLabel 2018-12-12 18:07:37 -08:00
Matt Bierner
c36794253c Update css features engines version
The current version generates a warning in our build
2018-12-12 18:07:37 -08:00
Matt Bierner
54386cc1f4 Fix word pattern
Too much escaping :0
2018-12-12 15:30:49 -08:00
Matt Bierner
66e07e14a4 Fix regexp 2018-12-12 15:18:46 -08:00
Matt Bierner
a637dd7261 Avoid unicode regexp literal
This breaks our minifier step
2018-12-12 13:27:08 -08:00
Alex Ross
6c6cd0aab4 Update grammars 2018-12-12 17:25:07 +01:00
Matt Bierner
314b7d75a3 Use text icon for js text suggestions
Fixes #64777
2018-12-11 16:18:58 -08:00
Matt Bierner
a2078fd559 Strict null auto add 2018-12-11 12:50:45 -08:00
Matt Bierner
100adeb3e9 Use more generic word pattern for markdown
Try to better support handle of unicode in markdown by using a word definition that use unicode character class

Fixes #15177
2018-12-10 18:24:10 -08:00
Matt Bierner
07955472e7 Format 2018-12-10 17:26:45 -08:00
Matt Bierner
7683decdb5 Adding more tests for cached response 2018-12-10 14:12:33 -08:00
Matt Bierner
2b7278c712 Adding better test case for not caching cancelled responses 2018-12-10 14:12:33 -08:00
Matt Bierner
68e0182064 Add test for not caching cancelled response 2018-12-10 14:12:33 -08:00
Matt Bierner
863aee78b6 Adding basic test for cached response 2018-12-10 14:12:33 -08:00
Matt Bierner
aa990b4528 Don't cache cancelled ts server responses
Fixes #64649
2018-12-10 14:12:33 -08:00
João Moreno
0cdd4b1241 Merge pull request #64619 from Microsoft/rmacfarlane/git-apply
Add GitErrorCode to apply command
2018-12-10 10:32:59 +01:00
Matt Bierner
8b4924d755 Build VS Code using TS 3.2
Fixes #64631
2018-12-07 14:25:14 -08:00
Matt Bierner
a4bed89652 💄 2018-12-07 14:25:14 -08:00
Matt Bierner
98f236872e Use undefined instead of null 2018-12-07 14:25:14 -08:00
Matt Bierner
3fc69f20ab Add toOpenedFilePath method
Make sure we don't try making requests against TS for files that are not currently open
2018-12-07 14:25:14 -08:00
Matt Bierner
7140c91245 Never return undefined for cachedResponse.execute 2018-12-07 14:25:14 -08:00
Matt Bierner
98605b6a4e Extract cached response to own file 2018-12-07 14:25:14 -08:00
Rachel Macfarlane
e27511826f Add GitErrorCode to apply command 2018-12-07 10:21:03 -08:00
Matt Bierner
5562872fea Remove workaround for ts infer type suggestions showing up with no quick fix
This should not be needed now that we are shipping TS 3.2.2
2018-12-06 20:09:23 -08:00
Matt Bierner
d2d7fec5df Pick up ts 3.2.2 2018-12-06 18:19:52 -08:00
Matt Bierner
07f6967a68 Cache document symbol navtree requests
Fixes #64570
2018-12-06 16:26:48 -08:00
Joao Moreno
351905fd53 fixes #63957 2018-12-06 09:43:32 +01:00
Matt Bierner
36c4dc33f6 Don't capture first line of @example blocks as js/ts
Fixes #64457
2018-12-05 14:33:46 -08:00
Matt Bierner
6d0d6713cf Better end of line match 2018-12-05 14:31:53 -08:00
Matt Bierner
d7af2b0160 Use more restrictive regular expression for markdown jsdoc content
Fixes #64455
2018-12-05 14:06:05 -08:00
Matt Bierner
ad8d18edf3 Match signature context field name to type name 2018-12-04 17:06:59 -08:00
Matt Bierner
5010af1171 Hide infer type suggestions when using broken versions of ts
Fixes #64395
2018-12-04 16:18:30 -08:00
Matt Bierner
f52f29d65e Add typings for markdown preview messages 2018-12-04 15:54:53 -08:00
Matt Bierner
a2893ce678 Fix markdown fragments when opening file in workspace
Fixes #64141
2018-12-04 15:42:17 -08:00
Matt Bierner
89921928d0 Correctly highlight @example code as js/ts
Fixes #64382
2018-12-04 14:05:48 -08:00
Matt Bierner
f264e8f33b Make sure our temp ts directory really exists
Fixes possible cause of #64132

Some system operations or users may clear out this folder. This should not prevent TS from launching
2018-12-03 16:24:27 -08:00
Matt Bierner
64117e8fb5 Rename TriggerReason -> TriggerKind
Fixes #64216
2018-12-03 13:53:53 -08:00
Alex Ross
8ffc91c042 Merge pull request #64007 from DustinCampbell/update-csharp-grammar
Update C# TextMate grammar with latest fixes
2018-12-03 14:18:15 +01:00