Commit graph

5638 commits

Author SHA1 Message Date
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