Matt Bierner
533c6deb79
Move cancellation files to own dir
...
Fixes #53423
2018-07-18 14:28:55 -07:00
Matt Bierner
b9bc23bb58
Only exec server call in try catch
2018-07-18 14:28:54 -07:00
Matt Bierner
3331d725e5
Use toFileLocationRequestArgs
2018-07-18 14:28:54 -07:00
Matt Bierner
708b16a96c
Remove unused property
2018-07-18 14:28:54 -07:00
Matt Bierner
6c2818d42e
Clean up provideDocumentSymbols
...
- Returned undefined instead of empty array
- Only execute server call in try catch
2018-07-18 14:28:54 -07:00
Matt Bierner
4c003dbbc1
Remove old navtree call
...
This API has been replaced with navbar. The code related to navbar is not being tested and a very small number of users are using < 2.1 in their workspaces
2018-07-18 14:28:54 -07:00
Matt Bierner
966bec8650
Reducing scope of try catch to just exec
...
We want to be alerted if an exception is thrown outside of execute
2018-07-18 14:28:54 -07:00
Matt Bierner
b6e9dc253b
Fix visual match for string types
...
Fixes #53962
2018-07-16 16:46:08 -07:00
Matt Bierner
2e8414c707
Pull in third party notices from typescript
...
Fixes #54103
2018-07-16 14:21:33 -07:00
Matt Bierner
f5c36f4bb8
Add telemetry on organize imports
...
This is needed to understand if users are running this action and how we can improve discoverablity
2018-07-16 13:00:46 -07:00
Matt Bierner
cbcafcc284
Don't enable commit characters when isNewIdentifierLocation is true
...
Fixes #54386
2018-07-16 13:00:46 -07:00
Greg Van Liew
c150d0d42d
Edit pass on new built-in extension comments ( #54277 )
2018-07-13 15:28:27 -07:00
Matt Bierner
eaa535ff3e
Use properties for commitCharacters
2018-07-13 11:42:58 -07:00
Matt Bierner
b179deefe5
Only use isNewIdentifierLocation to disable commit characers instead of all suggestions
...
Fixes #54267
2018-07-13 09:17:14 -07:00
Matt Bierner
b64ff63750
Remove extra await
2018-07-13 09:17:14 -07:00
Ramya Achutha Rao
a32654c5f1
Link to docs in the website from builtin extension readme #54098
2018-07-12 18:16:01 -07:00
Matt Bierner
ba9c869b6a
Organize all imports in ts extension
2018-07-12 16:32:18 -07:00
Matt Bierner
0986ab3633
Move resource map to utils
2018-07-12 16:30:34 -07:00
Matt Bierner
dc08cbdfa9
Also support regular json files for tsconfig document links
2018-07-12 16:25:14 -07:00
Matt Bierner
cb9ad4f8be
Add link provider for jsconfig and tsconfig files
...
Fixes #16905
Fixes #54215
2018-07-12 16:11:30 -07:00
Matt Bierner
4dc63b5061
Fix duplicate config requests sometimes being sent to TS
...
Fixes #54088
2018-07-12 16:11:30 -07:00
Matt Bierner
659d646e55
Use destructuring
2018-07-12 16:11:30 -07:00
Matt Bierner
23d9f2cea6
Don't create empty arrays to signal no return types
2018-07-12 16:11:30 -07:00
Matt Bierner
a7fb144e95
Use Typescript's CompletionInfo.isNewIdentifierLocation
...
Fixes #52499
2018-07-11 14:30:21 -07:00
Matt Bierner
e1d50f119d
Move execute into geterror class
2018-07-11 14:19:34 -07:00
Matt Bierner
f3af5502e7
Convert GetErrRequest to class
2018-07-11 14:19:34 -07:00
Matt Bierner
46db7d9d3b
tagCompletion -> tagClosing
2018-07-11 14:19:34 -07:00
Matt Bierner
bd3beec042
Extract getInsertionPositions
2018-07-11 14:19:34 -07:00
Matt Bierner
6c99578088
Hook up CancellationToken
2018-07-11 14:19:34 -07:00
Matt Bierner
97734e3a39
Reduce nested statements
2018-07-11 14:19:34 -07:00
Matt Bierner
2e8e41c06d
Prefix private members with _
2018-07-11 14:19:34 -07:00
Matt Bierner
1dcb248d30
Clear auto closing tag timeout
...
This should already be effectively canceled but no reason to fire it
2018-07-11 14:19:33 -07:00
Matt Bierner
860138b2b2
Remove normalizePath from BufferSyncSupport
2018-07-10 17:13:55 -07:00
Matt Bierner
f5e7c01028
Use resource map for pending diagnostics
2018-07-10 17:13:55 -07:00
Matt Bierner
84100f37c6
Request diagnostics on synced buffer
2018-07-10 17:13:55 -07:00
Matt Bierner
2adafad5ae
Extract duplicated triggerDiagnostics code to function
2018-07-10 17:13:55 -07:00
Matt Bierner
5a6e122a58
Extract PendingDiagnostics to own class
2018-07-10 17:13:55 -07:00
Matt Bierner
bc627a5a83
Remove duplicate code for creating FormattingRequestArgs
2018-07-10 17:13:55 -07:00
Matt Bierner
585c650411
Remove cyle around requestDiagnostic
2018-07-10 17:13:54 -07:00
Matt Bierner
d68d22f961
Pass in method directly instead of lambda for some events
2018-07-10 15:03:52 -07:00
Matt Bierner
0178fc2824
Make sure we clean up config change registration
2018-07-10 15:03:52 -07:00
Matt Bierner
cbbb21c765
Don't try closing for cases like <div>> when user has just typed last >
2018-07-10 15:03:51 -07:00
Matt Bierner
5f8b9ab083
Remove active editor listener
2018-07-10 15:03:51 -07:00
Matt Bierner
473d8887b2
Reuse isTypeScriptDocument
2018-07-10 15:03:51 -07:00
Matt Bierner
a92506639f
Don't make extra findFiles call on TS 3.0
...
WIth TS 3.0, we don't need to pass a js or ts file for the project
2018-07-10 15:03:51 -07:00
Matt Bierner
931ec139f1
Don't check nav tree for directory rename
...
Fixes https://github.com/Microsoft/TypeScript/issues/25466
2018-07-10 11:40:28 -07:00
Matt Bierner
63c7c90ba5
Gate workaround for #52967 to TS 2.9
2018-07-10 11:40:28 -07:00
Geoffrey
2ea84289f0
Permit to update path when export(s) keyword in file ( #53964 )
2018-07-10 11:16:55 -07:00
Matt Bierner
adfa9ce977
Add initial support for auto close jsx tags
...
Fixes #34307
2018-07-09 19:00:10 -07:00
Matt Bierner
dc137ce28f
Move isTypeScriptDocument to languageModes
2018-07-09 19:00:10 -07:00