Commit Graph

483 Commits

Author SHA1 Message Date
Matt Bierner
cd896ba18e Disable implementations code lens for TS < 2.2.1 Fixes #23120 2017-03-23 15:07:40 -07:00
Johannes Rieken
4cb14c4af1 use CompletionItemKind.Constant in TS provider, #2628 2017-03-23 11:57:45 +01:00
Matt Bierner
ac5eb01a3c Add warning message when tsserver log fails to open 2017-03-22 17:18:10 -07:00
Matt Bierner
f70f643809 Add reloading when log level changes. Fixes #23061 2017-03-22 17:12:29 -07:00
Matt Bierner
4c3cdfbb5b Fix one more ts cancelation token gating issue 2017-03-22 17:03:48 -07:00
Matt Bierner
301d64ef82 Gate cancelation token to ts 2.2.2 since support for this feature is broken in 2.2.1. Fixes #22996 2017-03-22 12:52:14 -07:00
Matt Bierner
d4cda6e357 Follow up on #22914. Log TS Server in own directory so that typings install events are also place in dir with it. #22915 2017-03-20 17:55:30 -07:00
Matt Bierner
23aba8283a Add TSServer Log Collection Commands (#22914)
* Add TSServer Log Options

Adds support for collecting the TSServer log directly in VS Code

* Add enable logging option

* Handle case where user is on older version of TS

* Rename

* Activate on openTSServerLog command

* VSCode -> VS Code
2017-03-20 17:16:01 -07:00
Matt Bierner
8c468dfd21 Prototype Support for TSServer Request Cancelation (#22437) 2017-03-20 12:03:51 -07:00
Dirk Baeumer
d3efc931f7 Fixes #22730: Contributed problem matchers must use ${cwd} not $cwd 2017-03-16 10:47:11 +01:00
Dirk Baeumer
f51220dbf7 Fixes #22066: Allow extensions to contribute named problem matchers via package.json 2017-03-14 12:07:15 +01:00
Matt Bierner
01091bb083 Remove unused TS extension constants 2017-03-09 22:51:42 -08:00
Matt Bierner
1542eb7848 Add timeout for jsdoc completion 2017-03-09 20:25:42 -08:00
Anand Dyavanapalli
8948a2055c TypeScript should use double quotes for string. (#22255)
From style guide: https://github.com/Microsoft/TypeScript/wiki/Coding-guidelines
2017-03-08 15:20:24 -08:00
Matt Bierner
ee07532963 Fix formatting options possibly not being provided for TS quick fix 2017-03-07 18:03:04 -08:00
Matt Bierner
379da6bc8d Don't remove TS version info when clicking in the debug or output panel fixes #16478 2017-03-06 16:45:17 -08:00
Matt Bierner
4d63ffc48a Fix ts warning order 2017-03-06 13:44:42 -08:00
Matt Bierner
db35205c7c Fixing a few cases for missing tsserver 2017-03-03 15:44:45 -08:00
Matt Bierner
d1d30da52b Only show implementations code lens on top level interface 2017-03-03 14:06:41 -08:00
Matt Bierner
6f8ea44ca2 Show Reinstall VSCode Error Message when our Bundled tsserver.js is Missing (#21690)
* Add resintall message when bundled tsserver.js is missing. Fixes #21689

* Use common wording for error

* Update warning message
2017-03-03 12:48:31 -08:00
Mackenzie McClane
5e10fe283f Add typescript and javascript format.insertSpaceBeforeFunctionParenthesis (#21712)
* Update tsfmt.json

* Update formattingProvider.ts

* Update package.nls.json

* Update package.json

* Update package.json

* Add TS version requirement to description
2017-03-02 12:49:22 -08:00
Matt Bierner
434def671b Use common TS install for both the TS Extension and Html Extension (#21578)
* Use common TS install for both the TS Extension and Html Extension

**Bug**
At least two version of Typescript are shipped in our extensions: one in the typescript extension and one for the html extension. This adds about 5MB to package install size and also results in inconsistent behavior

**Fix**
Change the TypeScript extension to also use the common version of TypeScript. Bump this version up to 2.2.1

* Don't hardcode paths for typescript
2017-03-01 18:34:04 -08:00
Matt Bierner
72ab40c536 Only show ts version for ts files Fixes #21219 2017-02-28 18:21:59 -08:00
Matt Bierner
5547384745 Show references on enum values 2017-02-28 17:16:08 -08:00
Matt Bierner
223ea4bbc0 Prototype of Implementations Code Lens Provider for TypeScript (#20784)
* Prototype of Implementations Code Lens Provider for TypeScript

Adds a prototype code lens that shows the number of implementations for interfaces and abstract classes. This shares a lot of code with the references code lens provider, so I extracted most of the common stuff into a base class.

* Support children of interfaces

* Add setting to control implementations code lens
2017-02-28 17:12:16 -08:00
Matt Bierner
e083fc9584 Add when clauses for ts commands. Fixes #21522 (#21525) 2017-02-27 18:43:32 -08:00
Matt Bierner
efe5d1c0ad Disable complete on / for path based completions. Fixes #20557 2017-02-23 19:42:25 -08:00
Matt Bierner
151986295e Fixes #21065 - Open js/ts config in same column as active editor 2017-02-23 17:25:24 -08:00
Matt Bierner
e000772e9c Use * in jsdoc comments but don't select the star in the snippet 2017-02-23 16:22:02 -08:00
Matt Bierner
eab23cd0dc #21214 clairify that only project wide intellisense is being disabled when configure excludes shows 2017-02-23 14:58:44 -08:00
Matt Bierner
1ad0809980 Revert to using any to avoid weird selection behavior for * 2017-02-23 14:56:24 -08:00
Matt Bierner
8ced802f0a use {*} instead of in jsdocs 2017-02-23 14:18:06 -08:00
Matt Bierner
b5687d4b8f Tweak jsdoc snippet to go to params first 2017-02-23 14:18:06 -08:00
Matt Bierner
f9d76beb24 Use snippet for jsdoc completion. Fixes #21105 2017-02-23 14:07:59 -08:00
Matt Bierner
4ae550eb54 Use completion item to trigger jsdoc item 2017-02-23 11:44:08 -08:00
Matt Bierner
6c9f4712b7 Adopt ts 2.2.1 2017-02-22 15:14:31 -08:00
Matt Bierner
39ebfdecb9 Use snippet for default jsdoc 2017-02-22 15:05:32 -08:00
Matt Bierner
eebf74eab5 Tweak jsdoc completion to allow it to be disabled by disabling snippets and so that it does not match words in the suggestion list 2017-02-22 14:37:57 -08:00
Matt Bierner
f7498f0be8 Fixes #21056 dont auto show jsdoc as often 2017-02-22 11:12:14 -08:00
Matt Bierner
7db214be1c Update jsdoc localization key 2017-02-21 18:34:52 -08:00
Matt Bierner
1a0d136939 Fix jsdoc completion not showing when you disable snippet suggestions 2017-02-21 18:34:21 -08:00
Matt Bierner
3eb0cc5348 Fixes #21036 2017-02-21 18:22:32 -08:00
Matt Bierner
9421cfda91 Allow trigger js doc completion in cases like a/**| 2017-02-21 18:16:21 -08:00
Matt Bierner
9939b73286 Improve jsdoc label 2017-02-21 17:43:08 -08:00
Matt Bierner
ba01265d00 Dont show js doc completion item when inside text on a line 2017-02-21 17:33:55 -08:00
Matt Bierner
025202a337 Don't show jsdoc completion item when insider of words 2017-02-21 16:56:18 -08:00
Matt Bierner
5b1a6f4155 Use CompletionItem for JsDoc Comment auto fill (#21025)
Fixes #20990

Switches back to using a completion item provider for jsdoc auto complete.

The completion list will be automatically shown when you are in a potentially valid jsdoc completion context
2017-02-21 16:02:53 -08:00
Kai Maetzel
919580fdd8 Upgrade telemetry package used by TS and markdown extensions. (#20971)
* upgrade telemetry used by TS ext

* upgrade telemetry used by markdown ext
2017-02-21 15:26:30 -08:00
Matt Bierner
c94be6c5b2 Don't reject when we have no code actions 2017-02-21 14:29:42 -08:00
Matt Bierner
02006fe925 fixes #20815. Workaround to not send code actions request if we have no actions 2017-02-21 14:26:54 -08:00