Commit Graph

136 Commits

Author SHA1 Message Date
Matt Bierner
0bd33bbd96 Use strict versions for @types. Fixes #35561 2017-10-09 11:21:00 -07:00
Matt Bierner
cb7e0bffd0 Prototype TSC watch task contribution (#33865)
* Prototype TSC watch task contribution

* Update to make use of optional properties in task definitions
2017-09-22 15:32:00 -07:00
Matt Bierner
761d23b04c Mark inline js expressions in js with language javascript
Fixes #20874
2017-09-18 14:32:58 -07:00
Matt Bierner
341c314697 Mark TS settings as resource
Fixes #33669
2017-09-01 14:54:12 -07:00
Matt Bierner
611e6984b2 Mark some ts extension settings as window
Fixes #33048
2017-08-23 17:21:17 -07:00
Matt Bierner
ca8da0c0a6 Remove check.tscVersion setting 2017-07-19 13:55:21 -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
kieferrm
3f8bd163f4 update dependency on vscode-extension-telemetry 2017-06-30 09:57:37 -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
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
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
d173d8ecc1 Add insertSpaceAfterConstructor Formatting Option for TS and JS
Fixes #28206
2017-06-07 14:49:29 -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
Matt Bierner
88073e8288 Correctly mark typescript.npm as isExecutable 2017-05-30 16:51:15 -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
bf5bb9de5c Implements #27087: Simplify task activation events 2017-05-29 14:50:16 +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
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
Martin Aeschlimann
3cdc7b7472 update all grammars script 2017-05-25 12:27:37 +02: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
d16e0956cf Remove jsconfig/tsconfig activation for ts extension. Part of discussion in #25559 2017-04-27 13:39:38 -07:00
Johannes Rieken
5f319d4892 finalize progress API, #18066 2017-04-25 12:38:41 +02: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
Ramya Achutha Rao
84af63a933 Increment version of vscode extension telemetry module 2017-04-18 14:46:35 -07:00
Matt Bierner
5d801251ec Set insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces to default to true to keep with existing behavior 2017-04-13 16:44:42 -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
5f628cd731 Use js/tsconfig schema for jsconfig.*.json files (#24637)
Fixes #24572

Applies the js/tsconfig schema to file names such as `jsconfig.app.json`
2017-04-12 14:46:08 -07:00
Michel Kaporin
96bd2ed7dd Merge pull request #23281 from michelkaporin/i18n
Added ability for JSON/XLIFF conversion and Push/Pull from Transifex
2017-04-06 14:38:05 +02: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
Michel Kaporin
2af1e01b44 Implemented transifex push and pull for translations together with json->xlf->json parsing. 2017-03-27 15:45:43 +02: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
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
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
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
6c9f4712b7 Adopt ts 2.2.1 2017-02-22 15:14:31 -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
6480172752 Apply js completion to react files 2017-02-19 16:23:19 -08:00
Matt Bierner
5a8795f99a Bump ts version 2017-02-19 16:21:51 -08:00