Commit Graph

6544 Commits

Author SHA1 Message Date
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
Alex Ross
bc916bb6af Added commit hash to cgmanifest.json 2018-12-03 11:29:00 +01:00
Alex Ross
92894195d0 Merge pull request #63759 from donaldpipowitch/patch-1
added .hintrc and moved .babelrc to jsonc grammar
2018-12-03 11:04:47 +01:00
Matt Bierner
e42d74ce9a Fix completions for intellicode
IntelliCode uses `insertText`  on all of its suggestions. When completing properties, we were incorrectly assuming that only bracket suggestions would use `insertText`
2018-12-02 11:53:15 -08:00
Matt Bierner
e39a97deb7 Fix snippet function call completions for intellicode 2018-12-02 11:53:15 -08:00
Erich Gamma
cee0951b13 Enable Collapse All action in the npm script explorer 2018-11-30 10:25:41 +01:00
laphets
2e339afec3 Fix last merge conflict warnings 2018-11-30 09:16:19 +01:00
Matt Bierner
9878edb2a7 Pick up TS 3.2.1 final
Fixes #63179
2018-11-29 17:09:48 -08:00
Matt Bierner
a3378e4342 Add pinning test for bracket completions 2018-11-29 17:09:48 -08:00
Matt Bierner
c5afb50a5b Added test for #63100 2018-11-29 17:09:48 -08:00
Matt Bierner
06a64b097f Extract joinLines 2018-11-29 17:09:48 -08:00
Matt Bierner
beb5998ea3 Correctly sort bracket accessor completions in js/ts completion list
Fixes #63100

As suggested in  #63100, always set the range for member completions and overwrite the dot
2018-11-29 15:09:44 -08:00
Matt Bierner
e42051996b Don't trigger parameter hints when completing empty method
Fixes #64023
2018-11-29 12:03:36 -08:00