Commit Graph

621 Commits

Author SHA1 Message Date
Matt Bierner
f37c1346b4 Use map for buffer sync support pending responses 2017-06-14 17:06:49 -07:00
Matt Bierner
732824c354 Fixing TSServer Restart Happening Twice
Fixes #27817

**Bug**
When triggering a manual TSServer restart, we currently start a new instance than immediatly kill it and start another new instance of the service. This is caused by the current handler for proces crashes not knowing that it should not restart the service for manual restarts.

**Fix**
Make sure kill doesn't automatically try to start up another instance of the TS Server when we manually restart the server
2017-06-13 15:48:32 -07:00
Matt Bierner
bbcd10ae1a Use async in TS documentSymbolProvider 2017-06-12 17:28:53 -07:00
Matt Bierner
8959af8580 Use real map for languagePerId 2017-06-12 17:16:55 -07:00
Matt Bierner
d52e588111 Fix reloading TSServer not updating diagnostics
Fixes #25412
2017-06-12 17:12:51 -07:00
Matt Bierner
01fa0b83e9 Fixing cancellation errors for TS. Fixes #28501 2017-06-12 15:27:53 -07:00
Matt Bierner
d173d8ecc1 Add insertSpaceAfterConstructor Formatting Option for TS and JS
Fixes #28206
2017-06-07 14:49:29 -07:00
Matt Bierner
a757842135 Simplify logging of TS request errors
Fixes #28095

Removes the manual error logging on client requests in favor of doing this automatically in the service client. Also fixes logging of canellation errors
2017-06-07 14:31:25 -07:00
Matt Bierner
a5c9a7c58c Open config file when configure excludes status bar item is clicked. Fixes #21215 2017-06-06 17:53:16 -07:00
Matt Bierner
7968d90989 Extract dispatch blocks to own functions 2017-06-06 17:53:16 -07:00
Matt Bierner
94cf0f8e78 Use map for syncedBuffers 2017-06-06 17:53:16 -07:00
Matt Bierner
d808a55641 Remove buildstatus 2017-06-06 17:53:15 -07:00
Matt Bierner
fbb786088e Remove experimental autobuild 2017-06-06 17:53:15 -07:00
Matt Bierner
42ede266aa Extracting callbackmap to own class 2017-06-05 16:32:16 -07:00
Matt Bierner
70e52f1860 Extract basic request queue to class 2017-06-05 16:14:25 -07:00
Matt Bierner
f5b5966c94 Mark a few more fields as readonly 2017-06-05 16:14:25 -07:00
Matt Bierner
51b55e8021 Stringify Telemetry Fields in the TSExtension
Fixes #28065
2017-06-05 15:04:38 -07:00
Matt Bierner
ab1e78ef1f Update js/ts grammar (#27957) 2017-06-05 10:05:50 -07:00
Matt Bierner
c353e6e9b0 Fix configure ts/jsconfig.json inserting duplicate snippet for unsaved file. Fixes #27793 2017-06-02 14:53:10 -07:00
Matt Bierner
6a01ff4870 Remove old tscheck migration logic 2017-06-02 14:30:54 -07:00
Matt Bierner
fdbdf32717 Extract typescript service configuration to a class 2017-06-02 14:04:34 -07:00
Matt Bierner
c4081f0d07 Continue tweaking tsc mismatch message 2017-06-02 13:15:04 -07:00
Matt Bierner
2f0ad0af90 Cleaning up messag for tsc mismatch warning as part of #27826 2017-06-01 16:27:00 -07:00
Matt Bierner
148a23aef5 Explicitly specify that typescrip.tnpm should point to the executable 2017-06-01 15:16:03 -07:00
Matt Bierner
06fd9024ac Add info about typescript.npm to warning message Fixes #27707 2017-05-31 15:38:22 -07:00
Greg Van Liew
eb097f89a6 ATA is Automatic Type Acquisition (#27760) 2017-05-31 13:38:40 -07:00
Christof Marti
aa921aa291 Check for special URLs (fixes #27603) (#27781) 2017-05-31 13:38:23 -07:00
Dirk Baeumer
171e5c204f Fixes #27730: Deprecation warnings in our package.json 2017-05-31 16:42:13 +02:00
Dirk Baeumer
e98c09c842 Fixes #27738: Defer switching to Tasks 2.0.0 as the default 2017-05-31 16:21:35 +02:00
Matt Bierner
e424344c89 Fixes #27420 2017-05-30 23:37:06 -07:00
Matt Bierner
f0cb8bf271 Remove bit about path from npm warning since it may be confusing. Will update documentation 2017-05-30 16:55:03 -07:00
Matt Bierner
88073e8288 Correctly mark typescript.npm as isExecutable 2017-05-30 16:51:15 -07:00
Matt Bierner
91c7fbe242 Add npm location setting
For #24961

Picks up https://github.com/Microsoft/TypeScript/pull/16084/files

Allows users to manually set the npm install location
2017-05-30 16:37:02 -07:00
Dirk Baeumer
bf5bb9de5c Implements #27087: Simplify task activation events 2017-05-29 14:50:16 +02:00
Dirk Baeumer
e58c2abb97 Implements #27399: Separate the task provider name from the task name in the task API 2017-05-29 14:44:31 +02:00
Matt Bierner
c9a2a5be88 Allow tsc tasks to be disabled using settings. Fixes #27312 2017-05-26 14:24:24 -07:00
Matt Bierner
5a83b55b70 Fix a few potential issues for tsc task provider 2017-05-26 14:24:24 -07:00
Matt Bierner
770206ab9c Pickup all TSConfigs in Workspace for TSC Build Task (#27306)
Follow up on #26079

Allows us to pick up all tsconfig files in a workspace for the build tasks
2017-05-25 21:23:47 -07:00
Matt Bierner
fe69f9ac3b Actually save the file this time :'( 2017-05-25 15:30:19 -07:00
Matt Bierner
4ce3a1e6ac Move VersionStatus into a class 2017-05-25 15:26:35 -07:00
Matt Bierner
6d00bd977b Add TSC Task Provider (#27093)
* extract standardLanguageDescriptions to constant

* Remove client variable

* Move VersionStatus into a class

* Add TSC Task Provider

Fixes #26079

Adds a task provider for building typescript projects.

* Make ts loading lazy
2017-05-25 15:18:05 -07:00
Martin Aeschlimann
6f274872ac Add information_for_contributors to grammars 2017-05-25 12:27:38 +02:00
Martin Aeschlimann
da45ae9945 [typescript] update grammar 2017-05-25 12:27:38 +02:00
Martin Aeschlimann
3cdc7b7472 update all grammars script 2017-05-25 12:27:37 +02:00
Benjamin Pasero
1d0b00c60e linting: convert double quote imports to single quote 2017-05-25 09:53:23 +02:00
Matt Bierner
d167cf370f Add restart TSServer command. Fixes #22335 2017-05-24 15:07:43 -07:00
Matt Bierner
50cc0f9067 use alwaysStrict in TS extension 2017-05-24 15:03:50 -07:00
Matt Bierner
d1b366fe33 Fix ts/js code lens for trailing special character. Fixes #27211 2017-05-24 13:39:44 -07:00
Matt Bierner
066db6b85f Fix potential hang when canceling ts requests using pipe. Part of #24698 2017-05-23 15:41:21 -07:00
Matt Bierner
89369d18e6 Fix package.json lookup 2017-05-22 16:11:39 -07:00