Commit Graph

449 Commits

Author SHA1 Message Date
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
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
06fd9024ac Add info about typescript.npm to warning message Fixes #27707 2017-05-31 15:38:22 -07:00
Christof Marti
aa921aa291 Check for special URLs (fixes #27603) (#27781) 2017-05-31 13:38:23 -07: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
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
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
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
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
Matt Bierner
b73e961439 Split tracer out into own file 2017-05-18 22:04:33 -07:00
Matt Bierner
cdaa5f28ef Record when tsserver exits with code or errors 2017-05-18 21:35:15 -07:00
Matt Bierner
b8b81b73b4 add tsserver.debug option 2017-05-18 17:34:58 -07:00
Matt Bierner
6d8e64ee3f Add error handler for reader 2017-05-18 17:34:58 -07:00
Matt Bierner
288968f803 Fix duplicate code ids names being uploaded to ts 2017-05-18 17:34:58 -07:00
Matt Bierner
7c2d2c37eb Mark a few members readonly 2017-05-18 17:34:58 -07:00
Matt Bierner
7d2739bfe4 Remove some unused functions in reader 2017-05-18 17:34:58 -07:00
Matt Bierner
89f1f02286 Use correct reporter instance 2017-05-18 15:20:13 -07:00
Matt Bierner
8dd07034c0 Split reporter out into own file 2017-05-18 15:17:42 -07:00
Matt Bierner
4514ddd180 Add option to exclude unique names from suggestion lists in JS files
Fixes #26595

**Problem**
TS includes all unique names in a file in the completion list for JavaScript files. This is often desirable, but may result in unexpected completions

**Fix**
Add a new option `javascript.nameSuggestions` to filter these suggestions out.
2017-05-16 18:35:07 -07:00
Matt Bierner
17004573e3 Always Show File Names in Symbol Search Results (#26518)
* Fixes #26370

Updates the symbol search results to always display the filename. This feature was previously added to the TS extension specifically, so this change removes that work in favor of a change to the core symbol search experience

* Use dash with filename
2017-05-16 17:00:43 -07:00
Matt Bierner
604248eebd Remove unused Writer type 2017-05-16 13:54:01 -07:00