Matt Bierner
45a79e010f
Only catch errors on request
2018-06-04 08:55:24 -07:00
Matt Bierner
7f74bb7526
Don't use active text editor for rename
...
Fixes #50856
2018-06-04 08:51:34 -07:00
Matt Bierner
d49a7913eb
Fix unused var
2018-06-01 12:58:56 -07:00
Matt Bierner
3f67280120
Make sure unused diags are still updated when suggestions are disabled
...
Fixes #50890
2018-06-01 12:01:52 -07:00
Matt Bierner
22a15530b2
Remove now unneeded any
2018-06-01 12:01:51 -07:00
Dirk Baeumer
9275422362
Fixes #50943 : TSC version 2.9.x in watch mode prints different end compile message
2018-06-01 15:16:14 +02:00
Matt Bierner
22789e6b0e
Fix extra word
2018-05-31 17:22:36 -07:00
Matt Bierner
857db02b2c
Add proper contribution schema for ts server pluguins
...
#50682
2018-05-31 17:21:04 -07:00
Matt Bierner
9ce14ae424
Add specific refactor.move scope for js/ts move to new file action
2018-05-31 15:46:12 -07:00
Matt Bierner
3c11a065e7
Still gray out vars even if user has disabled suggestions
...
Fixes #50890
2018-05-31 11:57:16 -07:00
Matt Bierner
c8ff448952
Try using fixAllDescription for js/ts quick fixes
...
Fixes #42549
2018-05-31 10:39:55 -07:00
Matt Bierner
f1efd11c2a
Don't include imports in js/ts document symbol results
...
Fixes #50829
2018-05-31 00:59:32 -07:00
Matt Bierner
228df854e0
Shorten showUnused setting name
...
Fixes #50648
2018-05-30 23:02:28 -07:00
Matt Bierner
c406cb40cf
Remove duplicate strings and small cleanup
2018-05-30 11:46:57 -07:00
Matt Bierner
4ed3b64a3d
Clean up importModuleSpecifier wording
...
Fixes #50817
2018-05-30 11:23:21 -07:00
Matt Bierner
a7a4c6cb6a
Fix parameter not being escaped
...
Fixes #49057
2018-05-30 10:44:41 -07:00
Matt Bierner
5c46e0d66f
Extracting methods
2018-05-29 14:48:43 -07:00
Matt Bierner
2e5746975b
Support TS's noGetErrOnBackgroundUpdate flag
2018-05-24 15:45:16 -07:00
Matt Bierner
ab8b8104db
Use modal for move file alert
2018-05-24 15:14:25 -07:00
Matt Bierner
16939347c8
Fix TS diagnostics not being cleared propery
...
Fixes #50401
2018-05-24 08:05:52 -07:00
Matt Bierner
e8c5cb7248
Use key of instead of key in
2018-05-23 14:15:36 -07:00
Matt Bierner
07299ba779
Avoid updating diagnostics when we don't need to
2018-05-23 14:14:58 -07:00
Matt Bierner
7aa225ace2
Extract scheduleDiagnosticsUpdate
2018-05-23 14:09:47 -07:00
Matt Bierner
4b6922f100
Batch diagnostic updates
...
Fixes #48925
2018-05-23 14:07:22 -07:00
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
b7dcf277a7
Make sure we have closed old resources before performing rename
2018-05-22 10:33:32 -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
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
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
Johannes Rieken
49323b3798
explore Hierarchy<T> idea, #34968
2018-05-17 10:40:08 +02: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
Matt Bierner
21ee81c03b
Working on webview persistence API
...
#49022
2018-05-14 10:34:59 -07:00
Johannes Rieken
183154feba
Merge branch 'master' into joh/outline
2018-05-14 09:18:57 +02:00
Matt Bierner
1cc5e27e64
fix file references
2018-05-11 14:37:22 -07:00
Huachao Mao
b69b51d40c
Rename dipose.ts to dispose.ts ( #49659 )
2018-05-11 12:12:57 -07:00
Matt Bierner
987c3dccf4
Support TS string completion item kind
2018-05-10 18:11:47 -07:00