Commit Graph

842 Commits

Author SHA1 Message Date
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
Matt Bierner
b2b952d1d2 Modernize js/ts snippets
Fixes #35322

Also make sures js and jsx / ts and tsx snippets are aligned again
2017-11-02 12:56:34 -07:00
Matt Bierner
d1672de323 Fixes #35691 2017-11-02 12:56:34 -07:00
Matt Bierner
a661405135 Indicate path of auto import in completion item 2017-11-01 15:34:22 -07:00
Matt Bierner
5b1da97f0f Handle projectInfo failures better 2017-11-01 15:34:22 -07:00
Matt Bierner
4344169b3f Revert workaround for duplicate install missing types actions 2017-10-31 15:05:41 -07:00
Matt Bierner
bb7cf7681b Support source on JS/TS import completions 2017-10-31 13:31:49 -07:00
Matt Bierner
5664c0f169 Fixes #37293 2017-10-31 12:02:56 -07:00
Matt Bierner
02ea5338ee Make sure we use a lowercase module type in generated jsconfig
Fixes #37322
2017-10-31 11:15:22 -07:00
Matt Bierner
ebe55bfae3 Fix cycle in ts telemtry reporter 2017-10-30 17:02:26 -07:00
Arthur Ozga
85e479f1a5 add tsserver version property to every event (#37066)
* get and report version from tsserver

* reset version on tsserver exit

* fixup

* use client-verison interface
2017-10-30 16:18:16 -07:00
Matt Bierner
4df19acd78 Rename to make intended diagnostic ordering more clear 2017-10-30 15:03:43 -07:00
Matt Bierner
6740f0a2b8 Fix js syntax diagnostics possibly getting out of sync when no semantic diagnostics are sent 2017-10-30 14:37:31 -07:00
Matt Bierner
7ac7a31007 Add setting to disable auto import suggestions 2017-10-27 17:15:36 -07:00
Matt Bierner
b614647d41 Use async for openTsServerLogFile 2017-10-27 16:37:01 -07:00
Matt Bierner
38dd5cae04 Remove extra error logging for compilerOptionsForInferredProjects 2017-10-27 16:37:01 -07:00
Matt Bierner
7895b18115 Extract getCompilerOptions to own method 2017-10-27 16:37:01 -07:00
Matt Bierner
43acb7d3f8 💄 2017-10-27 16:37:01 -07:00
Matt Bierner
39c64727fe Convert dispatchEvent to switch 2017-10-27 16:37:01 -07:00
Matt Bierner
4e5a574a4f Extract getTsServerArgs 2017-10-27 16:37:01 -07:00
Matt Bierner
b06450e156 Remove mainWorkspaceRootPath 2017-10-27 16:37:01 -07:00
Matt Bierner
4d684085ff Set "module": "CommonJS" for default jsconfig
This is the default module config for our implicit projects.
2017-10-27 15:40:56 -07:00
Matt Bierner
07c6d4cf16 Ensure we use the proper formatting settings for js/ts 2017-10-27 15:20:48 -07:00
Matt Bierner
599fdbd67e Move format / validate enable to window settings
There is currently not clean way to register these provides on a resource specific level so they must live in the window settings
2017-10-27 15:20:47 -07:00
Matt Bierner
5dc09c24c0 Fix jsdoc completion provider registration 2017-10-27 15:20:47 -07:00
Matt Bierner
be18049d0a Move tsc autodetect to window scope 2017-10-27 15:20:47 -07:00
Matt Bierner
031304cc81 Use resource setting for jsdoc completions config 2017-10-27 15:20:47 -07:00
Matt Bierner
93c737831c Use window scope for implicit project config 2017-10-27 15:20:47 -07:00