Commit graph

5877 commits

Author SHA1 Message Date
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
Rob Lourens
1bf16e1167 Add onSearch activationEvent for search providers 2018-07-17 09:35:58 -07:00
Erich Gamma
9a924f71f4 Fix for #54085 npmScript explorer doesn´t show scripts with same name in multi root setup 2018-07-17 08:53:26 +02:00
Matt Bierner
b6e9dc253b Fix visual match for string types
Fixes #53962
2018-07-16 16:46:08 -07:00
Matt Bierner
2e8414c707 Pull in third party notices from typescript
Fixes #54103
2018-07-16 14:21:33 -07:00
Matt Bierner
f5c36f4bb8 Add telemetry on organize imports
This is needed to understand if users are running this action and how we can improve discoverablity
2018-07-16 13:00:46 -07:00
Matt Bierner
cbcafcc284 Don't enable commit characters when isNewIdentifierLocation is true
Fixes #54386
2018-07-16 13:00:46 -07:00
Johannes Rieken
69139dabf5 fix #52923 2018-07-16 16:54:16 +02:00
Pine Wu
fec5cf6f43 Update css grammar for #53606 and #53797 2018-07-15 07:24:19 +08:00
Greg Van Liew
c150d0d42d Edit pass on new built-in extension comments (#54277) 2018-07-13 15:28:27 -07:00
Matt Bierner
a874e01c9f Pick up new TS insiders 2018-07-13 11:42:58 -07:00
Matt Bierner
eaa535ff3e Use properties for commitCharacters 2018-07-13 11:42:58 -07:00
Rob Lourens
09e26ac36f Fix #54256 - only sort file search results when a pattern is specified 2018-07-13 10:26:58 -07:00
Matt Bierner
b179deefe5 Only use isNewIdentifierLocation to disable commit characers instead of all suggestions
Fixes #54267
2018-07-13 09:17:14 -07:00
Matt Bierner
b64ff63750 Remove extra await 2018-07-13 09:17:14 -07:00
Ramya Achutha Rao
a32654c5f1 Link to docs in the website from builtin extension readme #54098 2018-07-12 18:16:01 -07:00
Ramya Achutha Rao
0d7ee9e076 Link to CONTRIBUTING.md for built-in extensions #54098 2018-07-12 18:09:35 -07:00
Ramya Achutha Rao
75cda752a5 Move how to contribute to a separate file for built in extensions #54098 2018-07-12 18:06:16 -07:00
Matt Bierner
ba9c869b6a Organize all imports in ts extension 2018-07-12 16:32:18 -07:00
Matt Bierner
0986ab3633 Move resource map to utils 2018-07-12 16:30:34 -07:00
Matt Bierner
dc08cbdfa9 Also support regular json files for tsconfig document links 2018-07-12 16:25:14 -07:00
Matt Bierner
cb9ad4f8be Add link provider for jsconfig and tsconfig files
Fixes #16905
Fixes #54215
2018-07-12 16:11:30 -07:00
Matt Bierner
4dc63b5061 Fix duplicate config requests sometimes being sent to TS
Fixes #54088
2018-07-12 16:11:30 -07:00
Matt Bierner
659d646e55 Use destructuring 2018-07-12 16:11:30 -07:00
Matt Bierner
23d9f2cea6 Don't create empty arrays to signal no return types 2018-07-12 16:11:30 -07:00
Andre Weinand
bf7ac9201e move auto-attach into new built-in extension; fixes #53586 2018-07-12 16:41:03 +02:00
Rob Lourens
888bd5377d Fix #53908 - make settings tree themeable, add default colors 2018-07-11 18:30:24 -07:00
Ramya Achutha Rao
f89c16c04c Standardize readme across built-in extensions #54098 2018-07-11 16:38:32 -07:00
Matt Bierner
a7fb144e95 Use Typescript's CompletionInfo.isNewIdentifierLocation
Fixes #52499
2018-07-11 14:30:21 -07:00
Matt Bierner
e1d50f119d Move execute into geterror class 2018-07-11 14:19:34 -07:00
Matt Bierner
f3af5502e7 Convert GetErrRequest to class 2018-07-11 14:19:34 -07:00
Matt Bierner
46db7d9d3b tagCompletion -> tagClosing 2018-07-11 14:19:34 -07:00
Matt Bierner
bd3beec042 Extract getInsertionPositions 2018-07-11 14:19:34 -07:00
Matt Bierner
6c99578088 Hook up CancellationToken 2018-07-11 14:19:34 -07:00
Matt Bierner
97734e3a39 Reduce nested statements 2018-07-11 14:19:34 -07:00
Matt Bierner
2e8e41c06d Prefix private members with _ 2018-07-11 14:19:34 -07:00
Matt Bierner
1dcb248d30 Clear auto closing tag timeout
This should already be effectively canceled but no reason to fire it
2018-07-11 14:19:33 -07:00
Matt Bierner
860138b2b2 Remove normalizePath from BufferSyncSupport 2018-07-10 17:13:55 -07:00
Matt Bierner
f5e7c01028 Use resource map for pending diagnostics 2018-07-10 17:13:55 -07:00
Matt Bierner
84100f37c6 Request diagnostics on synced buffer 2018-07-10 17:13:55 -07:00
Matt Bierner
2adafad5ae Extract duplicated triggerDiagnostics code to function 2018-07-10 17:13:55 -07:00
Matt Bierner
5a6e122a58 Extract PendingDiagnostics to own class 2018-07-10 17:13:55 -07:00
Matt Bierner
bc627a5a83 Remove duplicate code for creating FormattingRequestArgs 2018-07-10 17:13:55 -07:00
Matt Bierner
585c650411 Remove cyle around requestDiagnostic 2018-07-10 17:13:54 -07:00
Rob Lourens
c6e298d909 renable disabled test. Seems fine now. 2018-07-10 17:02:34 -07:00
Matt Bierner
0f699f35f2 Update js/ts grammar
Addresses #53896
2018-07-10 15:31:10 -07:00
Matt Bierner
d68d22f961 Pass in method directly instead of lambda for some events 2018-07-10 15:03:52 -07:00
Matt Bierner
0178fc2824 Make sure we clean up config change registration 2018-07-10 15:03:52 -07:00
Matt Bierner
cbbb21c765 Don't try closing for cases like <div>> when user has just typed last > 2018-07-10 15:03:51 -07:00
Matt Bierner
5f8b9ab083 Remove active editor listener 2018-07-10 15:03:51 -07:00
Matt Bierner
473d8887b2 Reuse isTypeScriptDocument 2018-07-10 15:03:51 -07:00
Matt Bierner
a92506639f Don't make extra findFiles call on TS 3.0
WIth TS 3.0, we don't need to pass a js or ts file for the project
2018-07-10 15:03:51 -07:00
Matt Bierner
931ec139f1 Don't check nav tree for directory rename
Fixes https://github.com/Microsoft/TypeScript/issues/25466
2018-07-10 11:40:28 -07:00
Matt Bierner
63c7c90ba5 Gate workaround for #52967 to TS 2.9 2018-07-10 11:40:28 -07:00
Geoffrey
2ea84289f0 Permit to update path when export(s) keyword in file (#53964) 2018-07-10 11:16:55 -07:00
Joao Moreno
044d192df0 remove bad timeout 2018-07-10 18:15:21 +02:00
Joao Moreno
6957a5c058 make git activation async
fixes #50292
2018-07-10 12:37:25 +02:00
Matt Bierner
adfa9ce977 Add initial support for auto close jsx tags
Fixes #34307
2018-07-09 19:00:10 -07:00
Matt Bierner
dc137ce28f Move isTypeScriptDocument to languageModes 2018-07-09 19:00:10 -07:00
Matt Bierner
bda7b4480a Update markdown grammar
Fixes https://github.com/Microsoft/vscode/issues/53860
2018-07-09 09:34:24 -07:00
Matt Bierner
3ea1e53bbd Update to TS 3.0 insiders 2018-07-09 09:34:24 -07:00
Rob Lourens
b6902fd662 Fix #53838 - workaround strange error from telemetry 2018-07-09 09:21:14 -07:00
Martin Aeschlimann
d17ceea08e Update to powershell grammars. Fixes #52956 2018-07-09 11:57:24 +02:00
Joao Moreno
19df280c7f fixes #53849 2018-07-09 10:37:51 +02:00
Joao Moreno
ee0a7a265d Merge branch 'master' of github.com:Microsoft/vscode 2018-07-09 10:15:59 +02:00
Joao Moreno
b18b795936 fixes #53668 2018-07-09 10:15:55 +02:00
Matt Bierner
3d35801127 Make sure quickSuggestionsForPaths is respected on TS 2.9+
Fixes #53683
2018-07-06 14:16:41 -07:00
coolreader18
8ab9119cf6 Fix a double dash in the previewer if an @param jsdoc tag has a hyphen after the param name (#53365)
* Fix a double dash if the @param has a hyphen

* Moved into the other regex

* Add test for ignoring hypen after @param

* Fixed test and moved to previewer.test.ts
2018-07-06 12:53:44 -07:00
misolori
a31f93b530 Update color to meet color contrast ratio, fixes #52570 2018-07-06 12:51:00 -07:00
Joao Moreno
1d831bdcf1 Merge remote-tracking branch 'origin/master' 2018-07-06 16:45:41 +02:00
Joao Moreno
b6781b0058 align lstree implementations 2018-07-06 16:45:03 +02:00
Joao Moreno
00a1abe912 cleanup git relative path calculation 2018-07-06 16:37:53 +02:00
Joao Moreno
3f9e71722d Merge commit 'refs/pull/49397/head' of github.com:Microsoft/vscode into pr/49397 2018-07-06 15:46:10 +02:00
João Moreno
d1f8ff6161
Merge pull request #52812 from Microsoft/joao/uri-handler
Finalize UriHandler API
2018-07-06 15:43:13 +02:00
Joao Moreno
ba98812272 💄 2018-07-06 15:31:43 +02:00
Joao Moreno
e4d42b6b9b Merge commit 'refs/pull/47578/head' of github.com:Microsoft/vscode into pr/47578 2018-07-06 15:23:18 +02:00
Joao Moreno
80766044f3 remove command from scm title 2018-07-06 15:22:21 +02:00
Joao Moreno
689c38f4aa 💄 2018-07-06 15:19:27 +02:00
Joao Moreno
4215f96251 Merge commit 'refs/pull/48020/head' of github.com:Microsoft/vscode into pr/48020 2018-07-06 15:10:34 +02:00
Joao Moreno
2b03845eef 💄 2018-07-06 15:09:41 +02:00
Joao Moreno
da1a35aabc Merge commit 'refs/pull/47890/head' of github.com:Microsoft/vscode into pr/47890 2018-07-06 15:07:20 +02:00
Joao Moreno
b5e8f88e3b use more resource level settings for git 2018-07-06 15:03:36 +02:00
Joao Moreno
50189ad617 Merge commit 'refs/pull/47819/head' of github.com:Microsoft/vscode into pr/47819 2018-07-06 14:54:42 +02:00
Joao Moreno
3a54676f50 move successful push notification into repository 2018-07-06 14:53:13 +02:00
Joao Moreno
ead170df00 Merge commit 'refs/pull/47790/head' of github.com:Microsoft/vscode into pr/47790 2018-07-06 14:48:10 +02:00
Joao Moreno
0b9ed72669 improve selection restoration 2018-07-06 14:45:44 +02:00
Joao Moreno
cb6d6aa512 Merge commit 'refs/pull/47238/head' of github.com:Microsoft/vscode into pr/47238 2018-07-06 14:41:52 +02:00
Joao Moreno
cc6d8aa00e Merge remote-tracking branch 'origin/master' into joao/uri-handler 2018-07-06 12:49:16 +02:00
Joao Moreno
f950abaa81 git: extract categorizeResourceByResolution 2018-07-06 12:34:38 +02:00
Joao Moreno
8f6c6e8bc0 Merge commit 'refs/pull/50252/head' of github.com:Microsoft/vscode into pr/50252 2018-07-06 12:26:22 +02:00
Joao Moreno
c0cfa06328 fix #44106 2018-07-06 12:20:56 +02:00
Joao Moreno
e045147e44 improve conflicts during git rebase flow 2018-07-06 12:15:27 +02:00
misolori
479855f9cd Update colors to meet color contrast ratio, fixes #51831 2018-07-05 16:52:53 -07:00
Rachel Macfarlane
bd953248ad Revert "Reformat test .asar file, fixes #53194"
This reverts commit 689141523f.
2018-07-05 15:36:29 -07:00
Rachel Macfarlane
689141523f Reformat test .asar file, fixes #53194 2018-07-05 14:36:02 -07:00
Benjamin Pasero
4645522d82 enable test (for #52414) 2018-07-05 16:06:13 +02:00
Benjamin Pasero
e283c32b9d fix #52447 2018-07-05 15:55:34 +02:00
Rob Lourens
185278a3fa findTextInFiles vscode-api-tests test 2018-07-03 20:46:54 -07:00
Rob Lourens
2315156bf3 Search Provider - delete unused search stats 2018-07-03 20:11:35 -07:00
Rob Lourens
0215f30d9b Search Provider - implement clearCache 2018-07-03 20:08:53 -07:00
Rob Lourens
69df745be9 Fix build 2018-07-03 18:45:31 -07:00
Matt Bierner
9f8491190a Update js/ts grammars 2018-07-03 17:19:04 -07:00
Rob Lourens
824a3e9298 Search provider - remove absolute path checks from extHostSearch to match fileSearch.ts 2018-07-03 16:03:43 -07:00
Rob Lourens
fdf27274f0 Search provider - fix cancellation in extension code 2018-07-03 15:59:49 -07:00
Erich Gamma
7452fe03a0 Generalize the debug argument matching 2018-07-03 16:56:27 +02:00
Dirk Baeumer
21991b4912 Move to latest vscode-nls for corrupted cache support 2018-07-03 16:12:52 +02:00
Rob Lourens
0ef1c31b06 Change SearchProvider to be URI-based, not string-based. #50788 2018-07-02 19:24:14 -07:00
Rob Lourens
e0e9c3d455 Search provider - some clean up 2018-07-02 19:24:14 -07:00
Rob Lourens
995ef29643 Add missing methods to strings.ts 2018-07-02 19:24:13 -07:00
Rob Lourens
dc1c80e6ff Clean up strings.ts 2018-07-02 19:24:13 -07:00
Rob Lourens
ea5620dd8d SearchProvider invoked on every keypress 2018-07-02 19:24:13 -07:00
Matt Bierner
1ee1759e02 Adding workaround for TS trying to update paths on file without exports
Fixes #52967
2018-06-29 17:30:53 -07:00
Matt Bierner
2f0b9394bc Add telemetry on TS refactoring usage
Needed to understand which type of refactorings are most used so we can decided which bugs to prioritize and which new refactoring areas to invest in
2018-06-29 17:13:49 -07:00
Jackson Kearl
4f870afa58 Enforce node boundaries in places where it matters (#53192)
* Enfoce node boundries in places where it matters

* Flip defualt emmet includeBoundries to true

Explicitly set getNode's include boundries where needed

* Remove defualt papameter

* Add update image boundry tests

* Add tests for bondries on some of the tag actions

* Rest of tag tests
2018-06-29 13:40:38 -07:00
Martin Aeschlimann
61231a6f34 [css] update service (fixes #53159) 2018-06-29 08:57:13 +02:00
Matt Bierner
a2974a0782 Fix markdown code blocks getting two backgrounds in preview
Fixes #53246
2018-06-28 15:18:05 -07:00
Ramya Achutha Rao
f200964ed5 Fix Select next/item bug when cursor is at tag boundary 2018-06-27 21:48:05 -07:00
Matt Bierner
9f05b498ca Fix js doc colorization
Fixes #53162
2018-06-27 10:28:38 -07:00
Christof Marti
9aa90a526d Fix events firing multiple times (fixes #52894) 2018-06-27 17:09:17 +02:00
Martin Aeschlimann
0e87ea1c5e jsonc strings are wrong color. Fixes #53010 2018-06-27 14:34:51 +02:00
Greg Van Liew
14274ef7d1 Use VS Code with a space in built-in extension descriptions. (#53080)
* Use VS Code with a space in comments

* User VS Code with a space in built-in extension descriptions.
2018-06-26 18:38:18 -07:00
Matt Bierner
33446a0a9e Use hierarchical markdown document symbols
Fixes #52546
2018-06-26 17:31:45 -07:00
Daniel Imms
6d600f0661 Fix test compile 2018-06-26 12:50:41 -07:00
Daniel Imms
8237445753 Rename cols to columns
Fixes #52885
2018-06-26 12:45:36 -07:00
Matt Bierner
50cc3d6121 Never edit files under node_modules on update paths
Workaround for #52977
2018-06-26 11:08:09 -07:00
Martin Aeschlimann
e7c0f07530 fix colorize test failures 2018-06-26 17:13:23 +02:00
Martin Aeschlimann
4e2a84b5f7 light theme: remove trailing comma 2018-06-26 12:53:47 +02:00
Pine Wu
e62554e4b1 [css] Update grammar from octref/language-css 2018-06-25 17:26:32 -07:00
Matt Bierner
8829182e4a Never apply an update path edit that tries doing something with node_modules
Root cause is https://github.com/Microsoft/TypeScript/issues/24914

Fixes #52675
2018-06-25 16:26:03 -07:00
Martin Aeschlimann
f055155108 update service 2018-06-25 23:32:50 +02:00
Martin Aeschlimann
7f56f200c1 Separate grammar for jsonc (fixes #42539) 2018-06-25 23:30:06 +02:00
Martin Aeschlimann
f984189246 [json] fix for schema assocations in workspace settings 2018-06-25 23:06:40 +02:00
Pine Wu
b3e7079dda [css] Update css-language-service for css/html 2018-06-25 11:52:25 -07:00
Matt Bierner
48c54a009f Override light color for function and params in md code preview
Fixes #52710
2018-06-25 11:09:05 -07:00
Dániel Tar
6ae1cc7720 Fix a replace gone wrong in typescript-language-features/package.nls (#52704) 2018-06-25 10:54:49 -07:00
Joao Moreno
92693a1b26 API: UriHandler, rename and docs 2018-06-25 15:13:03 +02:00
Ramya Achutha Rao
c3ad978982 Escape $ when wrapping Fixes #52640 2018-06-22 14:57:03 -07:00
James
b7e6e04666 fix #51768 (#51849) 2018-06-21 17:36:25 -07:00
Jackson Kearl
1c3bb74e99 Add html specific auto close config 2018-06-21 11:28:01 -07:00
Martin Aeschlimann
e993d1179d file line detection: allow whitespace after shebang 2018-06-21 10:24:50 +02:00
Martin Aeschlimann
d34d9735cc [python] non-file extension filetype detection. Fixes #52519 2018-06-21 10:24:50 +02:00
Matt Bierner
78f410ce39 Make sure we correctly update local resource roots when switching previewed markdown file
Fixes #49859
2018-06-20 15:48:14 -07:00
Matt Bierner
1a9f7c85b8 Fix content after fenced code block being treated as code
Fixes #52509
2018-06-20 14:15:34 -07:00
Matt Bierner
66a9cfd809 Update deps 2018-06-20 14:12:18 -07:00
Matt Bierner
0532c31e4c
Definition link API (#52230)
* Definition link

Add a new `DefinitionLink` type. This type allows definition providers to return additional metadata about a definition, such as the defining span.

Hook up this new provider for typescript

This PR replaces #48001

* Correctly mark field optional

* Small code fixes

- Use lift
- Remove unused param

* Adding documentation
2018-06-20 11:52:47 -07:00
Rob Lourens
04c1ad98b3 EH search - Centralize vscode-ripgrep import in search extension 2018-06-20 11:49:12 -07:00
Matt Bierner
2c0c1f3d66 Use ignoreIfExists for creating new files during refactorings 2018-06-20 11:10:01 -07:00
Johannes Rieken
c177376801 use posix path math with uris 2018-06-20 17:12:59 +02:00
Johannes Rieken
257ae9f76c add ignoreIfExists-option #10659 2018-06-20 15:57:49 +02:00
Johannes Rieken
f0ec28b499 override -> overwrite, #10659 2018-06-20 13:16:53 +02:00
Johannes Rieken
bac2a59322 add partial test #10659 2018-06-20 12:46:57 +02:00
Christof Marti
6cba561685 Writeable active and selected items (#49340, fixes vscode-azure-account#67) 2018-06-20 10:27:37 +02:00
Matt Bierner
7c96862d37 Use workspace edit to create new file on refactor
#10659
2018-06-19 17:24:40 -07:00
Matt Bierner
e4fe04ad5b Treat comma as a commit character in js / ts
Fixes #52351
2018-06-19 11:51:18 -07:00
Matt Bierner
0e361509ef Fix completion characters inside of js function call
Fixes #52350
2018-06-19 11:51:18 -07:00
Matt Bierner
f71c378488 Make sure we trigger js/ts completions on / 2018-06-19 11:06:35 -07:00
Matt Bierner
4d3a8ae210 Add tag closing completions
Part of #34307. Add manual completions for closing jsx tags. Requires TS 3.0
2018-06-19 11:06:35 -07:00
Benjamin Pasero
0113b40fd1 fix #52212 2018-06-19 19:04:19 +02:00
Matt Bierner
260ee3284e Update js/ts grammars 2018-06-19 10:02:48 -07:00
Matt Bierner
8729695a01 Update markdown grammar 2018-06-19 10:02:47 -07:00
Johannes Rieken
29a7289ba3 add test for #42638 2018-06-19 16:58:36 +02:00
Johannes Rieken
ea28332e28 more testing on #10659 2018-06-19 16:58:36 +02:00
Johannes Rieken
10192366eb move onDidRename to filesystem-events things, #43768 2018-06-19 15:17:54 +02:00
Johannes Rieken
a979c73896 bulk edit provider listens on operation events only, add more test (partity disabled due to #52212), #10659 2018-06-19 12:47:28 +02:00
Matt Bierner
fae153401b Clairify ts version requirements
Fixes #50806
2018-06-18 15:51:44 -07:00
Matt Bierner
fb6be6e2f0 Remove periods after required version numbers 2018-06-18 15:51:44 -07:00
Matt Bierner
49b483a51d Remove version notes for TS versions < 2.3.0
These older versions are rarely used as the workspace version by VS Code. Removing notes around these given the very small number of users impacted by these restrictions
2018-06-18 15:51:44 -07:00
Matt Bierner
b5b211f211 Move constant to private static 2018-06-18 15:51:43 -07:00
Pine
822c3ba0eb
Merge pull request #52226 from Microsoft/octref/scss-unknown-at-rules
SCSS unknown at rules
2018-06-18 23:58:44 +02:00
Daniel Imms
8d4466df93
Merge pull request #52143 from Microsoft/46192_terminal_renderer
Terminal renderer and activeTerminal APIs
2018-06-19 05:29:00 +08:00
Matt Bierner
423cd0e5e0 More robust workaround for path preservation 2018-06-18 11:22:34 -07:00
Matt Bierner
08bfe78581 More restrictive regex for rename 2018-06-18 11:22:34 -07:00
Pine Wu
1e0be8ddb1 SCSS unknown at rules 2018-06-18 11:13:55 -07:00
Pine Wu
79b64c4f81 [css] Add css launch config for testing grammar 2018-06-18 10:31:13 -07:00
Matt Bierner
2e5253d493 Move diagnostic tags api out of proposed
Also rename `customTags` to `tags`

Fixes #51104
2018-06-18 10:11:19 -07:00
Johannes Rieken
c93d5e7d92 less commented out test for #10659 2018-06-18 17:45:26 +02:00
Johannes Rieken
40df36b6e5 add proposed api for workspace edit #10659 2018-06-18 17:43:47 +02:00
Johannes Rieken
3595e26f3c adopt CompletionItem#preselect in TypeScript #35551 2018-06-18 16:15:57 +02:00
Johannes Rieken
b2cbf270ad adjust return type signature, #34968 2018-06-18 15:55:43 +02:00
João Moreno
c3942c67b1
Merge pull request #52145 from NahomAgidew/master
Remove inline git revert confirmation alert (Issue #43625)
2018-06-18 10:54:49 +02:00
João Moreno
4e575be919
Merge pull request #49167 from chenhowa/git-errors
Await git.pullFrom and gitt.pushTo to ensure any failures display an …
2018-06-18 10:52:46 +02:00
João Moreno
6595dcecfa
Merge pull request #52146 from NahomAgidew/fix/spin-sync-icon-on-push
Fix to #43625: spin sync icon on push
2018-06-18 10:44:43 +02:00
João Moreno
4b1df4f4a7
Update statusbar.ts 2018-06-18 10:44:13 +02:00
Nahom Abi
080e8247cc Fix #51677: Git icon not spinning when pushing from command palette 2018-06-17 18:14:37 -07:00
Daniel Imms
8557d61188 Also test window.activeTerminal 2018-06-17 20:57:23 +08:00
Daniel Imms
7a21839e46 Add test for onDidChangeActiveTerminal 2018-06-17 20:56:40 +08:00
Daniel Imms
524e0f5d27 Add test for sendText -> onInput 2018-06-16 21:35:56 +02:00
Daniel Imms
970fca86e5 Add some more terminal API tests 2018-06-16 21:24:38 +02:00
Matt Bierner
a85c0b6669 Introduce webview.active
The current `.visible` property actually means active. Rename this value to `.active` and introduce a real `.visible`
2018-06-15 15:51:46 -07:00
Nahom Abi
04aba36883 Remove inline git revert confirmation alert (Issue #43625) 2018-06-15 15:36:33 -07:00
Matt Bierner
ab77235bfb Don't show lightbulb if we only have a selection
Removes code action trigger proposal

Fixes #52070
2018-06-15 11:08:22 -07:00
Matt Bierner
36f660424d Add missing file update 2018-06-15 10:27:10 -07:00
Matt Bierner
749eb1ebcd Make sure we handle line number links correctly in preview
Fixes #51919
2018-06-15 10:09:27 -07:00
Matt Bierner
ae7d3eb888 Add workaround for https://github.com/Microsoft/TypeScript/issues/24968 2018-06-15 10:09:27 -07:00
Matt Bierner
30dcf74d92 Show correct directory name in prompt 2018-06-15 10:09:27 -07:00
Matt Bierner
dfc4d75c1a Make sure we always re-queue a diagnostic request after changing documents 2018-06-14 10:09:12 -07:00
Christof Marti
47fc17712d Streamline QuickInput API (#49340) 2018-06-14 18:51:33 +02:00
Benjamin Pasero
2ec2cf597a
API tweaks for grid editor (#51876)
* fix #51001

* add onDidChangeTextEditorViewColumn test that validates moving editor group

* adopt vscode.ViewColumn.Beside

* add vscode.setEditorLayout command
2018-06-14 17:17:39 +02:00
Matt Bierner
a1e58c9ea8 Use type converter to convert location 2018-06-13 18:04:33 -07:00
Matt Bierner
6d075f773b Cleaning up implementations code lens
- Make async
- extract some methods
2018-06-13 18:02:29 -07:00
Matt Bierner
06ea138fbb Use nameSpan for getting basic symbol range
#51176
2018-06-13 18:00:34 -07:00