Commit Graph

663 Commits

Author SHA1 Message Date
Matt Bierner
5f5e17bc91 Tsconfig provider handle workspace folder changes 2017-07-21 15:54:02 -07:00
rebornix
ed20f81b22 Fix #29972. We should not adjust indent on comments. 2017-07-20 21:17:04 -07:00
Matt Bierner
a48dd08f78 First cut supporting tsconfig task provider for multiroot workspaces
part of #30415
2017-07-20 18:30:11 -07:00
Matt Bierner
2153a47d22 Move formatting provider registration logic into a manager that enables or disables based on config 2017-07-20 17:37:29 -07:00
Matt Bierner
28f5fda049 Don't register language configuration for TS plugin languages 2017-07-20 17:12:27 -07:00
Matt Bierner
fe59149dc0 Move jsx tags mode language config out of language provider 2017-07-20 17:12:27 -07:00
Matt Bierner
733e208be4 Add support for workspace relative tsdk settings 2017-07-20 17:12:27 -07:00
Matt Bierner
0cd033daff Re-enable TS refactoring provider 2017-07-20 17:12:27 -07:00
Matt Bierner
58e7b4045e Show path labels for TS version picker in multiroot cases 2017-07-20 17:12:27 -07:00
Matt Bierner
ca8da0c0a6 Remove check.tscVersion setting 2017-07-19 13:55:21 -07:00
Matt Bierner
8f3197dbc0 Fix potential null reference in directive provide 2017-07-17 10:04:16 -07:00
Matt Bierner
ed327d3640 First cut of watch for tsconfig task
Fixes #29580

Use `compileOnSave` in the `tsconfig.json` to run `tsc` task 2.0 task in watch mode
2017-07-14 17:06:11 -07:00
Matt Bierner
b83d2ea286 Prep task provider for muiltiroot 2017-07-14 17:06:11 -07:00
lslv1243
b4c281cedd fixed typo (#30653) 2017-07-14 13:26:01 -07:00
Johannes Rieken
0df555f5f4 have an explicit WorkspaceFolder with some extra bits and pieces, #28526 2017-07-13 16:22:19 +02:00
Matt Bierner
62975361cb Disable TS refactorings
Investigating #30449, it seems that typescript refactoring can take a long time to compute in some projects. Disabling these in insiders. We'll disable them in 1.14 is this is found to help
2017-07-12 15:56:14 -07:00
Matt Bierner
9ad4bcd66f Update TS grammar 2017-07-12 14:26:42 -07:00
Matt Bierner
0bf8b3c8f7 Force kill tsserver on ts extension shutdown 2017-07-12 11:30:43 -07:00
Matt Bierner
4080a38ada Remove use of module path 2017-07-11 22:37:05 -07:00
Matt Bierner
63be84eba4 Move API to own file
Refactor TS Version detection and version picker for multiroot support

Extracts the ts version detector and the TS version picker to their own files and cleans up their interfaces. This is the initial work to support a multiroot ts version picker
2017-07-11 22:25:27 -07:00
Matt Bierner
883ed445c8 Remove the checkTSC warning
The purpose of the checktsc warning has never been very clear and has caused quite a bit of confusion. I'd like to try removing it this iteration to see if many users run into TypeScript mismatch errors
2017-07-11 15:11:03 -07:00
Matt Bierner
3c432b4044 💄 2017-07-11 15:11:03 -07:00
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