Commit Graph
8695 Commits
Author SHA1 Message Date
João Moreno 85f3f46ec1 fixes #93779 2020-04-09 11:13:36 +02:00
Matt Bierner 7ae7343973 Fix some strict null errors revealed by change to emitter 2020-04-08 18:06:24 -07:00
Matt Bierner d4ce7148dd New custom editor API proposal
For #77131

Fixes #93963
Fixes #94515
Fixes #94517
Fixes #94527
Fixes #94509
Fixes #94514
Fixes #93996
Fixes #93913

This removes explicit edits from the API and reshapes the API to more closely match VS Code's internal API. The change also tries to better express the lifecycle of backups
2020-04-08 17:53:39 -07:00
Rachel Macfarlane 8ff268e598 Ignore 'item already exists' keychain errors for now, fixes ##94005 2020-04-08 14:51:14 -07:00
Matt Bierner 32929fbbb8 Always prefer the extract constant refactoring with the lowest scope
Fixes #94717

Previously we hardcoded a check to scope_0
2020-04-08 13:48:03 -07:00
Matt Bierner 74b4540bd1 Prioritize implement interface over remove unused in JS/ts
Fixes #94212

If both `implement interface` and `remove unused` are possible, only mark `implement interface` as prefered.

Also changes our core code action sorting logic to prioritize autofixes
2020-04-08 13:05:44 -07:00
Martin Aeschlimann d5e12a12dd Use code-snippet suffix for extension snippets. Fixes #94625 2020-04-08 10:12:23 +02:00
Git-Lior ce57f8ad58 bugfix - typescript code completion doesn't recognize property modifiers when more than one exists (#94165)
* fix microsoft/TypeScript#37117 - code completion in typescript fails to recognize property modifiers

* split kindModifiers by comma or spaces
2020-04-07 13:22:28 -07:00
João Moreno 6e89889166 Merge pull request #91872 from jeanp413/fix-91871
Fixes missing git folder actions under Untracked Changes group in scm viewlet
2020-04-07 17:27:01 +02:00
Martin Aeschlimann 72df4fc229 update typescript-vscode-sh-plugin 2020-04-07 09:46:21 +02:00
Eric Amodio 4ccf3e4ef3 Fixes #94163 2020-04-06 23:58:04 -04:00
Eric Amodio 4f179b7241 Adds better menu grouping 2020-04-06 23:21:40 -04:00
Alex Ross f474fcb271 update-grammars 2020-04-06 13:29:57 +02:00
Johannes Rieken 6d0becaadf Merge pull request #94409 from gregvanl/CodeLens
CodeLens should be one word
2020-04-06 08:47:41 +02:00
Jean Pierre e0850567f5 Merge branch 'master' into fix-91871 2020-04-05 20:26:43 -05:00
Rob Lourens ddebb29935 Update PHP grammar, fix #88441 2020-04-05 08:03:27 -07:00
Greg Van Liew 4eded878fc Merge branch 'master' into CodeLens 2020-04-03 14:54:38 -07:00
Eric Amodio 28dbe0755e Fixes #94090 - adds remote scheme for git timeline 2020-04-03 17:28:09 -04:00
Eric Amodio 2c684a77a6 Fixes #94107 remove open changes action 2020-04-03 17:28:09 -04:00
Matt Bierner 75c625d421 Patch js/ts grammars to remove special scopes for node
Fixes #94284

