Commit Graph

303 Commits

Author SHA1 Message Date
Johannes Rieken
a3b6f18ac4 fix #57390 2018-08-28 16:35:27 +02:00
Johannes Rieken
b0f63ff69d Merge pull request #57155 from Microsoft/joh/ts-webpack
Webpack for ts extension
2018-08-24 17:00:11 +02:00
Johannes Rieken
1f616aaee8 update ignore file 2018-08-24 16:51:11 +02:00
Johannes Rieken
cdb9c0a8f4 update vscode-nls-dev to fixed version, share more config between extensions 2018-08-24 16:37:10 +02:00
Matt Bierner
cd9beb845c Disable node_modules check for update paths on file rename
Fixes #55882

This check was originally added to workaround a TS issue which should now be fixed. If it is not fixed, we want to know about it so that we can get TS to fix it upstream
2018-08-24 16:02:49 +02:00
Matt Bierner
a8d7c6343c Don't request refactorings for empty selections 2018-08-24 16:02:49 +02:00
Johannes Rieken
6ba52f7b25 copy nls 2018-08-24 15:04:36 +02:00
Johannes Rieken
099d99b76c wip 2018-08-24 14:54:50 +02:00
Matt Bierner
ae5fff075d Don't explicitly de-indent on ) in js/ts
Fixes #56275
2018-08-24 12:26:44 +02:00
Matt Bierner
7b21b23496 Remove out of date comments 2018-08-24 12:26:44 +02:00
Matt Bierner
ad68ff316c Remove std-fork 2018-08-21 17:05:46 +02:00
Johannes Rieken
27c72d4ea4 remove logDirectory, #43275 2018-08-20 15:42:09 +02:00
Rob Lourens
d505bb4781 Workaround #55649 2018-08-16 09:57:33 +02:00
Rob Lourens
a0764210a8 #55478 - switch all builtin settings to 'markdownDescription' instead of 'description' where needed 2018-08-08 17:01:37 -07:00
Matt Bierner
6bcabdeefe Add enum descriptions to typescript.preferences.importModuleSpecifier 2018-08-03 18:06:50 +02:00
Matt Bierner
7c6c7ac5fe Allow extends to work without json suffix
Fixes #16905
2018-08-02 10:36:07 +02:00
SteVen Batten
44f5e55785 oss updates for endgame 2018-07-31 22:40:25 -07:00
Ramya Achutha Rao
1912c5d755 Allow extensions to log telemetry to log files #54001 2018-07-30 16:18:54 -07:00
Matt Bierner
5198030c09 Describe what implementation code lens does
Fixes #55370
2018-07-30 15:59:17 +01:00
Matt Bierner
3086c88d21 Don't try closing tags when you type > after another > 2018-07-30 15:57:41 +01:00
isidor
55dfcd730e settings sweep
#54690
2018-07-30 16:53:12 +02:00
Rob Lourens
a2767ab649 Setting descriptions 2018-07-28 12:13:36 -07:00
Matt Bierner
eb0688ed63 Remove extra check
This is already handled by using a resource map
2018-07-27 14:21:18 -07:00
Matt Bierner
6ffbde1f4a Don't lowercase all file paths on case insensitive file-sysystems for geterr
Instead, we should always use the casing of the first file we see with a given path
2018-07-27 14:00:52 -07:00
Matt Bierner
8e35b4272b Disable interuptGetErr until next release. Needs more testing 2018-07-27 13:22:27 -07:00
Matt Bierner
0edee5d228 Support clickable folder projects refences
A project reference may point either to a tsconfig or to a folder containing a `tsconfig.json` file
2018-07-27 11:52:46 -07:00
Matt Bierner
d96cf918b7 Try to interupt getErr request for user opetions 2018-07-26 18:34:18 -07:00
Matt Bierner
01989b1c67 Set global user preferences on updatePaths
https://github.com/Microsoft/TypeScript/issues/25739
2018-07-26 17:36:11 -07:00
Matt Bierner
21bb402655 Fix projectInfo call signature for TS 3.0 2018-07-26 17:36:11 -07:00
Matt Bierner
e49f6543a6 Reduce duplication and improve errors around TypeScript execute types 2018-07-26 17:36:11 -07:00
Matt Bierner
52db14c9e6 Sort definitions 2018-07-26 17:36:11 -07:00
Matt Bierner
74b5247504 Use more explicit types for ts server execute
- Only allow known strings to be used as commands
- Simplify overloading. Introduce new `executeWithoutWaitingForResponse` function for calls that are fire and forget
- Always require a token for execture calls
2018-07-26 17:36:11 -07:00
Ramya Achutha Rao
9e411a5fd3 Renaming tag for settings for online services #54354 2018-07-26 17:21:32 -07:00
Matt Bierner
633e386b18 Remove extra conditional 2018-07-26 16:06:05 -07:00
Matt Bierner
5e40bd7df9 Expand js/ts document symbols to have entries for each span
Fixes #54855
2018-07-26 16:01:34 -07:00
Matt Bierner
341013c0ef Log warning when returned code action will be dropped (#55090)
* Add extension logging when returned code action will be dropped

Fixes #54803

Adds a loggin warning when a code action provider returns code actions that will be dropped. Warn in the the following cases:

- A provider returns code actions (not commands)
- And a specific code action type is requested.
- And the returned code actions either don't set kind or are of the wrong kind

* Use log service

* Include extension id in warning
2018-07-26 15:14:16 -07:00
Matt Bierner
e8b1ee0b4d Use more standard scheme across providers for getting TS response body
- Avoids extra checks when response cannot be null
2018-07-25 18:50:16 -07:00
Matt Bierner
a1af04f571 Prefer namespace imports for 'vscode' 2018-07-25 18:34:12 -07:00
Matt Bierner
410509137b Add base Disposable class to help manage disposables 2018-07-25 18:17:56 -07:00
Matt Bierner
f97c743507 Use VersionDependentRegistration for update paths on rename
Avoids registering class on unsupported ts versions
2018-07-25 17:56:08 -07:00
Matt Bierner
d5855b35b2 Cleanup
- Remove noop optional method
- Use double quotes for strings
- Mark fields readonly
2018-07-25 17:51:05 -07:00
Matt Bierner
42e0c43645 Use resource map for storing formatting options
Try to normalize file cases on case-insensitive file systems
2018-07-25 17:47:06 -07:00
Matt Bierner
edc6b2acdd Always invoke quick fix command
Make sure we always invoke the applyCodeActionCommand. This is needed for telemetry to be sent properly
2018-07-25 17:29:35 -07:00
Matt Bierner
9e6a525723 Fixing fix all not applying correct commands on edit 2018-07-25 17:27:03 -07:00
Matt Bierner
690744c3c6 Only return a single all code action per quick fix fixId
Fixes #55065
2018-07-25 17:19:33 -07:00
Matt Bierner
ccf9f4badd Use VersionDependentRegistration 2018-07-25 17:19:33 -07:00
Matt Bierner
5347a06a46 Don't convert diagnostic set to array 2018-07-25 17:19:33 -07:00
Ramya Rao
d8bf1443cf Support tags on settings to filter in settings editor (#55094)
* Support tags on settings to filter in settings editor

* Revert adding tags to api until we are ready
2018-07-25 15:51:28 -07:00
Rob Lourens
31eba9652d Sweep setting descriptions for #54690 2018-07-25 14:45:48 -07:00
Matt Bierner
5a148fa9a3 Use code in setting 2018-07-23 15:27:55 -07:00