Commit graph

5877 commits

Author SHA1 Message Date
Rob Lourens
a0764210a8 #55478 - switch all builtin settings to 'markdownDescription' instead of 'description' where needed 2018-08-08 17:01:37 -07:00
Jackson Kearl
277d02debb Merge branch 'master' into feature-demo/auto-closing-config 2018-08-08 10:46:46 -07:00
Jackson Kearl
4dff8da77b remove comments for more proper json 2018-08-08 10:43:16 -07:00
Ramya Achutha Rao
a8f286bac0 Removed unused dependencies 2018-08-08 09:03:11 -07:00
Johannes Rieken
32a051090f 💄 2018-08-08 17:43:07 +02:00
Johannes Rieken
779f79f68d use production-mode for git bundle 2018-08-08 17:01:10 +02:00
Johannes Rieken
fdb7b4bcf4 invoke webpack when bundling extensions 2018-08-08 16:53:55 +02:00
Martin Aeschlimann
dcd17d8b8b [css] update service 2018-08-08 11:57:30 +02:00
Pine Wu
a40bfc947c @import completion for css/scss/less. Fix #51331 2018-08-07 16:01:21 -07:00
Jackson Kearl
6a1515671f Markdown region folding (#55399)
* Add foldin g of regions to markdown

* Add test for region folding

* Tweak region identification regex
2018-08-07 22:47:29 +02:00
Rob Lourens
dc3747c382 Fix #55593 - this code only operates on local paths, so use fsPath and Uri.file instead 2018-08-07 10:55:26 -07:00
Johannes Rieken
34159e797b adding webpack.config.js 2018-08-07 17:07:01 +02:00
Joao Moreno
a8b426471a fixes #55696 2018-08-07 16:16:11 +02:00
Andre Weinand
edfda964e0 use terminal.processId for auto-attach; fixes #55918 2018-08-07 12:28:30 +02:00
Joao Moreno
0615dbe00a docs 2018-08-07 10:35:05 +02:00
Joao Moreno
37ebbbec40 docs 2018-08-07 10:34:18 +02:00
Joao Moreno
45e9530554 fixes #55696 2018-08-06 16:07:17 +02:00
Joao Moreno
52d71bba27 fixes #55563 2018-08-06 16:05:10 +02:00
Martin Aeschlimann
e482fad1f0 [make] update grammar (fixes #55256) 2018-08-06 11:06:05 +02:00
Martin Aeschlimann
4911d7a784
Merge pull request #55826 from fadeevab/make-test
Tests about to check the improvements: ${}, $$, and $(shell ()).
2018-08-06 10:55:07 +02:00
Mathieu Déziel
f8420b48df Fixed emmet validation when open angle bracket is followed by space (#55762)
* Fixed emmet validation when open angle bracket is followed by space

* Fixed space check to support every kind of whitespace

* Added test
2018-08-05 15:36:31 -07:00
Alexandr Fadeev
374c626c06 Tests about to check the improvements: ${}, $$, and $(shell ()).
Current issue: https://github.com/Microsoft/vscode/issues/55256,
"[makefile] highlighting issues with variable definitions and shell commands".
2018-08-05 00:06:16 +03:00
Miguel Solorio
e275a42448 Update Git modified color for contrast ratio, fixes #53140 2018-08-03 10:37:35 -07:00
Matt Bierner
6bcabdeefe Add enum descriptions to typescript.preferences.importModuleSpecifier 2018-08-03 18:06:50 +02:00
Martin Aeschlimann
4fa62b246c [html] should disable ionic suggestions by default. Currently forces deprecated Ionic v1 suggestions in .html files while typing. Fixes #53324 2018-08-03 12:05:50 +02:00
Andre Weinand
47cf06001c detect 'winpty-agent.exe'; fixes #55672 2018-08-02 17:37:02 +02:00
Christof Marti
c09911add3 Avoid assumptions about git: URIs (fixes #36236) 2018-08-02 15:09:51 +02:00
Joao Moreno
9682614323 fixes #55122 2018-08-02 14:26:32 +02:00
Matt Bierner
7c6c7ac5fe Allow extends to work without json suffix
Fixes #16905
2018-08-02 10:36:07 +02:00
Rob Lourens
55ae86a53d Fix #55612 - fix findTextInFiles cancellation 2018-08-01 15:48:22 -07:00
Rob Lourens
c48eda2c83 Minor edits 2018-08-01 15:17:58 -07:00
Pine Wu
c9764c85d7 Settings description update for #54690 2018-08-01 14:46:33 -07:00
Jackson Kearl
c94aad7f1d Settings format crawl 2018-08-01 11:37:32 -07:00
SteVen Batten
44f5e55785 oss updates for endgame 2018-07-31 22:40:25 -07:00
Pine Wu
ba83f60dc3 Update vscode-css-languageservice to 3.0.10-next.1 2018-07-31 19:26:52 -07:00
Christof Marti
d757b21c45 Polish embeddedEditorBackground 2018-07-31 22:23:54 +02:00
Pine Wu
53b5645dc2 Pull latest css grammar 2018-07-30 16:28:14 -07:00
Ramya Achutha Rao
1912c5d755 Allow extensions to log telemetry to log files #54001 2018-07-30 16:18:54 -07:00
Ramya Achutha Rao
4afd9f5343 Latest emmet helper to fix #52366 2018-07-30 15:34:16 -07:00
kieferrm
5534d7868f update to officical TS version 2018-07-30 10:55:29 -07:00
Martin Aeschlimann
2eb31c7170 fix javadoc formatter setting description 2018-07-30 17:03:13 +02: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
Christof Marti
0e39195279 Settings sweep (#54690) 2018-07-30 15:31:17 +02:00
Alex Dima
47212be6f3 Settings sweep (#54690) 2018-07-30 12:35:43 +02:00
Erich Gamma
83a42a58af Contribute run selected to the context menu 2018-07-29 11:38:22 +02:00
Erich Gamma
345440f62f prefix command with extension name 2018-07-29 11:12:25 +02:00
Erich Gamma
82423033d9 Added command to Run the selected npm script 2018-07-28 22:10:29 +02:00
Rob Lourens
a2767ab649 Setting descriptions 2018-07-28 12:13:36 -07:00
Erich Gamma
812d082e90 Fixing Cannot debug npm script using Yarn #55103 2018-07-28 18:41:09 +02:00
Ramya Rao
f51c30d8f4
Allow users to opt-out of features that send online requests in the background (#55097) 2018-07-27 15:42:17 -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
Martin Aeschlimann
86f3a8077a [powershell] update grammar 2018-07-27 11:02:04 +02:00
Martin Aeschlimann
067a72787f [php] update colorizer tests 2018-07-27 11:02:04 +02:00
Martin Aeschlimann
54d183d2b7 update markdown colorizer tests 2018-07-27 11:02:04 +02:00
Martin Aeschlimann
de24a9026f [java] update grammar 2018-07-27 11:02:04 +02:00
Martin Aeschlimann
404e737560 update html grammar 2018-07-27 11:02:04 +02:00
Martin Aeschlimann
e4c54be876 update TypeScript grammar 2018-07-27 11:02:03 +02:00
Martin Aeschlimann
c640a0ed5c adopt color changes in colorizer tests 2018-07-27 11:02:03 +02:00
Isidor Nikolic
c1abdc1228
Merge pull request #54881 from Microsoft/misolori/a11y
Fix color contrast issues
2018-07-27 10:35:21 +02: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
b4ab206963 Pick up new ts insiders 2018-07-26 16:07:02 -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
1e10fa5163 Update ts/js grammars 2018-07-26 15:40:45 -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
Rob Lourens
d36a3d2395 Search provider - implement FileIndexProvider 2018-07-26 12:28:15 -07:00
Rob Lourens
9999dac541 SearchProvider - split out separate TextSearchProvider #47058 2018-07-26 12:28:15 -07:00
Miguel Solorio
e32ea43fcb
Merge branch 'master' into misolori/a11y 2018-07-26 10:25:15 -07:00
Erich Gamma
7697ef6711 Flush scripts cache when the document changes 2018-07-26 15:56:28 +02:00
Martin Aeschlimann
cbb51a0997 [loc][Query] Source text issue for "Provides syntax highlighting, bracket matching and folding Less files." Fixes #55115 2018-07-26 11:57:06 +02:00
Erich Gamma
22f0337064 cache the scripts for the hover 2018-07-26 09:42:38 +02:00
Erich Gamma
73b72464b3 Replace lenses with hover links 2018-07-26 09:42:36 +02: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
Nikolas
700ee37a24 Add underscores and asterisks to surrounding pairs (#55054)
Same reasons as [here](https://github.com/silvenon/vscode-mdx/pull/6#issue-203819440)
2018-07-25 17:31:04 -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
Rachel Macfarlane
740d37d7dd Some setting descriptions cleanup, #54690 2018-07-25 11:02:07 -07:00
Martin Aeschlimann
7fd6f1b1d4 [json] use onFoldingRanges 2018-07-25 12:22:04 +02:00
Martin Aeschlimann
116948ef51 [css] adopt lsp (folding, colors) 2018-07-25 12:22:04 +02:00
Martin Aeschlimann
21c22840c5 [html] adopt lsp (folding, colors) 2018-07-25 12:22:04 +02:00
Christof Marti
04129e96fe Fix extension-editing display name and description 2018-07-25 11:18:15 +02:00
Martin Aeschlimann
4f0c90fa36 [json] update to latest lsp (folding range support) 2018-07-25 09:56:05 +02:00
Matt Bierner
4be0f07230
Add WebviewPanel.iconPath (#54912)
* Add WebviewPanel.iconPath

Allows webviews to provide icons used in UI. Adds a new `WebviewPanel.iconPath` property for this.

Replaces the static contribution approach from #49657

Fixes #48864

* Fix doc

* Move icon into mainthreadwebview

* Cleaning up implementation

* Cleaning up implementation
2018-07-24 15:08:46 -07:00
Jackson Kearl
75fec9f1fd Merge branch 'feature-demo/auto-closing-config' of github.com:JacksonKearl/vscode into feature-demo/auto-closing-config 2018-07-24 13:41:00 -07:00
Erich Gamma
1616ea1193 Disable npm code lens by default 2018-07-24 12:18:13 +02:00
Jackson Kearl
1655e6eb23 Same specialization for ts 2018-07-24 00:42:18 -07:00
Jackson Kearl
763e939bdd Document jsx specialization 2018-07-24 00:38:38 -07:00
Jackson Kearl
629c05f1f8 Add special case for js(x) template strings 2018-07-24 00:07:42 -07:00
Erich Gamma
f6064affd1 update to tasks 2.0 2018-07-24 08:30:52 +02:00
Matt Bierner
befea22536 Pick up new TS insiders version 2018-07-23 17:55:55 -07:00
Jackson Kearl
492fde2c13
Merge pull request #54910 from JacksonKearl/settings-crawl
Settings crawl
2018-07-23 16:06:07 -07:00
Jackson Kearl
f99a1e6505 Dots 2018-07-23 16:02:21 -07:00
Jackson Kearl
5916baa42e Update settings text for my chunk 2018-07-23 15:54:19 -07:00
Matt Bierner
b8c522b175 Updating colorization tests 2018-07-23 15:31:32 -07:00
Matt Bierner
f9eeb0759f Cleaning up emmet setting descriptions 2018-07-23 15:27:55 -07:00
Matt Bierner
5a148fa9a3 Use code in setting 2018-07-23 15:27:55 -07:00
Matt Bierner
b096fb256d Use enumDescriptions 2018-07-23 15:27:55 -07:00
Matt Bierner
e9fb3b2eaa Remove old show unused settings
You should use `editor.showUnused` instead. Possibly with a language specific setting:

```
"[typescript]": {
    "editor.showUnused": false
}
```
2018-07-23 15:01:02 -07:00
Jackson Kearl
4109e4e093 Restore trailing newline 2018-07-23 13:16:50 -07:00
Martin Aeschlimann
74c270e887 update grammars 2018-07-23 20:34:08 +02:00
Miguel Solorio
bcf4c3185b Add missing comma 2018-07-23 10:01:04 -07:00
Jackson Kearl
e6f82004c8 Fix html language json 2018-07-23 09:43:30 -07:00
Jackson Kearl
6d09e4ee0f Ongoing migration to if/when 2018-07-23 09:40:10 -07:00
Miguel Solorio
32cf6eb0fa
Merge branch 'master' into misolori/a11y 2018-07-23 09:38:00 -07:00
Christof Marti
d61baf3b16 Don't assume local file (#36236) 2018-07-23 12:55:32 +02:00
Erich Gamma
1c14e736d2 Add missing nls key in package.json, fixing #54714 2018-07-23 09:34:03 +02:00
Matt Bierner
56d3f0acf2 Update js/ts grammar 2018-07-20 18:07:43 -07:00
Matt Bierner
8531a230e5 Use flatten in a few places to improve readability 2018-07-20 17:58:43 -07:00
Matt Bierner
f500f659e6 Create links for files section in tsconfig 2018-07-20 17:52:01 -07:00
Matt Bierner
91d55c965a Make sure we disable suggestions properly 2018-07-20 14:32:21 -07:00
Matt Bierner
9fb3229377 Use single diagnostic collection for js and ts
Refactors the ts DiagnosticManager to be shared between language providers.  To do this:

- Make sure we always maintain a complete list of diagnostics in the extension. But only update the vscode.DiagnosticCollection with the ones we care about

- Add the concept of a diagnostic language. This is needed now that we only have a single collection. Use the diagnostic language to determine which diagnostics to filter out using `typescript.validate` and `javascript.validate`

- Add a diagnosticSetting class to track settings for different languages (js and ts)

Fixes #54359
2018-07-20 14:16:28 -07:00
Erich Gamma
8d964cbd59 Added setting to control visibility of code lens 2018-07-20 09:43:49 +02:00
Erich Gamma
80b08b4c7f Add code lenses to run/debug a script 2018-07-20 09:43:48 +02:00
Jackson Kearl
937e23a19c Merge branch 'master' into feature-demo/auto-closing-config 2018-07-19 15:10:10 -07:00
Miguel Solorio
3c37960bd8 Update color to meet color contrast ratiom, fixes #52580 2018-07-19 12:58:45 -07:00
Matt Bierner
afc3d77e7c Don't treat interpolated strings in make files as content strings
These are more like expression instead of strings

Fixes #38078
2018-07-18 19:09:46 -07:00
Matt Bierner
a04a714fa3 Format 2018-07-18 19:08:07 -07:00
Matt Bierner
44cd521ced
Finalize definition link (#54424)
Finalize the definition link api

- Gives fields more explicit names (target and origin)
- Moves api to vscode.d.ts
- Makes other definition providers (such as type definition provider and implementation provider) also return definition links

Fixes #54101
2018-07-18 16:32:27 -07:00
Sandy Armstrong
80a472482c Treat Xamarin .workbook files as markdown (#51167)
Xamarin Workbooks are interactive coding documents that are saved as
straight-forward markdown files with a YAML front matter header block.

Here is a sample: https://github.com/xamarin/Workbooks/blob/master/csharp/csharp6/csharp6.workbook

Github has been treating them as markdown files for over a year now
(https://github.com/github/linguist/pull/3500).
2018-07-18 16:27:03 -07:00
HUA Yang
9038bc7b45 fix #53590 (#54257) 2018-07-18 16:22:29 -07:00
Matt Bierner
533c6deb79 Move cancellation files to own dir
Fixes #53423
2018-07-18 14:28:55 -07:00
Matt Bierner
b9bc23bb58 Only exec server call in try catch 2018-07-18 14:28:54 -07:00
Matt Bierner
3331d725e5 Use toFileLocationRequestArgs 2018-07-18 14:28:54 -07:00
Matt Bierner
708b16a96c Remove unused property 2018-07-18 14:28:54 -07:00
Matt Bierner
6c2818d42e Clean up provideDocumentSymbols
- Returned undefined instead of empty array
- Only execute server call in try catch
2018-07-18 14:28:54 -07:00
Matt Bierner
4c003dbbc1 Remove old navtree call
This API has been replaced with navbar. The code related to navbar is not being tested and a very small number of users are using < 2.1 in their workspaces
2018-07-18 14:28:54 -07:00
Matt Bierner
966bec8650 Reducing scope of try catch to just exec
We want to be alerted if an exception is thrown outside of execute
2018-07-18 14:28:54 -07:00
Erich Gamma
5c5f93cdbc Support to run the selected script in the editor 2018-07-18 12:58:19 +02:00
Joao Moreno
bcdad4c79f fixes #53520 2018-07-18 11:12:06 +02:00