Matt Bierner
3664b7c10e
Also trigger js/ts signature help on <
...
For https://github.com/Microsoft/TypeScript/pull/24138
2018-05-22 16:17:19 -07:00
Matt Bierner
3136a84e13
Move signature help trigger characters onto class
2018-05-22 16:15:12 -07:00
Matt Bierner
200458ccd8
Split arguments to own lines
2018-05-22 16:11:53 -07:00
Matt Bierner
743bd2dc94
Refactoring signatureHelpProvider
...
Steps:
Use for of
Use undefined
Use namespace
Extract convertSignature
Use join for parameter label
Use map for signature.parameters
Extract getActiveParmeter
Use map to create result.signatures
2018-05-22 16:10:36 -07:00
Matt Bierner
86adb527f1
Workaround for extra ts folding range
...
Fixes #49904
2018-05-22 15:09:52 -07:00
Matt Bierner
ab6290f374
Remove cast
2018-05-22 15:09:52 -07:00
Matt Bierner
7f4393201f
Update paths phrasing
2018-05-22 14:21:47 -07:00
Matt Bierner
18943ce500
Include file name in update paths prompt
2018-05-22 11:25:33 -07:00
Matt Bierner
ba75033ce3
Don't delete diagnostics on file close if file still exists on disk
...
Workaround for #47386
2018-05-22 11:25:33 -07:00
Matt Bierner
b3b2ba104a
Pick up updated js/ts grammar
...
fixes #50293
2018-05-22 10:43:27 -07:00
Matt Bierner
b7dcf277a7
Make sure we have closed old resources before performing rename
2018-05-22 10:33:32 -07:00
Martin Aeschlimann
276eb70cd0
revert jade language id change
2018-05-22 12:42:30 +02:00
Martin Aeschlimann
b217a7f236
[pug] Use pug grammar & rename language id. Fixes #50086
2018-05-22 10:52:19 +02:00
Martin Aeschlimann
f92bacec32
Merge pull request #50049 from callumisitt/patch-1
...
Add link to package homepage in package.json files
2018-05-22 09:34:35 +02:00
Matt Bierner
bc04b05182
Pick up new TS insiders
2018-05-21 19:24:03 -07:00
Matt Bierner
0a0d3d5e45
Add code action trigger to proposed API
...
#50248
2018-05-21 16:19:10 -07:00
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
Callum Isitt
6d25151513
Add link to package homepage in package.json files
...
Displayed at the bottom of the box that appears when hovering over a package name
2018-05-17 15:15:40 +01: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