Commit Graph

801 Commits

Author SHA1 Message Date
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
Matt Bierner
117e40f3be Make sure we use resource specific config for TS/JS formatting options 2017-10-27 15:20:47 -07:00
Matt Bierner
e0c0c772c0 Make sure we dispose of formatting config manager 2017-10-27 15:20:47 -07:00
Matt Bierner
afaaee3558 💄 2017-10-27 15:20:47 -07:00
Matt Bierner
dc8557b3ff Fix dot completions not being enable on start ot new line 2017-10-27 15:20:47 -07:00
Matt Bierner
ee3553c59e Get completion config for resource 2017-10-27 15:20:47 -07:00
Matt Bierner
99969120d3 Use async for completion item provider 2017-10-27 15:20:47 -07:00
Matt Bierner
e6a76e4bd3 Move js/ts language mode ids to own file 2017-10-26 18:39:53 -07:00
Matt Bierner
abcdfe2c8c Set checkjs when generating jsconfig if javascript.implicitProjectConfig.checkJS is set
Fixes #37011
2017-10-26 18:11:03 -07:00
Matt Bierner
33aeb8e914 Remove unused functions in ts extension 2017-10-26 17:56:18 -07:00
Matt Bierner
adb7b65684 Move versions status details into class 2017-10-26 17:33:26 -07:00
Matt Bierner
85f06958de More small cleanups in ts extension 2017-10-26 17:29:08 -07:00
Matt Bierner
5702389f4b Add setting to disable experimental decorators in implicit js projects
Fixes #14985
2017-10-26 17:20:35 -07:00
Matt Bierner
26eaf6f2ab Fix compile errors for TS 2.6 2017-10-26 17:02:49 -07:00
Matt Bierner
4ba7427dd9 Remove extra space in definition providers 2017-10-26 17:02:49 -07:00
Matt Bierner
ade3609d02 Clean up definition provider 2017-10-26 17:02:49 -07:00
Max Schmitt
4f055b9abc Fixed typos (#36804)
`to sigmal a function references` => `to signal a function reference`
`Alternative is to...` => `An alternative is to...`
2017-10-24 14:44:43 -07:00
Matt Bierner
83db0069f1 Add some extra logging for TSServer start 2017-10-23 13:14:16 -07:00
Matt Bierner
0a0033b855 Remove duplicate code for applying a code action 2017-10-20 12:07:12 -07:00
Matt Bierner
8798aa5380 Remove unused lines 2017-10-20 11:52:41 -07:00
Matt Bierner
a8fdcc4a6d Auto import dependencies when accepting a global suggestion
Fixes #2635
2017-10-20 11:48:49 -07:00
Matt Bierner
dc44eab703 Prototype TS Codefix commands (#35002)
* Prototype TS Codefix commands

Initial prototype to support commands on JS/TS quick fixes

Part of #34787

* use command for argument name

* Update to use published api
2017-10-20 11:21:06 -07:00
Matt Bierner
82dcf98352 Add support for localizing ts errors (#36451)
* Pick up typescript 2.6.1-insiders.20171019

* Add support for localizing ts errors. Fixes #18634
2017-10-19 19:52:02 -07:00
Matt Bierner
a101ae1817 Change a few more ts providers to use async 2017-10-16 14:45:06 -07:00
Matt Bierner
73635a9cd3 Add option to disable quick suggestions for js/ts paths
Fixes #35877
2017-10-13 15:37:19 -07:00
Matt Bierner
989c40066d Fix commenting of jsx attribute using jsx style comments
Fixes #36175
2017-10-13 14:51:04 -07:00
Matt Bierner
9613018ef0 Update ts grammar 2017-10-13 14:46:12 -07:00
Matt Bierner
3a54e32291 Update TypeScript to use new task API
Fixes #35371
2017-10-13 14:19:51 -07:00
Matt Bierner
ae20b2073a Make sure we rewrite contentName for jsx grammar 2017-10-12 19:25:15 -07:00
Matt Bierner
9ca019f9e8 Update js/ts grammars 2017-10-12 19:25:15 -07:00
Martin Aeschlimann
cf70385df5 Folding regions broken 2017-10-12 16:55:15 +02:00
Matt Bierner
c098b394b0 Use single setting to control autodetect of tasks
#35067
2017-10-11 18:45:31 -07:00
Matt Bierner
a60a551582 add new typescript.tsc.autoDetectType to enable either detection of build or watch tasks
Fixes #35067
2017-10-11 18:30:49 -07:00
Martin Aeschlimann
1fb361861f [folding] add work boundries to folding markers 2017-10-11 17:28:10 +02:00
Matt Bierner
00dbc4541c Autoshow intellisense for import with no side effects
Fixes #35691
2017-10-10 18:05:14 -07:00
Matt Bierner
63ecf01397 Use unique grammar and scope for JavaScript react to avoid conflicts when overriding plain old javascript grammar
Fixes #35532
2017-10-10 15:02:32 -07:00
Matt Bierner
0bd33bbd96 Use strict versions for @types. Fixes #35561 2017-10-09 11:21:00 -07:00
Matt Bierner
d06bf76099 Update js/ts grammar
Fixes #35768
Fixes #35639
2017-10-09 08:46:43 -07:00
Matt Bierner
1bfad134b0 Set NODE_PATH when forking TS server
The ensures that we can resolve require('typescript') inside of plugins correctly
2017-09-29 13:49:09 -07:00
Matt Bierner
34cb8ff33c Disable auto complete on quotes since this now gets in the way for path quick suggestions 2017-09-27 13:50:46 -07:00
Alex Dima
e95122f45e No need to inline license details, as they can be fetched from the repo 2017-09-27 12:08:55 +02:00
Alex Dima
aa9952edb7 Fix after PR #34486 and run OSS tool 2017-09-27 11:54:14 +02:00