Commit Graph

60 Commits

Author SHA1 Message Date
Erich Gamma
edc2317ff8 Support to report TS style checks as warnings (#37616)
* Support to report TS style checks as warnings

* typos
2017-11-06 09:29:07 -08:00
Matt Bierner
7ac7a31007 Add setting to disable auto import suggestions 2017-10-27 17:15:36 -07:00
Matt Bierner
5702389f4b Add setting to disable experimental decorators in implicit js projects
Fixes #14985
2017-10-26 17:20:35 -07:00
Matt Bierner
82dcf98352 Add support for localizing ts errors (#36451)
* Pick up typescript 2.6.1-insiders.20171019

* Add support for localizing ts errors. Fixes #18634
2017-10-19 19:52:02 -07:00
Matt Bierner
73635a9cd3 Add option to disable quick suggestions for js/ts paths
Fixes #35877
2017-10-13 15:37:19 -07:00
Matt Bierner
c098b394b0 Use single setting to control autodetect of tasks
#35067
2017-10-11 18:45:31 -07:00
Matt Bierner
a60a551582 add new typescript.tsc.autoDetectType to enable either detection of build or watch tasks
Fixes #35067
2017-10-11 18:30:49 -07:00
Simon Chan
0e18b0533f Automatically restart ts server after disableAutomaticTypeAcquisition config changed (#32412)
* Automatically restart ts server after disableAutomaticTypeAcquisition config changed

* Change to LF
2017-08-16 16:43:40 -07:00
Matt Bierner
ca8da0c0a6 Remove check.tscVersion setting 2017-07-19 13:55:21 -07:00
Matt Bierner
19decf745e Add insertSpaceAfterTypeAssertion formatting option
Fixes #10296
2017-06-28 05:06:53 -05: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
Matt Bierner
d173d8ecc1 Add insertSpaceAfterConstructor Formatting Option for TS and JS
Fixes #28206
2017-06-07 14:49:29 -07:00
Matt Bierner
fbb786088e Remove experimental autobuild 2017-06-06 17:53:15 -07:00
Matt Bierner
148a23aef5 Explicitly specify that typescrip.tnpm should point to the executable 2017-06-01 15:16:03 -07:00
Greg Van Liew
eb097f89a6 ATA is Automatic Type Acquisition (#27760) 2017-05-31 13:38:40 -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
Matt Bierner
c9a2a5be88 Allow tsc tasks to be disabled using settings. Fixes #27312 2017-05-26 14:24:24 -07:00
Matt Bierner
d167cf370f Add restart TSServer command. Fixes #22335 2017-05-24 15:07:43 -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
f856147a01 Split js and ts setting for references code lens
Fixes #26418

Allows enabling or disabling the references code lenses in either javascript or typescript. Previously, the setting enabled it in both language automatically. Enable the code lenses in ts files by default
2017-05-12 20:26:08 -07:00
Matt Bierner
946e7ebb2f Reveal TS Server log file in os instead of opening log in explorer. Fixes #25908 2017-05-09 14:56:24 -07:00
Matt Bierner
51f3f10e36 Add setting to disable NPM Not installed error (#25112)
Adds a new setting to disable the npm not installed warning that we show when ATA fails

Fixes #25063
2017-04-21 14:19:25 -07:00
Matt Bierner
a1677b57b0 Add Setting to Enable JavaScript TypeChecking Checking in Implicit Projects (#25116)
* Add Setting to Enable JavaScript TypeChecking Checking in Implicit Projects

Fixes #25113

Adds new setting to enable js typechecking in implicit projects

// cc @mhegazy

* Make sure we update config after changing settings

* Update wording
2017-04-21 13:57:23 -07:00
Matt Bierner
1d05d0c49d Added PII note on ts server trace and log settings #24696 2017-04-13 17:05:01 -07:00
Magnus Hiie
95f0c15bf5 Expose insert..Braces rule in VS Code settings (#21649)
* Expose insert..Braces rule in VS Code settings

Fixes #18043

* Add requirement blurb for insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces

* Revert tsfmt change
2017-04-13 16:35:40 -07:00
Matt Bierner
84e3f39976 Remove unused TS setting string 2017-04-03 17:47:36 -07:00
Matt Bierner
96092113fa Add note about references code lens required TS version 2017-04-03 13:25:52 -07:00
Jakub Synowiec
70e074ac2f Add an option to enable/disable JSDoc autocomplete (#23704)
* Add new option to disable/enable jsdoc autocompletion

* Refactor JsDocCompletionItem

- remove internal command
- move TS service call and template generation to CompletionItem
- only call TS service if JSDoc completion is enabled in settings
- add local config and config update method to CompletionProvider

* Change how and when JsDocCompletionHelper is registered

Register JsDocCompletionHelper and update configuration in registerProviders instead of activate. Also react to configuration change.

* Rename JsDocCompletionHelper to JsDocCompletionProvider

* Add missing newline at the eof

* Restore completion prompt for JSDoc autocomplete

Restores internal command but but as a separate class. Registers command on extension activation.
2017-04-03 10:35:29 -07:00
Matt Bierner
fa342734c3 Add version requirement note to implementaiton code lens setting Fixes #23679 2017-04-03 10:00:47 -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
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
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
6b5c143705 Clarify markdown setting string. Fixes #20409 2017-02-13 14:17:27 -08:00
Matt Bierner
b9eab3261f Clairfy references codelens string. Fixes #20393 2017-02-13 14:15:17 -08:00
Matt Bierner
5db8fd0f55 Add Command to Go To / Create project configuration for an active js or ts file (#20362)
* Add Command to Go To / Create project configuration for an active js or ts file

Part of #20356

Adds a new command that opens the jsconfig or tsconfig project configuration file for the currently active file. If one does not exist, displays a quick pick that allows users to learn more and create a config file at the root of their project

* Add messages for error cases

* Work around ts error
2017-02-13 12:58:40 -08:00
Sean McCann
d553a4add1 #19719 - fixed typos in TypeScript extension settings keyword descriptions (#19720) 2017-02-02 10:59:56 -08:00
Matt Bierner
1ee3f9dc6c Added command for selecting ts version (#19641)
* Added command for selecting the ts version

* Update name

* Update name
2017-01-31 14:27:24 -08:00
Matt Bierner
8aa7e5336d Change TypeScript Configuration Flow For workspacesTrustedToSpecifyExecutables (#19329)
* Proto

* Remove unused method

* Use local storage for selecting typescript version

* Update settings warning message for typescript tsdk setting

* Small logic cleanup
2017-01-25 16:52:42 -08:00
Joao Moreno
31997b32c3 Revert "Only apply TS Dot Accept Suggestion if Previous Character is a valid identifier (#18063)"
This reverts commit 41cb5ee5ae.
2017-01-10 10:11:52 +01:00
Matt Bierner
41cb5ee5ae Only apply TS Dot Accept Suggestion if Previous Character is a valid identifier (#18063)
* Only apply TS Dot Accept Suggestion if previous character is a valid identifier char

Fixes #17825
Fixes #17770
Fixes #17584

**Bug**
When typing two or more `.` in a row, we end up unexpectedly accepting suggestions in TS files. This is caused by the custom keybinding that ts registers for `.`.

**Fix**
Only accept the suggestion on `.` if the previous character is a valid identifier character.

* Move title to nls
2017-01-09 10:43:59 -08:00
Matt Bierner
265803b0c9 Add TypeScript References Code Lens Provider (#18205)
Fixes #18054

Adds an references code lens provide for JS and TS
2017-01-06 15:18:06 -08:00
Sandeep Somavarapu
099b686c69 Fix #14547 2016-10-28 16:18:21 +02:00
Dirk Baeumer
207d45f161 Fixes #14410: Rename experimentalAutomaticTypeAcquisition to disableAutomaticTypingAcquisition 2016-10-25 15:10:14 +02:00
Joao Moreno
fb210605a5 remove periods 2016-10-25 11:16:48 +02:00
Dirk Baeumer
6a35e4ffcc Minor typo fix. 2016-10-24 15:07:32 +02:00
Cliff Koh
931cc6ca1c Fix typos and consistency issues 2016-10-20 02:48:40 -07:00
Johannes Rieken
abc9993766 add [typescript|javascript].formate.enable 2016-10-17 14:38:08 +02:00
Dirk Baeumer
6827488419 Added additional formatting options 2016-10-14 20:49:30 +02:00
Dirk Baeumer
67af291986 Make use of TS 2.0.6 optional 2016-10-14 20:49:28 +02:00
Dirk Baeumer
03d7916061 ImprovedVersionChecking 2016-09-22 16:24:33 +02:00