Commit Graph

588 Commits

Author SHA1 Message Date
Matt Bierner
031304cc81 Use resource setting for jsdoc completions 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
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
3a54e32291 Update TypeScript to use new task API
Fixes #35371
2017-10-13 14:19:51 -07: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
Matt Bierner
00dbc4541c Autoshow intellisense for import with no side effects
Fixes #35691
2017-10-10 18:05:14 -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
Matt Bierner
60470a533b Relax check on TS path completion trigger 2017-09-26 13:24:37 -07:00
kieferrm
08d8f0f9f6 indentation changes 2017-09-25 18:36:43 -07:00
kieferrm
9d5589dbf4 update GDPR todos 2017-09-25 18:36:43 -07:00
kieferrm
fbb3e25987 omit endPoint where it defaults to none 2017-09-25 18:36:43 -07:00
kieferrm
4ef3ba3972 classification for TS extension 2017-09-25 18:36:43 -07:00
Matt Bierner
754738ca4b Special case TS dev version detection
Allow pointing to a TS local build without setting `tsdk_version`

Fixes #33977
2017-09-25 15:32:24 -07:00
Arthur Ozga
c8f5358f36 report tsserver response error as telemetry (#34860) 2017-09-25 13:33:35 -07:00
Matt Bierner
cb7e0bffd0 Prototype TSC watch task contribution (#33865)
* Prototype TSC watch task contribution

* Update to make use of optional properties in task definitions
2017-09-22 15:32:00 -07:00
Matt Bierner
65b9a0de2d Autoshow suggestions for jsdoc param
Fixes #34853
2017-09-22 13:55:56 -07:00
Matt Bierner
2cae7c9da0 Use async in refactor provider 2017-09-22 11:14:44 -07:00
Matt Bierner
16dcd4dd2c Also trigger completion items for require and import expressions 2017-09-21 21:15:01 -07:00
Matt Bierner
5ec101edad Trigger intellisense on / in ts paths 2017-09-21 17:10:57 -07:00
Matt Bierner
606ab06533 Auto show path intellisense when typing ' or " in import statement
Fixes #23962
2017-09-21 17:03:53 -07:00
Matt Bierner
0e4e0d8f81 Make sure we send format requests before code actions / refactor 2017-09-21 15:50:26 -07:00
Matt Bierner
84605ab7a9 Rename to FormattingConfigurationManager 2017-09-21 15:50:26 -07:00
Matt Bierner
e94a569f7c Move ts and js config manager into same object 2017-09-21 15:50:26 -07:00
Matt Bierner
163f51db8d Don't export config from formatting config manager 2017-09-21 15:50:26 -07:00
Matt Bierner
1646463dd2 Split formatting config manager to own file 2017-09-21 15:50:26 -07:00
Matt Bierner
5bb143137c Move formatting options manager to own class 2017-09-21 15:50:26 -07:00
Matt Bierner
0f611dbe05 Cleaning up formatting provider to use async 2017-09-21 15:50:26 -07:00