Matt Bierner
24423dd529
Treat jsdoc @example tag body as code
...
Fixes #30062
2017-11-16 18:16:10 -08:00
Matt Bierner
f51db4abfc
Move previewer into utils
2017-11-16 17:46:54 -08:00
Matt Bierner
6f544729dc
Clean up TypeScriptReferenceSupport
...
- Use await
- Use for of
2017-11-16 16:23:29 -08:00
Matt Bierner
63b103c604
Switch a few more TS providers to async
2017-11-16 16:23:29 -08:00
Matt Bierner
f2c538b8b0
Build ts extension to target es2017
2017-11-16 16:23:29 -08:00
Matt Bierner
f3008845ef
Show quick pick when ts returns more than one code action on a suggestion
2017-11-16 13:01:51 -08:00
Joao Moreno
3d71f198ac
Merge branch 'master' into yarn
2017-11-14 21:44:39 +01:00
Matt Bierner
e2cb0ac35e
Fix jsDoc setting resource warning
2017-11-14 10:35:53 -08:00
Joao Moreno
b635672331
remove shrinkwrap references
2017-11-14 10:04:36 +01:00
Joao Moreno
0a8b6fb706
yarn: replace most shrinkwrap files
2017-11-13 23:03:52 +01:00
Matt Bierner
33b26ff4da
Rename codeActionProvider to quickFixProvider
2017-11-10 13:10:16 -08:00
Matt Bierner
006b379de2
Use current selection instead of range for refactoring
...
Fixes #34481
2017-11-10 12:57:23 -08:00
Abinav Seelan
2a8744fa14
Add logging snippets for Javascript & typescript ( #37889 )
2017-11-10 11:19:36 -08:00
Matt Bierner
8e1bf19f3d
Fix refactor description
...
Fixes #38083
2017-11-10 10:35:36 -08:00
Matt Bierner
185f110f2d
Use async for findLanguage
2017-11-10 10:35:36 -08:00
Matt Bierner
4f5491cce4
Mark more fields as readonly
2017-11-10 10:35:36 -08:00
Matt Bierner
0070dd13f7
Don't create duplicate typingsStatus
2017-11-10 10:35:36 -08:00
Matt Bierner
061f60ee25
Mark a few more fields as readonly
2017-11-10 10:35:36 -08:00
Matt Bierner
5f4d9943aa
Use initilizers for some wire protocol constructs
2017-11-10 10:35:36 -08:00
Matt Bierner
dbe39745d3
Add jsx-tags to languaegModeIds
2017-11-10 10:35:36 -08:00
Matt Bierner
a7e5a79561
Use Uri to identify file in Diagnostics manager
2017-11-10 10:35:36 -08:00
Matt Bierner
9da3b7e3c9
Clean up validation update logic
2017-11-10 10:35:36 -08:00
Matt Bierner
4ac962eb86
Move language configurations to own file
2017-11-10 10:35:35 -08:00
Martin Aeschlimann
c722bbffaf
[ts] update grammar
2017-11-10 09:19:56 +01:00
Matt Bierner
be88547c66
Prototyping new CodeAction API ( #36316 )
...
* Add CodeAction Type
Adds skeleton on a new CodeActionType and allows codeActionProvider to return either `Command`s or `CodeAction`s
Move proposed CodeAction API to proposed and try using it in TS
Split CodeAction into quickfix and refactoring classes
Update proposed interface
Update for new API
Adding basic docs
* Support workspace edits and text edits in codeactions
* Remove placeholders
* Resolving conflicts and making PR suggested changes
* Fix quick fix test
* Revert change to only use `CodeAction` instead of `CodeAction | Command` in modes since this will break `vscode.executeCodeActionProvider`
2017-11-08 16:07:34 -08:00
Matt Bierner
4b6df2f839
Encapsulate TS/JS diagnostics in class
2017-11-08 09:45:28 -08:00
Matt Bierner
d319d356bd
Don't register a new TypeScriptWorkspaceSymbolProvider for each mode, only for each language
2017-11-07 16:48:38 -08:00
Matt Bierner
888431fce3
Don't register TS/JS code lens providers twice
2017-11-07 16:43:58 -08:00
Matt Bierner
49e2d76264
Restore having both javascript.goToProjectConfig and typescript.goToProjectConfig
2017-11-07 16:35:04 -08:00
Matt Bierner
5d143998e8
Remove some blank lines
2017-11-07 16:29:51 -08:00
Matt Bierner
1b882bcbaa
Move remaining command to use command classes
2017-11-07 16:29:51 -08:00
Matt Bierner
030658c1d1
Use command manager for refactoring
2017-11-07 16:29:51 -08:00
Matt Bierner
a62ce07e90
use vscode namespace for imports
2017-11-07 16:29:50 -08:00
Matt Bierner
5b7aa97bab
Use command manager for completion item provider
2017-11-07 16:29:50 -08:00
Matt Bierner
9f09525e79
Move code action provider to use new command manager API
2017-11-07 15:42:15 -08:00
Matt Bierner
b08b3d84ba
Use map to hold command registrations
2017-11-07 15:31:29 -08:00
Matt Bierner
dc2d3b1de3
Adding a command helper class to start cleaning up command registration
2017-11-07 15:29:56 -08:00
Matt Bierner
2aa8096972
Use async for openOrCreateConfigFile
2017-11-07 15:11:31 -08:00
Matt Bierner
027e814122
Move interfaces for showInformationMessage into function
2017-11-07 15:08:37 -08:00
Matt Bierner
35f46e131c
Use shared snippets for js and jsx, and ts and tsx
2017-11-07 15:03:26 -08:00
Erich Gamma
b94569fe0d
tslint5 adoption - fix semicolon rule
2017-11-07 12:08:22 +01:00
Matt Bierner
3f9bc10e81
Set strict mode in a few extensions that already have strictNullChecks
2017-11-06 10:32:24 -08:00
Matt Bierner
160a826f5e
Use clear on Callback map
2017-11-06 10:32:23 -08:00
Matt Bierner
9ffd38a130
Remove warn form ITypeScriptServiceClient
2017-11-06 10:32:23 -08:00
Matt Bierner
6a6793e6ec
Remove logTelemetry from ITypeScriptServiceClient from
2017-11-06 10:32:23 -08:00
Matt Bierner
accd6faf60
Rename to use standard casing for TypeScript
2017-11-06 10:32:23 -08:00
Matt Bierner
156a0c9178
Use ITypescriptServiceClient in task provider
2017-11-06 10:32:23 -08:00
Erich Gamma
edc2317ff8
Support to report TS style checks as warnings ( #37616 )
...
* Support to report TS style checks as warnings
* typos
2017-11-06 09:29:07 -08:00
Matt Bierner
d2f1fd4763
Update a few more vars to const in js/ts snippets
...
Fixes #35322
2017-11-03 09:59:13 -07:00
Matt Bierner
0e92f87730
Send includeExternalModuleExports on ts completions request
...
This new flag will make auto import completions opt-in for TS 2.6.2. Adding it for furture proofing
https://github.com/Microsoft/TypeScript/pull/19687
2017-11-02 15:06:41 -07:00