Commit Graph

597 Commits

Author SHA1 Message Date
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
Matt Bierner
f0cb8bf271 Remove bit about path from npm warning since it may be confusing. Will update documentation 2017-05-30 16:55:03 -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
Dirk Baeumer
e58c2abb97 Implements #27399: Separate the task provider name from the task name in the task API 2017-05-29 14:44:31 +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
5a83b55b70 Fix a few potential issues for tsc task provider 2017-05-26 14:24:24 -07:00
Matt Bierner
770206ab9c Pickup all TSConfigs in Workspace for TSC Build Task (#27306)
Follow up on #26079

Allows us to pick up all tsconfig files in a workspace for the build tasks
2017-05-25 21:23:47 -07:00
Matt Bierner
fe69f9ac3b Actually save the file this time :'( 2017-05-25 15:30:19 -07:00
Matt Bierner
4ce3a1e6ac Move VersionStatus into a class 2017-05-25 15:26:35 -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
6f274872ac Add information_for_contributors to grammars 2017-05-25 12:27:38 +02:00
Martin Aeschlimann
da45ae9945 [typescript] update grammar 2017-05-25 12:27:38 +02:00
Martin Aeschlimann
3cdc7b7472 update all grammars script 2017-05-25 12:27:37 +02:00
Benjamin Pasero
1d0b00c60e linting: convert double quote imports to single quote 2017-05-25 09:53:23 +02:00
Matt Bierner
d167cf370f Add restart TSServer command. Fixes #22335 2017-05-24 15:07:43 -07:00
Matt Bierner
50cc0f9067 use alwaysStrict in TS extension 2017-05-24 15:03:50 -07:00
Matt Bierner
d1b366fe33 Fix ts/js code lens for trailing special character. Fixes #27211 2017-05-24 13:39:44 -07:00
Matt Bierner
066db6b85f Fix potential hang when canceling ts requests using pipe. Part of #24698 2017-05-23 15:41:21 -07:00
Matt Bierner
89369d18e6 Fix package.json lookup 2017-05-22 16:11:39 -07:00
Matt Bierner
b73e961439 Split tracer out into own file 2017-05-18 22:04:33 -07:00
Matt Bierner
cdaa5f28ef Record when tsserver exits with code or errors 2017-05-18 21:35:15 -07:00
Matt Bierner
b8b81b73b4 add tsserver.debug option 2017-05-18 17:34:58 -07:00
Matt Bierner
6d8e64ee3f Add error handler for reader 2017-05-18 17:34:58 -07:00
Matt Bierner
288968f803 Fix duplicate code ids names being uploaded to ts 2017-05-18 17:34:58 -07:00
Matt Bierner
7c2d2c37eb Mark a few members readonly 2017-05-18 17:34:58 -07:00
Matt Bierner
7d2739bfe4 Remove some unused functions in reader 2017-05-18 17:34:58 -07:00
Matt Bierner
89f1f02286 Use correct reporter instance 2017-05-18 15:20:13 -07:00
Matt Bierner
8dd07034c0 Split reporter out into own file 2017-05-18 15:17:42 -07:00
Martin Aeschlimann
ae333a8b41 test fixes for #17178 2017-05-18 10:50:30 +02: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
17004573e3 Always Show File Names in Symbol Search Results (#26518)
* Fixes #26370

Updates the symbol search results to always display the filename. This feature was previously added to the TS extension specifically, so this change removes that work in favor of a change to the core symbol search experience

* Use dash with filename
2017-05-16 17:00:43 -07:00
Matt Bierner
604248eebd Remove unused Writer type 2017-05-16 13:54:01 -07:00
Matt Bierner
53b18c79e7 Mark some buffersync members readonly 2017-05-16 13:43:27 -07:00
Matt Bierner
8786a903f0 use Switch instead of map for looking up modes 2017-05-16 13:43:27 -07:00
Matt Bierner
bb44d4386b Remove linkedmap 2017-05-16 13:43:27 -07:00
Matt Bierner
613724d43b Add logging of PATH to investigate ATA issues reported in #24961 2017-05-15 21:46:21 -07:00
Matt Bierner
ed16aff923 Use more const 2017-05-15 21:38:50 -07:00
Matt Bierner
99f55b2814 Extract TypeScript logger to own file 2017-05-15 21:35:28 -07:00
Matt Bierner
c1eccca103 Remove unused paramter 2017-05-15 21:24:02 -07:00
Matt Bierner
4f398bafda Prototype of Supporting Additional Language Types for TS Plugins
Fixes #25740

Allows ts server plugins to specify that they support additional languages, such as html. These supported languages are defined in the contributes section of the package.json:

```json
"contributes": {
    "typescriptServerPlugins": [
        {
            "name": "tslint-language-service",
            "languages": [ "html" ]
        }
    ]
}
```

This change allows the TS Plugin in VSCode to send the additional file types to the TypeScript server for processing by the plugin
2017-05-15 17:00:10 -07:00
Matt Bierner
78676ce503 Ensure the default js/tsconfig has content when first created. Fixes #21209 2017-05-12 20:50:36 -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
0d5c9f418b Remove Need for File Extensions in TypeScript Language Definitions (#26413)
Part of #25740

To support TS Server plugins for languages like angular, we will allow extensions to register new langauges for TypeScript to watch. The angular language for example would want ng-html files to also be uploaded to TypeScript for checking

The current language definitions all define both a set of language modes they support and a set of file extensions. The file extension part is unnessiary and may be incorrect depending on how a user sets up their `file.associations` in the workspace. This change removes the extensions part so that we always make use of the language mode
2017-05-11 10:48:48 -07:00