Commit Graph

641 Commits

Author SHA1 Message Date
Matt Bierner ac8f47b193 Use most broad root for typescript project root in multiroot. Fixes #30163 2017-07-05 18:13:08 -07:00
Matt Bierner 2a1d11ed06 Disable open trigger file in configFileEvent
Workaround for #28593

**Bug**
TypeScript Server is hanging onto a file in `node_modules/.staging`, causing npm installs to fail. I believe the root cause is that 0d5c9f4 changed vscode logic to always open the `triggerFile` in config diagnostic events.  In this case, TS sends us a trigger file from `.staging` which we then tell the TS Server to open

**Fix**
Disable checking the trigger file
2017-07-05 15:06:48 -07:00
Matt Bierner 222ed5b220 Reset JavaScript expression coloring in template expressions (#29966)
* Reset JavaScript expression coloring in template expressions

Fixes #29866

Adds new rules to standard theme to reset the coloring of expression inside of js/ts template expressions

* update tests
2017-06-30 16:11:48 -07:00
kieferrm 3f8bd163f4 update dependency on vscode-extension-telemetry 2017-06-30 09:57:37 -07:00
Matt Bierner 7910b3d7ba Fix js/ts decrease indentation for block comments inside brackets
fixes #29886
2017-06-29 15:45:10 -07:00
Dirk Baeumer 0e39ec5af5 Fixes #29835: Move Task API from proposed to final. 2017-06-29 11:03:33 +02:00
Matt Bierner 19decf745e Add insertSpaceAfterTypeAssertion formatting option
Fixes #10296
2017-06-28 05:06:53 -05:00
Dirk Baeumer 19f310a027 Fixes #29427 & #29617 2017-06-27 21:38:56 +02:00
rebornix e81bc86629 Fix https://github.com/Microsoft/vscode/issues/29472#issuecomment-311125846 . Fix TS decreaseIndentPattern bug. 2017-06-26 11:31:17 -07:00
Dirk Baeumer cf594ad817 Make tthe source attribute mandantory for tasks defined in extensions 2017-06-25 22:44:46 +02:00
Dirk Baeumer 4d645781c8 Fixes #29332: Improve workflow to assign a problem matcher to a build task. 2017-06-23 17:04:49 +02:00
Dirk Baeumer 22fa494aee Incooperate API feedback 2017-06-23 10:25:45 +02:00
Dirk Baeumer 2ef8e48de4 Implemented latest feedback from #28235 2017-06-23 10:25:44 +02:00
Matt Bierner 8d6645c242 Initial work on making ts extension multiroot aware 2017-06-21 13:43:45 -07:00
Joao Moreno 5667cc0e69 use vsce to determine what to package when bundling extensions
fixes #29054
2017-06-21 16:17:21 +02:00
Matt Bierner 5767e38cea Treat single line breaks as spaces in jsdocs. Fixes #28971 2017-06-20 17:28:48 -07:00
Matt Bierner 6fa9edcf71 Update js/ts grammar 2017-06-20 13:51:31 -07:00
Matt Bierner 0423761713 Show warning message for configure excludes before opening config file. Fixes #28659 2017-06-19 11:14:59 -07:00
Matt Bierner 1564137b95 Prototype TS/JS Refactoring Provider (#27166)
* Prototype TS/JS Refactoring Provider

Fixes #25739, from https://github.com/Microsoft/TypeScript/pull/15569

Prototype of refactoring support for ts 2.4

* Adding error reporting

* Updating for new API

* show quick pick for non-inlinable refactrings
2017-06-16 13:13:55 -07:00
rebornix 19ae0932c4 AutoIndent: Enrich TypeScript and HTML rules. 2017-06-16 12:58:42 -07:00
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