Matt Bierner
6442241eee
Fix bad merge
2018-05-21 15:18:41 -07:00
Matt Bierner
746f729765
Fix js/ts symbol results
2018-05-21 15:15:53 -07:00
Matt Bierner
610487a878
Still show squiggles if you disable unused variable fade out
...
Fixes #50148
2018-05-21 13:54:14 -07:00
Matt Bierner
ff5f422dda
Prototype update import paths on file rename/move for JS/TS ( #50074 )
...
* Prototype of updating paths on rename file
* Fix apply edits
* Hook up to normal rename
* Fix unit test
* Remove timeout
* Adding prompt
* Bail early if user has set 'never'
2018-05-21 13:26:24 -07:00
Rob Lourens
aa6553e339
Log a couple extra items from EH search
2018-05-20 19:48:15 -07:00
Matt Bierner
3b0e26939c
Include anon functions and class in symbol view if they have children
...
Fixes #49985
2018-05-18 17:25:29 -07:00
Matt Bierner
792fea6c97
Cleaning up ts symbol provider
2018-05-18 17:25:29 -07:00
Matt Bierner
be224bdf25
Pick up updated md grammar
...
#50097
2018-05-18 15:35:30 -07:00
Rob Lourens
912fff91ac
Change File search result API to only return a string relative path to the search folder
2018-05-17 21:51:10 -07:00
Rob Lourens
707a20f4af
Change TextSearchResult API to only return a string relative path to the search folder
2018-05-17 21:25:47 -07:00
Matt Bierner
8bb27cd255
Add unused diagnostic subtype ( #49646 )
...
* Add unused diagnostic subtype
Fixes #15710
Adds a new `DiagnosticTag` class that provide additional information about a diagnostic. Introduce `DiagnosticTag.Unnecessary` to mark when a diagnostic is for unused / unnecessary code
The design comes from Rosyln's diagnostic object and allows us to modify how a diagnostic is rendered without changing its serverity.
Hooks up JS and TS to use this new tag. This is controlled by the `javascript.showUnused.enabled` setting which is enabled by default
- Introduce a new diagnostic severity for unused.
However, using this approach, if a user sets `noUnusedLocals` in their `tsconfig.json`, the resulting diagnostic could only show the squiggly OR be grayed out. Using `customTags` allows us to support both graying out and showing the squiggly
- Custom JS/TS implementation using decorators
Not themable. We want a standard experience across languages.
* - Move to proposed
- Use numeric enum
2018-05-17 15:43:59 -07:00
Rob Lourens
0f7ac44247
EH search - change frequent substr check to charCodeAt, seems like runtime should optimize this anyway but this is faster
2018-05-17 11:56:05 -07:00
Erich Gamma
a323b399d6
dynamically refresh the view when the npm.exclude setting changes
2018-05-17 10:46:16 +02:00
Johannes Rieken
49323b3798
explore Hierarchy<T> idea, #34968
2018-05-17 10:40:08 +02:00
Matt Bierner
96e3ed4b81
Pick up new TS insiders build
2018-05-16 22:52:40 -07:00
Matt Bierner
ab2efd6724
Make sure we inherit the correct border-color
...
#49978
2018-05-16 15:16:15 -07:00
Rob Lourens
fa20275dbd
EH search - logging in output channel
2018-05-15 18:05:15 -07:00
Matt Bierner
4c57171eb4
Add move to new file refactoring for JS/TS
...
Fixes #49866
2018-05-15 17:14:45 -07:00
Johannes Rieken
abf25ad143
Merge branch 'master' into joh/outline
2018-05-15 18:12:33 +02:00
Erich Gamma
c0126de1f3
Render pre/post scripts different from regular scripts
2018-05-15 16:22:40 +02:00
Erich Gamma
6b129c5558
remove filterPrePostScripts
2018-05-15 16:22:39 +02:00
Martin Aeschlimann
c52fe7087c
color provider server capability doesn't define boolean (yet). For Microsoft/vscode-languageserver-node#349
2018-05-15 12:05:59 +02:00
Martin Aeschlimann
5b87b61db5
Merge pull request #49849 from DustinCampbell/update-csharp-grammar
...
Update C# TextMate grammar with important bug fix
2018-05-15 11:35:46 +02:00
Matt Bierner
be413aed89
Use css vars for more webview styling
...
Fixes #49749
2018-05-14 14:36:13 -07:00
Erich Gamma
4f652fc36c
add setting to define whether pre or post scripts should be filtered
2018-05-14 22:49:49 +02:00
Dustin Campbell
0e8690288e
Update C# TextMate grammar with important bug fix
...
This grammar update fixes an issue with comments after property declarations
solved by https://github.com/dotnet/csharp-tmLanguage/pull/117 .
2018-05-14 11:29:38 -07:00
Matt Bierner
21ee81c03b
Working on webview persistence API
...
#49022
2018-05-14 10:34:59 -07:00
Martin Aeschlimann
844c7f1c94
[powershell] Update PowerShell Editor Syntax. Fixes #49789
2018-05-14 14:14:26 +02:00
Christof Marti
e142962e1b
Multi-step input API ( #49340 )
2018-05-14 12:53:38 +02:00
Martin Aeschlimann
0ef24a8113
Merge pull request #49645 from DustinCampbell/update-csharp-textmate-grammar
...
Update C# TextMate grammar
2018-05-14 12:29:25 +02:00
Johannes Rieken
183154feba
Merge branch 'master' into joh/outline
2018-05-14 09:18:57 +02:00
Jean Pierre
7f274127ff
Fix for #49138 ( #49501 )
...
* Fixes #49138
* Updated comment
* Renaming variables for readability
2018-05-13 20:31:50 -07:00
Rob Lourens
ae223635fe
Merge pull request #49736 from Microsoft/roblou/ehSearch
...
Search implemented in extensionHost
2018-05-11 23:31:33 -07:00
Ramya Achutha Rao
aaf7b29625
Dont treat => as possible tag Fixes #48887
2018-05-11 14:44:20 -07:00
Matt Bierner
1cc5e27e64
fix file references
2018-05-11 14:37:22 -07:00
Ramya Achutha Rao
060ec85fbb
Text ending with : are noisy abbreviations Fixes #49376
2018-05-11 14:24:12 -07:00
Ramya Achutha Rao
979efb6b76
Allow ! as css abbreviation in property value Fixes #49214
2018-05-11 14:24:12 -07:00
Huachao Mao
b69b51d40c
Rename dipose.ts to dispose.ts ( #49659 )
2018-05-11 12:12:57 -07:00
Ramya Achutha Rao
1c53b7a0a2
Fix for #49647
2018-05-11 11:27:29 -07:00
Matt Bierner
987c3dccf4
Support TS string completion item kind
2018-05-10 18:11:47 -07:00
Matt Bierner
0ff8a3e9e0
Use vscode.*
2018-05-10 15:26:52 -07:00
Matt Bierner
430272b09e
Use / as a trigger character for jsx
2018-05-10 15:10:14 -07:00
Matt Bierner
12323264c1
Re-enable syntax based folding for js/ts by default in insiders
2018-05-10 15:10:14 -07:00
Matt Bierner
49170e54b1
API allowing CodeActionProviders to reliably get the current editor selection ( #49081 )
...
Fixes #49024
Fixes #49060
See #49024 for details on the problem. Makes code action providers take a range | selection. Always pass the selection if one is available.
2018-05-10 15:09:26 -07:00
Matt Bierner
d8e5520575
Pick up new TS insiders
2018-05-10 13:56:06 -07:00
Dustin Campbell
076c084930
Update C# TextMate grammar
...
This update adds support for ref structs, and ref readonly locals and return types. Contributed by
[@idafi](https://github.com/idafi ) with https://github.com/dotnet/csharp-tmLanguage/pull/114 .
2018-05-10 13:08:46 -07:00
Matt Bierner
50a7fe9bce
Introduce experimental fade out of unused variables
...
Gated behind undocumented setting. Requires proper vscode API
Part of #15710
2018-05-10 10:53:15 -07:00
Matt Bierner
1a820a0a1b
Add setting to control show unused variables
2018-05-10 10:53:15 -07:00
Rob Lourens
a84db4acde
EH search - quickopen basically working (without filtering, batched results, etc)
2018-05-09 17:09:05 -07:00
Rob Lourens
57e95597d1
EH search - extension API updates
2018-05-09 14:18:17 -07:00