Now the we have semantic highlighting, we should use that to identify if a variable is really from node or not
2020-04-03 14:11:47 -07:00
Matt Bierner a1d80c4a70 Update JS/TS grammars 2020-04-03 14:01:19 -07:00
Greg Van Liew 11893d88ef CodeLens should be one word 2020-04-03 13:46:00 -07:00
Martin Aeschlimann 677b3cfa4b Disable semantic highlighting in large JS/TS files. Fixes #94321 2020-04-03 14:53:07 +02:00
Martin Aeschlimann 5b5b17b67f [json] update service (fixes #91854) 2020-04-03 10:49:42 +02:00
Matt Bierner 2e4d797e51 Add registerCustomEditorProvider2
Create a temporary overload for testing `CustomEditor`. In finalization, we'd update `registerCustomEditorProvider` to take both types of custom editor instead
2020-04-02 15:43:13 -07:00
Rachel Macfarlane 917c420302 Improvements to 'manage trusted extensions' flow 2020-04-01 23:13:50 -07:00
Rachel Macfarlane d93264ae56 Mitigation for #94174 2020-04-01 10:03:18 -07:00
Rachel Macfarlane bf456b64ab Add tracing log level to auth provider, #94005 2020-03-31 16:03:08 -07:00
Matt Bierner d41997790c Remove CustomDocument.viewType
Fixes #93867
For #77131

This property is no longer needed (or very helpful) with the current api design
2020-03-31 12:00:17 -07:00
Matt Bierner 273a4a389d Convert most ts-ignore-calls to ts-expect-error (#93617)
Changes over to use ts-expect-error: https://devblogs.microsoft.com/typescript/announcing-typescript-3-9-beta/#ts-expect-error-comments

This revealed a number of places where we no longer need to supress errors
2020-03-30 17:31:37 -07:00
Rachel Macfarlane 852df3025d Revert "Issue distinct sessions per extension, remove session when extension is removed from trusted list"
This reverts commit 85119afc7b.
2020-03-30 17:03:29 -07:00
Matt Bierner 25377ee712 Update js/ts grammar 2020-03-30 16:29:19 -07:00
Martin Aeschlimann 17e140249f more typescript specific rules 2020-03-31 01:12:41 +02:00
Rachel Macfarlane 85119afc7b Issue distinct sessions per extension, remove session when extension is removed from trusted list 2020-03-30 14:34:42 -07:00
Alex Dima 65309e1d7c Have SemanticTokensBuilder.build() return SemanticTokens (for #93614) 2020-03-30 15:52:25 +02:00
Martin Aeschlimann c4bee7ac82 fix for https://github.com/microsoft/vscode/pull/92397 2020-03-29 22:47:48 +02:00
Martin Aeschlimann cd0d9eb515 Merge pull request #92397 from thernstig/npmrc
Add .npmrc file association as ini-file
2020-03-29 13:46:26 -07:00
Martin Aeschlimann 3c938c800a language specific scopes 2020-03-29 18:03:17 +02:00
Rachel Macfarlane 7ca13ca33b Github auth provider - revoke token on logout 2020-03-28 08:15:30 -07:00
Daniel Imms 3367ea6000 Merge pull request #93505 from microsoft/tyriar/46696_terminal_env
Allow extensions to contribute to terminal environments
2020-03-27 17:09:08 -07:00
Rachel Macfarlane ab91532466 Add 'manage trusted extensions' option to account quickpick, #90385 2020-03-27 15:38:53 -07:00
Matt Bierner 3bcc2f6061 Update js/ts grammars 2020-03-27 15:22:20 -07:00
Matt Bierner 6bdf50706f Enable resolveJsonModule for implicit JS/TS projects
For #93500
2020-03-27 15:11:12 -07:00
Daniel Imms 3e4e23b442 Add debug logs 2020-03-27 11:59:04 -07:00
Daniel Imms 1661165648 Run both sh and ps commands to make tests work in remote 2020-03-27 10:57:14 -07:00
Daniel Imms b94873dc11 Merge branch 'master' into tyriar/46696_terminal_env 2020-03-27 09:43:08 -07:00
Daniel Imms b8aff423a3 Add more API tests 2020-03-27 09:42:39 -07:00
Daniel Imms fc0712520f Add api tests for env var collections
This does not cover the persisted case
2020-03-27 09:30:32 -07:00
Martin Aeschlimann f04dce33a1 Throttle the number of semantic token requests #92583 2020-03-27 16:46:15 +01:00
Alex Ross fa84b60808 Add test for specific c++ grammar freeze 2020-03-27 16:36:57 +01:00