Commit graph

10449 commits

Author SHA1 Message Date
rebornix 0df177fe39 fix tests. 2021-02-04 18:33:17 -08:00
Eric Amodio 2fda718ad7 Fixes #115801 - improves conflict decorations 2021-02-04 17:25:48 -05:00
Sandeep Somavarapu 4dfab617e0 Merge branch 'sandy081/smoketests/remote' 2021-02-04 20:49:47 +01:00
Matt Bierner a0855b30c7 Use rmdirSync instead of rimraf
Fixes #115668
2021-02-04 11:44:33 -08:00
Connor Peet fd2ce701b6
testing: fix locale string
Fixes #115778
2021-02-04 10:41:42 -08:00
Connor Peet 5b2dc0cad2
npm: move debug script lens into npm, clean up parsing logic
This keeps our npm logic in one place and avoids activating the heavier-
weight `js-debug` extension on every .json file.

Also, use the same command to debug both from the explorer and
from script lens.

Fixes https://github.com/microsoft/vscode-js-debug/issues/782
2021-02-04 18:41:27 +00:00
Alex Ross 3973012a9c Only getPackageManager once per folder
Part of #115384
2021-02-04 16:45:24 +01:00
Sandeep Somavarapu 056d660918 Merge branch 'master' into sandy081/smoketests/remote 2021-02-04 14:43:38 +01:00
Sandeep Somavarapu d4b65868f2 enable the test 2021-02-04 13:58:20 +01:00
Johannes Rieken 0494790a5e fix https://github.com/microsoft/vscode/issues/115746 2021-02-04 13:55:54 +01:00
Sandeep Somavarapu 9572b419cb test not running - enable remote check 2021-02-04 13:53:21 +01:00
Benjamin Pasero 914cef30d5 integration tests - disable minimap to reduce error output (#115747) 2021-02-04 13:33:54 +01:00
Sandeep Somavarapu 3c3686e0fb check only extension 2021-02-04 11:50:34 +01:00
Sandeep Somavarapu 0ecd7f72d8 add remote server cli test 2021-02-04 10:08:29 +01:00
deepak1556 9ddea6f385 chore: bump electron@11.2.2 2021-02-04 08:44:52 +01:00
deepak1556 ff85144fdd chore: bump electron@11.2.2 2021-02-03 14:16:12 -08:00
Raymond Zhao caca11f299 Bump Emmet to fix #115623 2021-02-03 17:56:20 +00:00
Benjamin Pasero 376716d1ae status bar - don't leak RPC objects from API (#115679) 2021-02-03 14:01:13 +01:00
João Moreno 06c0dbe616
fix compilation error 2021-02-03 13:43:03 +01:00
João Moreno 2525f3e276
Merge branch 'master' into pr/113673 2021-02-03 13:39:20 +01:00
Johannes Rieken a01d16e77e debt - use a native private property in ExtHostQuickInput 2021-02-03 09:44:52 +01:00
Johannes Rieken c399d039a7 debt - don't expose MainThreadNotebookShape from NotebookEditorDecorationType 2021-02-03 09:30:38 +01:00
Johannes Rieken 74937e0a89
Merge pull request #115530 from microsoft/joh/norpc
Hide API implementation proxies, add tests to check for "proxy leakage"
2021-02-03 09:17:56 +01:00
Martin Aeschlimann cba8232d77 update seti & add preview page 2021-02-02 23:53:44 +01:00
Peng Lyu acb300b004
Merge pull request #115630 from microsoft/rebornix/multi-selection
multi selection for notebook cells
2021-02-02 12:48:06 -08:00
Matt Bierner 06fc252b9a Prioritize import quickfix over spelling
Fixes #115372

If both import and spelling fixes are returned, only the import will be marked as preferred
2021-02-02 12:32:36 -08:00
rebornix 16d8419562 smoke test 2021-02-02 11:32:29 -08:00
rebornix c3c0db94f3 Merge remote-tracking branch 'origin' into rebornix/multi-selection 2021-02-02 09:42:55 -08:00
rebornix c4f273e3df fix tests. 2021-02-02 09:39:10 -08:00
Martin Aeschlimann b60478452f [themes] fix dept in default theme files. Fixes #111877 2021-02-02 17:05:26 +01:00
João Moreno c3b556727e
fix update-grammars script 2021-02-02 12:30:08 +01:00
João Moreno 8bf9b56ade
Merge branch 'joao/extensions' 2021-02-02 12:06:01 +01:00
Matt Bierner d9ff550d02 Add intellisense for onOpenExternalUri activation and rename event
Fixes #115131

Also renames the activation event to `onOpenExternalUri`
2021-02-01 19:57:54 -08:00
Matt Bierner d99c218e9b Make sure we always apply TS auto imports, even if VS Code applies the completion before it has been resolved
Fixes #109439

This introduces a new `ApplyCompletionCommand` that is included on all JS/TS completions, which  applies additional parts of the completion (such as auto imports).

This is needed since VS Code will not always wait until `resolveCompletionItem` completes before appling the completion. This causes auto imports to sometimes not work when typing quickly
2021-02-01 18:03:18 -08:00
Matt Bierner 60bb22ddd3 Use test instead of match 2021-02-01 18:03:18 -08:00
Matt Bierner 7490ac87e1 Fix spelling 2021-02-01 18:03:18 -08:00
Matt Bierner 4ccfa1d019 Fix spelling 2021-02-01 18:03:18 -08:00
Matt Bierner 6f1fbfdd93 Inline object map type
It was only being used in one spot, so just inline this type
2021-02-01 18:03:18 -08:00
Matt Bierner 8c3e6cd9ee Fix spelling 2021-02-01 18:03:18 -08:00
Matt Bierner 4e00f75408 Remove stubs file reference protocol 2021-02-01 18:03:18 -08:00
Eric Amodio 6fed1b6383 Uses background flag for better perf/mem usage
Filters out deleted resources
2021-02-01 18:02:28 -05:00
Matt Bierner 925d9234b8 Pick up latest TypeScript 4.2 nightly
This also migrates us to use our normal TS install for the serverless version
2021-02-01 14:15:27 -08:00
Alex Ross b37252c182 Update grammars 2021-02-01 17:48:44 +01:00
Johannes Rieken a99dd66f0f test more results of create-functions 2021-02-01 17:41:29 +01:00
Johannes Rieken 2ceeaeb681 hide proxy from TextEditorDecorationType 2021-02-01 17:06:51 +01:00
Johannes Rieken a0c75f6053 add tests for createXYZ functions and skip most of them... 2021-02-01 14:52:37 +01:00
João Moreno 03da2de889 add proper yarn.lock files 2021-02-01 14:35:52 +01:00
Johannes Rieken 46cf57b264 a bunch of failing tests 2021-02-01 12:01:32 +01:00
Johannes Rieken 930b5686ff add todo 2021-02-01 12:01:26 +01:00
Johannes Rieken 3114b1c4c5 hide rpc proxies 2021-02-01 12:01:20 +01:00
Johannes Rieken 4cfd5f8508 clipboard changes 2021-02-01 12:01:14 +01:00
Johannes Rieken 1ecf01b9c7 mark rpc protocol and proxies with symbols and try to find them from an API test (with success...) 2021-02-01 12:01:07 +01:00
João Moreno ec805db5ed
add repository field to extensions package.json 2021-01-29 15:30:45 +01:00
João Moreno 9a5d14e307
run prettier over extensions json files 2021-01-29 15:19:18 +01:00
Matt Bierner 8c5e805d3a Fix spelling 2021-01-28 12:01:38 -08:00
Sebastian Pfitzner b0ac7e40bb add Julia grammar 2021-01-28 16:55:22 +01:00
Eric Amodio e6d5a20944 Fixes getBranch when name is fully qualified 2021-01-27 14:51:15 -05:00
Martin Aeschlimann 4bd2d367e7 Remote smoketest timeout (fixes #115159) 2021-01-27 15:52:25 +01:00
João Moreno 7b0cfdd04a
fix git askpass 2021-01-27 09:45:19 +01:00
Matt Bierner a56bc0c671 Don't write preferredLocation into workspace settings for find file references 2021-01-26 16:17:14 -08:00
Matt Bierner e5c4f426fe Fix setting decription and remove unused setting 2021-01-26 16:03:36 -08:00
rebornix d5bdb0efb2 fix #115011. 2021-01-26 08:39:30 -08:00
João Moreno 9e07bfd594
related to #115037 2021-01-26 14:12:50 +01:00
João Moreno 75ff8b1131
fixes #115037 2021-01-26 14:10:49 +01:00
João Moreno 1f1ed78f7d
Use ;; instead of ; for line comments (#115036)
LISPs in general and Clojure in particular by convention uses double semicolons
for regular line comments. Single semicolons are reserved for trailing comments
at the end of a line, and are treated (aligned) differently in some editors,
notably Emacs.

Co-authored-by: Arne Brasseur <arne@arnebrasseur.net>
2021-01-26 05:01:49 -08:00
rebornix ae8bd3216f 💂 tests for selecting kernel. 2021-01-25 15:58:57 -08:00
Eric Amodio 2f6c928b20 Fixes getBranch issue with remote branches
Improves perf by reducing git calls from 3 to 1

Before this change, remote branches were returned as local ones (RefType.Head), now they will be RefType.RemoteHead
2021-01-25 18:50:31 -05:00
Wahid Shafique 748b2e5a85
Remove # from typescript deprecation warnings (#114787)
Remove tags to match standard deprecation warnings (example dceba9ebb7/extensions/html-language-features/package.nls.json (L32))
2021-01-25 15:37:58 -08:00
Martin Aeschlimann 68b7e79867 fix test-product icon 2021-01-25 21:54:34 +01:00
Oleg Demchenko 582ea371c2
[microsoft-authentication] Extend authentication session to return id tokens (#114675) 2021-01-25 12:12:05 -08:00
Alexandru Dima 5a3fedf0c4
Merge pull request #114628 from microsoft/alex/python-language-configuration
Move `onEnterRules` to `language-configuration.json`
2021-01-25 20:50:40 +01:00
Martin Aeschlimann 62093ff022 [html/json/css] update services & dependencies 2021-01-25 20:17:54 +01:00
Alexandru Dima d877e86bdd
Merge branch 'master' into alex/python-language-configuration 2021-01-25 20:11:25 +01:00
João Moreno 3b03189afa
Restore extensions in core (#114921)
* bring back grammar extensions

* fix hygiene

* Revert "pull themes from the marketplace"

This reverts commit 0738f76dac.
2021-01-25 17:07:56 +01:00
David Sanders 7b317afd93
Fix starting scroll for URIs with fragment (#111126) 2021-01-22 17:41:25 -08:00
Connor Peet add5b32d95
testing: initial implementation of test decorations 2021-01-22 12:58:45 -08:00
Martin Aeschlimann 5809e9eb03 testresolver: support server extensions 2021-01-22 15:49:14 +01:00
Alex Ross e5dd4b6e4b Add mock support for public ports to test resolver 2021-01-22 12:09:26 +01:00
Jackson Kearl 7e55fa0c54
Search In Open Editors (#107756)
* Initial work on "search in open editors"

* Update wording

* Update messaging for open editors config

* Add command to open all git changes (in association with searching in all open editors)

* Add strict parsing mode to search using providers for specific files

* Clean

* Remove log

* Naming

* Transfer open editors config to search editor

* Pass in more places

* Add some testing
2021-01-21 16:59:07 -08:00
Matt Bierner 542de8e009 Move schemes to opener metadata 2021-01-21 14:41:25 -08:00
Matt Bierner 885585c7f8 Remove test math formula from readme 2021-01-21 14:41:25 -08:00
Alex Ross 3ec9067200 Simplify local port logic in test resolver + OS check 2021-01-21 16:53:57 +01:00
Alex Ross e8f6c27381 Use random port if privileged in test resolver 2021-01-21 16:36:30 +01:00
Alex Ross fcccc85ff9 Add more to test resolver tunnel factory and fix port filtering 2021-01-21 16:23:55 +01:00
Alex Ross d8831220ff Update showCandidatePort for test resolver 2021-01-21 15:06:55 +01:00
Martin Aeschlimann b5f36a24b6 testresolver: start a test server 2021-01-21 14:04:08 +01:00
Martin Aeschlimann 0249c31a59 testResolve: more tunnelservice fixes 2021-01-21 12:14:35 +01:00
Alexandru Dima c735c8b291
Merge branch 'master' into alex/python-language-configuration 2021-01-21 12:13:43 +01:00
Martin Aeschlimann 67bf6577b4 testResolver: fix for tunnel server 2021-01-21 12:09:24 +01:00
Martin Aeschlimann 15e58cea4d test resolver: add tunnel server 2021-01-21 11:57:28 +01:00
Eric Amodio 6b241a6845 Closes #111210 - adds openRepository api 2021-01-21 01:06:48 -05:00
Eric Amodio 5bcd222075 Fixes checking for rebase against wrong branch
Refs: #1866
2021-01-21 00:29:16 -05:00
Rachel Macfarlane 93ae815ba1 Feedback on secrets API #112249 2021-01-20 09:24:48 -08:00
Florian Schwalm cbbf2d0990 Correctly resolve mapped drive on Windows
fs.realpath.native in NodeJS uses the Win32 API function GetFinalPathNameByHandle() on Windows hosts,
therefore a given path must follow the guidelines for Win32 API file functions.
Drive letters on Windows need to end on a backslash according to the Win32 File Naming Conventions (https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file)
Omitting the backslash results in Windows treating the remaining path components as a relative path starting from the current directory on the specified disk
https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file#fully-qualified-vs-relative-paths
2021-01-20 11:58:37 -05:00
Alexandru Dima ec1eda0d96
Rename OnEnterRule.oneLineAboveText to previousLineText after API call feedback (#58440) 2021-01-20 17:31:04 +01:00
Alexandru Dima 2d5f7fd072
Move onEnterRules to language-configuration.json 2021-01-20 12:20:27 +01:00
Jackson Kearl b50bd5d094 Close #114342 2021-01-19 19:45:15 -08:00
Henning Dieterichs 1f8643ef76
Refresh Images In Markdown Preview On Change (#114083)
* Refresh Images In Markdown Preview On Change (implements #65258).

* Fixes tests.

* Implements etags.

* Adds tests for urlToUri.

* Updates doc comment.
2021-01-19 18:01:21 -08:00
Jean Pierre 7f4d67c94c
Fix #110812 (#114553) 2021-01-19 14:21:02 -08:00
Martin Aeschlimann ff393a3349 add open tunnels to test resolver 2021-01-19 11:45:55 +01:00
João Moreno af2bcd4d46
bring back vscode-colorize-tests 2021-01-19 11:39:39 +01:00
Jonathan Mataloni 9441f1c645
Add support for npm scripts with a space (#113840)
This PR fixes #113750
2021-01-18 12:02:53 +01:00
Matt Bierner 0faf155028 Disable on enter test
This one seems to sometimes fail in ci on windows
2021-01-15 16:07:08 -08:00
Matt Bierner 48b726e39e Fix regex
Star was mistakenly removed in last commit
2021-01-15 14:35:55 -08:00
Matt Bierner 5f6acfb68e Move jsdoc completion tests to smoke tests 2021-01-15 13:47:58 -08:00
Matt Bierner 800e173c40 Split ts into unit and smoke tests
The smoke tests are less reliable as they simulate user actions

Fixes #102075
Fixes #102097
Fixes #102106
2021-01-15 13:32:27 -08:00
Alexandru Dima b813d5dd30
Leave the local extension host running when connection is lost to the remote extension host 2021-01-15 22:12:35 +01:00
Jackson Kearl 3a9daf3e34 Adopt new vscode-userdata path format 2021-01-15 13:00:42 -08:00
Raymond Zhao b2575665d8 Emmet wrap update, fixes #113930 2021-01-15 11:23:44 -08:00
Eric Amodio 21c11ba864 Fixes #114433 - adds setting to avoid git config 2021-01-15 14:05:55 -05:00
Matt Bierner 663532c317 Skipping unreliable test
Also makes sure the TS extension is activated for each of them
2021-01-15 10:38:50 -08:00
Matt Bierner a68f1326e8 Update built markdown preview code 2021-01-15 10:38:50 -08:00
Matt Bierner 308a4f6a48 Make sure ts extension has loaded before running on-enter tests
Fixes #101922

Also adds back a test that was incorrectly removed
2021-01-15 10:38:50 -08:00
Matt Bierner d87041edde Downgrade simple browser to prompt instead of being the default on web
We need more testing in codespaces before enabling it automatically
2021-01-15 10:38:50 -08:00
João Moreno bc7d3c9ea6
remove grammar extensions 2021-01-15 12:35:17 +01:00
Eric Amodio 9c7128d8fa Fixes #114384 - recheck resources after save/add 2021-01-15 00:16:53 -05:00
Takashi Tamura a34e751b01
Fix scrolling of markdown preview. Close #65504 (#111094)
* Fix scrolling of markdown preview.

* Use scrollDisabledCount.

* Stop initializing scrollDisabledCount.

* Make scrollTo enough large to occur scroll events.

* Should resolve when the error event occurs.
2021-01-14 17:24:08 -08:00
Matt Bierner 6cceb4eab0 Remove enabled setting and try to open simple browser to side of current editor 2021-01-14 17:06:14 -08:00
Matt Bierner 1e3a23b4e0 Fix simple browser button color for light themes 2021-01-14 17:06:14 -08:00
Matt Bierner cc5e8b22fa Continue work on url opener api
For #109277

- Add `option` opener priority. This means the oper will only be shown if requested but will not replace the default opener
- Persist registered openers for IntelliSense suggestions
2021-01-14 17:06:14 -08:00
Wenlu Wang c8a6ddba9d
Enable forceConsistentCasingInFileNames flag (#114334) 2021-01-14 11:25:11 -08:00
Matt Bierner 5d6cba5cbc Reworking external opener implementation to allow configured openers to be called directly without a canOpen check
If the user has configured a specific external uri opener, we should always try to use that without first calling `canOpen` to filter down the list of openers.

This change also adds `ExternalUriOpenerEnablement` which allows an opener to mark itself as the preferred opener for a given uri. If only a single preferred opener is returned, it will be used automatically for that uri (although user configuration can override this)
2021-01-14 10:37:00 -08:00
Matt Bierner 710846866f Activate extension on simpleBrowser.api.open 2021-01-13 16:56:39 -08:00
Matt Bierner b7f9eddf04 Allow passing viewColumn to simpleBrowser.api.open 2021-01-13 16:56:39 -08:00
Raymond Zhao a1d5ea876c Polish, also fix #113930 2021-01-13 16:09:17 -08:00
Matt Bierner ea13176ee9 Enable image preview for avif images
Fixes #106415

Support for these was added in electron 11
2021-01-13 13:52:34 -08:00
Matt Bierner e7aa009ac3 Remove enabledHosts setting
This setting is no longer used
2021-01-13 12:53:18 -08:00
Matt Bierner 47aa3ad09a Continue work on opener service
- Add error notification if opener throws an exception
- Add public facing id to openers. This is used in settings
- Add intellisense for the opener id setting
2021-01-13 12:53:18 -08:00
Alex Dima 31a15b5b9a
Add command to kill server and trigger handled error 2021-01-13 20:45:41 +01:00
João Moreno 9bfa4c1d55
Merge branch 'joao/extract-extensions/themes' 2021-01-13 09:54:36 +01:00
Eric Amodio 27b824b32c Adds ability to pass remote/refspec to pushTo cmds 2021-01-13 00:56:07 -05:00
Eric Amodio d076ee1b94 Adds force push mode to push api 2021-01-13 00:42:07 -05:00
Eric Amodio 02380e7014 Removes repo hint from args 2021-01-13 00:42:06 -05:00
Rob Lourens d7d5f20047 Fix #114218 2021-01-12 19:17:58 -08:00
Matt Bierner 47a135e715 Rework opener api proposal
For #109277

- Add more explicit two phase structure to api
- Make opener pass along label when registered
2021-01-12 16:14:42 -08:00
Jackson Kearl 6184addcd1 fall back to homepath if home unset.
closes #112775
2021-01-12 15:44:20 -08:00
Rob Lourens b3d57e69b0 Update PHP grammar, fix #113185 2021-01-12 15:41:23 -08:00
João Moreno 0738f76dac
pull themes from the marketplace 2021-01-12 20:46:44 +01:00
Eric Amodio 3767f97bc3 Adds onDidPublish to Git api 2021-01-12 12:15:40 -05:00
Eric Amodio 8832366467 Closes #110881 - adds possibly rebased warning 2021-01-12 12:15:39 -05:00
Christof Marti b33b28dd07 Activate onStartupFinished (#110031) 2021-01-12 08:17:35 +01:00
Jackson Kearl cef7004a46 activate search result extension onLanguage:search-result #110031 2021-01-11 11:22:17 -08:00
Rachel Macfarlane c85297669e Move id, label, and options to authentication provider registration 2021-01-11 10:53:17 -08:00
Alexandru Dima 3d500ebd8b
Adopt proposed CancellationError (#93686) 2021-01-11 17:31:22 +01:00
Martin Aeschlimann 60bc00ff63 webpack config typing fix 2021-01-11 09:57:11 +01:00
Benjamin Pasero 6bd7b70515 Revert "Enable webview tests (#114059)"
This reverts commit 01c6003c29.
2021-01-09 11:23:34 +01:00
Matt Bierner 01c6003c29
Enable webview tests (#114059)
These tests were disable due to some occasional failures on build machines. This PR enables them but with flakySuite while I track down possible causes of these failures
2021-01-08 15:57:28 -08:00
Eric Amodio 6828ae1ab5 Removes trim & fixes regex 2021-01-08 11:52:50 -05:00
Alex Ross bebd066407 Fix gulp task provider so that it doesn't always try to run 2021-01-08 16:04:47 +01:00
Matt Bierner 0949d5b794 Remove unused var 2021-01-07 17:52:06 -08:00
Matt Bierner acda4aed82 Make the external opener a two phase process
This changes makes a few changes to the openers:

- Move the opener prompting from the extension host into the main thread
- Make the external opener process two phases: get openers and then open. This would let us skip the trusted domain validation for extension handled links if we want to in the future
- Add lifecycle to commands used by the uri opener

For #109277
2021-01-07 17:42:12 -08:00
Raymond Zhao d36b3616e7 Change Emmet to onStartupFinished #110031 2021-01-07 13:22:10 -08:00
Matt Bierner e2c305f3a3 Allow registering additional external uri openers
This change moves the extension uri opener contribution point to instead use the internal `IExternalOpener` api instead of the more generic `IOpener` api. This is required since external uri openers should see the resolved uri that has gone through port forwarding, not the raw uri that the user clicked on
2021-01-07 11:41:07 -08:00
Matt Bierner bdf57b45ce Remove button background in simple browser 2021-01-07 11:41:07 -08:00
Johannes Rieken 74bc1d2672 re-enable test for https://github.com/microsoft/vscode/issues/111867 2021-01-07 09:18:51 +01:00
Connor Peet 01089c0a50
testing: fix unit tests 2021-01-06 15:35:20 -08:00
Connor Peet e2c9137841
testing: fix unit tests 2021-01-06 15:32:50 -08:00
Connor Peet 5909115757
testing: code lens and diagnostic information for tests 2021-01-06 15:22:49 -08:00
Eric Amodio f1151f84ff Adds userAgent to clone, pull, fetch - #111909
Changes to use env
2021-01-06 17:50:42 -05:00
Matt Bierner 809d2f63d0 Added show options to simple browser open command 2021-01-06 12:17:36 -08:00
Matt Bierner 2fed7ba374 Adding settings to control which schemes simple browser is enabled for
Also adds a setting to enable/disable the focus lock indicator
2021-01-06 12:17:36 -08:00
Martin Aeschlimann c49ef6df61 [html] update auto-rename-tag to linkedEditing migration 2021-01-06 15:49:06 +01:00
Thomas Schmid 1228854b4a
Adds support for gulpfiles using ESM. (#113505) 2021-01-06 15:36:42 +01:00
Johannes Rieken 0cb7dad36f adopt creation of N resources at once, https://github.com/microsoft/vscode/issues/111867 2021-01-06 14:46:32 +01:00
Johannes Rieken b99e9bc299 apply file edits in bulks of equal edits, https://github.com/microsoft/vscode/issues/111867 2021-01-06 14:46:32 +01:00
Eric Amodio 9b6aaf1e86 Fixes #112481 - missing refs (because of trim) 2021-01-05 23:19:41 -05:00
Raymond Zhao dc5a3da3ab
Upgrade to latest Emmet (#113848) 2021-01-05 15:14:33 -08:00
Martin Aeschlimann cfc8c5d3d7 extension webpack: do not copy .ts files as resources 2021-01-05 22:37:28 +01:00
Matt Bierner 52bdc14cc6 Copy of translated errors for js/ts web build 2021-01-05 12:57:26 -08:00
Martin Aeschlimann 485c5fc009 Revert "extension webpack: do not copy .ts files as resources"
This reverts commit ab1aeb6b73.
2021-01-05 21:10:37 +01:00
Rachel Macfarlane ced3bb4bb9 Secrets API feedback 2021-01-05 10:17:05 -08:00
Martin Aeschlimann ab1aeb6b73 extension webpack: do not copy .ts files as resources 2021-01-05 17:24:22 +01:00
Martin Aeschlimann 0a3e23a5b2 new html settings not it in the settings UI 2021-01-05 17:24:22 +01:00
Rachel Macfarlane 998e5e2ea6 onDidChangePassword -> onDidChange in secrets API 2021-01-04 22:20:07 -08:00
joan xie 1bb2ae0e36
Allow ResourceCommandResolver.getRightResource() to return undefined (#113364) 2021-01-05 01:05:23 -05:00
Rachel Macfarlane 7db413d4c1 Move secrets API to extension context 2021-01-04 22:04:40 -08:00
Matt Bierner a48ef56fbf Fix compile for current TS version 2021-01-04 19:25:10 -08:00
Matt Bierner 3ed300eb9d
Add simple browser extension (#109276)
* Add support for TS's Hierarchical refactorings API

https://github.com/microsoft/TypeScript/pull/41975

* Add simple browser extension

This change adds a new 'simple browser' extension. This extension uses a webview to render webpages directly in VS Code. We plan on using it for optionally previewing local servers in both desktop and codespaces

The browser itself has a number of limitations due to the security around iframes:

- It traps keyboard focus
- We can't detect if a page fails to load
- We can't track the current url of the iframe

* Add experimental alert when the iframe is focused

* Disable events on focus warning

* Hooking up simple browser to opener
2021-01-04 19:06:53 -08:00
Matt Bierner 69dfa670ef Fix compile error if using older ts version 2021-01-04 17:55:19 -08:00
Matt Bierner 942c3bad6b Sort contribitions 2021-01-04 16:57:38 -08:00
Matt Bierner b565c422aa Add find all references command for JS/TS
Fixes #66150
2021-01-04 16:57:24 -08:00
Matt Bierner 48742bd3a1 Update ts grammar pinning tests 2021-01-04 12:53:04 -08:00
Matt Bierner 74623bc93c Update JS/TS grammars 2021-01-04 12:09:36 -08:00
Nick Rayburn 3563e2b740 rename run to exec for consistency 2021-01-01 21:20:12 -06:00
Alexandru Dima 7242082983
Fixes #112834: Ensure the markdown link provider is registered before invoking vscode.executeLinkProvider 2020-12-30 21:50:10 +01:00
Raymond Zhao 56c808a66a
Emmet flatten DocumentStreamReader (#113602) 2020-12-30 11:00:21 -08:00
Raymond Zhao b84858babe
Emmet remove dependency on vscode-html-languageservice (#113599) 2020-12-30 10:14:23 -08:00
Alex Ross 92d4b14e29 Update rust grammar 2020-12-30 13:06:19 +01:00
Raymond Zhao 15561c4139 Emmet polish 2020-12-29 16:33:41 -08:00
Raymond Zhao 15ba9aee0e
Emmet improve Expand Abbreviation perf (#113558) 2020-12-29 16:15:55 -08:00
Raymond Zhao b5cd082cd4
Emmet refactor toggle comment (#113557) 2020-12-29 15:02:55 -08:00
Raymond Zhao 433833fbe0
Emmet refactor reflect CSS and update image commands (#113550) 2020-12-29 12:44:12 -08:00
Raymond Zhao c44b7d25d9
Refactor Emmet merge lines and select item commands (#113516) 2020-12-28 17:36:38 -08:00
Raymond Zhao c7dbab59ff
Emmet create new html-matcher override instead of using LS (#113508) 2020-12-28 15:06:23 -08:00
Alexandru Dima 76c974bfeb
Have a clear list of directories where yarn should be executed 2020-12-23 11:28:32 +01:00
Bohdan Yevchenko 445f259e34
Add sorting to npm scripts (#112725)
This PR fixes #92773 - npm scripts panel is not ordered
2020-12-22 10:33:42 +01:00
Alexandru Dima 20831dd3df
Keep only @types/* deps in /build/ and share terser (#112718) 2020-12-18 19:51:10 +01:00
Raymond Zhao 273a5cdf5a Emmet comment spacing fixup, fixes #112835 2020-12-18 18:41:12 +00:00
Raymond Zhao 6ad2dccc78 Emmet Toggle Comment HTML 💄 2020-12-18 18:02:01 +00:00
Raymond Zhao ea15eb4e5a Strengthen sameNodes check 💪 fixes #112829 2020-12-18 17:48:50 +00:00
Martin Aeschlimann 6d55262031 update vscode-uri 2020-12-18 17:31:22 +01:00
Alexandru Dima 4fc14314b6
Fix compilation problem 2020-12-18 14:58:02 +01:00
Alexandru Dima edd37076b4
Adopt new mocha types 2020-12-18 14:19:51 +01:00
Alexandru Dima f74ad9692f
Align @types/* dev dependencies (#112718) 2020-12-18 13:28:39 +01:00
Martin Aeschlimann d4e98289a3 [css] revert changes to test runner 2020-12-18 11:17:57 +01:00
Alexandru Dima 65c59b509b
Merge pull request #112798 from microsoft/alex/node-modules-types-keytar
Use the root typings for keytar since we are loading the root node module
2020-12-18 10:56:01 +01:00
Martin Aeschlimann daad75c2c6 [css] update to vscode-uri@3.0 2020-12-18 10:31:31 +01:00
Alexandru Dima aa2864d53f
Remove most of the yarn license warnings 2020-12-18 10:26:14 +01:00
Alexandru Dima 2dd359c715
Use the root typings for keytar since we are loading the root node module (#112718) 2020-12-18 09:39:10 +01:00
Alexandru Dima c927a8015b
Merge pull request #112771 from microsoft/alex/node-modules-vscode
Move away from deprecated 'vscode' node module
2020-12-17 23:09:46 +01:00
Raymond Zhao 25cb0d70d4 Update removeTag command
- Handles mixed spacing indents
- Affects #104173
2020-12-17 21:58:32 +00:00
Alexandru Dima fee6dbf4e0
Merge remote-tracking branch 'origin/master' into alex/node-modules-vscode 2020-12-17 22:02:47 +01:00
Alexandru Dima e461782061
Fix compilation problem 2020-12-17 22:00:45 +01:00
Alexandru Dima 5e3dfd3bb8
Merge pull request #112765 from microsoft/alex/node-modules-typescript
Share typescript node module
2020-12-17 21:56:44 +01:00
Alexandru Dima 7ca71e763d
Move away from deprecated 'vscode' node module (#112718) 2020-12-17 21:40:14 +01:00
Alexandru Dima e0498f0cdd
Share typescript node module (#112718) 2020-12-17 20:58:11 +01:00
Raymond Zhao dadb18c39e
Upgrade Emmet removetag perf + behaviour, fixes #104173 2020-12-17 11:56:53 -08:00
Alexandru Dima e42440bd35
Merge remote-tracking branch 'origin/master' into alex/node-modules-webpack 2020-12-17 17:35:21 +01:00
Alexandru Dima cbc47b1d7b
Do not share terser 2020-12-17 14:38:44 +01:00
Alexandru Dima 804c90cc49
Adopt more breaking changes from copy-webpack-plugin 2020-12-17 13:05:14 +01:00
Alexandru Dima 2aa92c6e83
Adopt copy-webpack-plugin breaking change 2020-12-17 12:01:07 +01:00
Alexandru Dima 1cada18542
Share webpack related node modules (#112718) 2020-12-17 11:16:03 +01:00
Alexandru Dima ed19f6082f
Share mocha related node modules (#112718) 2020-12-17 11:03:49 +01:00
Raymond Zhao a28b7022e0 Emmet fix edit point commands #112691 2020-12-16 23:27:07 +00:00
Raymond Zhao 483bd40550
Update several Emmet commands (#112597)
For match tag, update tag, and balance in/out, we now have the following:

- vscode-html-languageservice parse is being used to speed up file parse times
- Balance balance-in after balance-out behaviour is now more consistent
- These commands now work in markup files with unclosed tags
- Implemented a cache for these commands to prevent multiple document parses on the same version of the document
2020-12-16 10:20:57 -08:00
SteVen Batten f76b1c25e7 remove quotes since we don't spawn shell 2020-12-14 22:03:51 +00:00
meganrogge 0f33afa9f9 fix #112217 by replacing look behinds 2020-12-14 10:30:45 -08:00
Martin Aeschlimann a22b5d54ad [json/css/html] adopt lsp 316 2020-12-14 18:18:58 +01:00
Alex Ross 4301777727 Update grammars 2020-12-14 15:50:30 +01:00
dependabot[bot] 45c7cae914
Bump ini from 1.3.5 to 1.3.7 in /extensions/markdown-language-features (#112275)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-14 11:22:24 +01:00
Martin Aeschlimann d55a3f0bca
Merge pull request #112296 from yeswolf/master
Add more frequently-used Ruby filenames to Ruby bundle (based on the actual TextMate bundle)
2020-12-14 11:06:00 +01:00
Matt Bierner 072d922c45 Revert "Revert "Pick up offical TS build for web server""
This reverts commit eb5c4388c7.
2020-12-11 13:39:19 -08:00
Matt Bierner eb5c4388c7 Revert "Pick up offical TS build for web server"
This reverts commit f29a3cabc4.
2020-12-11 12:14:58 -08:00
Matt Bierner 92723a8a2c Bump markdown-it and highlight versions 2020-12-11 12:14:27 -08:00
stanislav.dombrovsky 6d79a70a36 Add more frequently-used Ruby filenames to Ruby bundle (based on the actual TextMate bundle) 2020-12-11 18:05:30 +03:00
艾斯特洛 3b34ea9f16
Update commands.ts (#112222) 2020-12-11 00:57:34 -08:00
Johannes Rieken bb68097d15 add extra check to understand https://github.com/microsoft/vscode/issues/112263 2020-12-11 09:48:15 +01:00
Eric Amodio 38a8980905 Avoids triggering autofetch unless setting changes 2020-12-11 01:06:10 -05:00
Jason Williams 83f43bee1d
Changing autofetch to a string config which has "current", "all" and (#111090) 2020-12-11 00:54:21 -05:00
Eric Amodio 6424b09b2c Fixes #111909 - adds user agent to push 2020-12-10 17:02:45 -05:00
Matt Bierner c3d8989b24 Enable going to stdlib on serverless 2020-12-09 18:20:28 -08:00
Matt Bierner 582f8f6bb0 Bump Static version of web TS version 2020-12-09 18:19:14 -08:00
Matt Bierner e6a13fb134 Remove work around for TS not supporting paths on its own 2020-12-09 18:19:14 -08:00
Matt Bierner 71fad5aa41 Enable preferConst in TS project 2020-12-09 18:19:14 -08:00
Matt Bierner 1633404883 Remove unused types 2020-12-09 18:19:14 -08:00
Matt Bierner f29a3cabc4 Pick up offical TS build for web server 2020-12-09 17:22:26 -08:00
Matt Bierner 79557ebbd2 Make sure markdown preview is updated if on disk file is updated
Fixes #111685
2020-12-09 14:08:15 -08:00
Alex Ross 83993fb92c Fix run npm script in folder command
Fixes #112152
2020-12-09 16:25:00 +01:00
Martin Aeschlimann 49dc593a83
Merge branch 'master' into master 2020-12-09 10:40:30 +01:00
Alex Ross 59ba6494b9 Better timing for multiple lock files warning
Fixes #111635
2020-12-09 10:10:58 +01:00
Sandeep Somavarapu ab8c8dbd8e Fix #112030 2020-12-07 17:56:56 +01:00
Martin Aeschlimann de3dd1383c Active indent lines do not render in High Contrast theme. Fixes #111137 2020-12-04 12:03:43 +01:00
João Moreno 0c947cb4ee
fixes #96264 2020-12-04 11:43:10 +01:00
Connor Peet 63137db51c
debug: fix auto attach not turning on if reselecting current state
Fixes https://github.com/microsoft/vscode/issues/111021
2020-12-03 22:07:19 -08:00
Alex Ross a63786db23 Add paren, bracket, and brace to autoclosing pairs for make
Fixes #89191
2020-12-03 15:53:01 +01:00
meganrogge 4884986dd6 tweak smart select test 2020-12-02 10:13:02 -08:00
meganrogge a2193cb827 fix #111714 2020-12-02 10:10:21 -08:00
chenjigeng c8e490e5e6 chore: optimized code 2020-12-02 23:00:23 +08:00
chenjigeng 3e22e6f412 feat: add the rename test cases of html-language-features 2020-12-02 22:29:09 +08:00
chenjigeng 8f712866cf fix: check canRename before findRenameLocations 2020-12-02 22:27:32 +08:00
Alex Ross 8d171e6492 Improve multiple lock files notification
Fixes #111589
2020-12-02 14:39:46 +01:00
dataleaky 1e0094545c
Merge branch 'master' into master 2020-12-02 10:34:31 +05:00
meganrogge 5e54da666c fix #111675 and #111673 2020-12-01 17:03:47 -08:00
dataleaky a0aeb3a559
Update package.json 2020-12-01 23:39:50 +05:00
condichen@tencent.com 94b2772f8c feat: add rename symbol within <script> tags 2020-12-02 01:00:54 +08:00
Alex Ross 3689660fcc Add descriptions for npm.packageManager options
Fixes #111628
2020-12-01 15:53:30 +01:00
dependabot[bot] 6062ebe318
Bump highlight.js in /extensions/markdown-language-features (#111262)
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 9.15.10 to 10.1.2.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/10.1.2/CHANGES.md)
- [Commits](https://github.com/highlightjs/highlight.js/compare/9.15.10...10.1.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-30 17:32:45 -08:00
Matt Bierner 9e5f14c1bc Default strict null checks to off for implicit projects
For #109988
2020-11-30 16:40:15 -08:00
Martin Aeschlimann 18ecb87939 fix html yarn.lock 2020-12-01 01:05:42 +01:00
Eric Amodio c358910b01 Fixes #110880 - sets useConfigOnly=true on commit 2020-11-30 17:55:52 -05:00
Martin Aeschlimann 634fb13135 [css][html] update dependencies 2020-11-30 23:54:53 +01:00
Martin Aeschlimann 8448b1680c [html] update dependencies 2020-11-30 23:54:53 +01:00
Martin Aeschlimann dceba9ebb7 [css][html] Option to disable MDN Reference popups only (without effecting other functionalities). For #97979 2020-11-30 23:25:50 +01:00
Miguel Solorio c6e90c5ea3 Update 'statusBarItem.errorBackground' default color token (refs #110214) 2020-11-30 14:10:49 -08:00
Martin Aeschlimann ec13471816 [json] Inconsistency between files.insertFinalNewline and Format Document. Fixes #17359 2020-11-30 23:07:24 +01:00
Martin Aeschlimann 0b97b6b160 [json] update dependencies 2020-11-30 22:42:58 +01:00
Alex Ross 2afcea867a Use argparse 1.0.9 in npm extension 2020-11-30 15:03:16 +01:00
João Moreno a5a37240bc fixes #108001 2020-11-30 11:51:01 +01:00
Martin Aeschlimann 444f79cc3a Improve quiet light diff syntax highlighting. For #107926 2020-11-27 17:33:36 +01:00
Martin Aeschlimann e24ea5ef61
Merge pull request #107926 from alisonnoyes/master
Quiet Light theme diff syntax highlighting
2020-11-27 17:25:52 +01:00
Martin Aeschlimann 1a6d7f3118 [json] performance warning message can't be ignored. Fixes #105988 2020-11-27 17:24:02 +01:00
Martin Aeschlimann 627ad0b4ee rename OnTypeRename -> LinkedEditing (for #109923) 2020-11-27 16:31:56 +01:00
João Moreno 995983da54
github: get all branches 2020-11-27 14:02:13 +01:00
João Moreno 0321ca5d96
fixes #106664 2020-11-27 12:22:16 +01:00
Martin Aeschlimann 3ceea17846 npm: use project dir when using npm 2020-11-25 11:53:14 +01:00
Johannes Rieken bd40e2555b remove TS on-type-rename feature, https://github.com/microsoft/vscode/issues/109923, fyi @mjbvz 2020-11-24 17:58:28 +01:00
Martin Aeschlimann 2efde187ac HTML Semantic Tokens test failures. Fixes #111214 2020-11-24 09:31:21 +01:00
Raymond Zhao 4c55c7264f Revert "Fix #58600, Format Emmet package.json (#110891)"
This reverts commit ffacef4727.
2020-11-23 09:20:27 -08:00
João Moreno 12983c8175 Merge remote-tracking branch 'origin/master' 2020-11-23 11:50:51 +01:00
João Moreno 93f8adf263 💄 2020-11-23 11:50:16 +01:00
Martin Aeschlimann 07d680b7c8 semantic highligting: deprecate member, add method. Fixes microsoft/language-server-protocol#1087 2020-11-23 11:41:12 +01:00
João Moreno e81eb57671 Merge branch 'master' into pr/107705 2020-11-23 11:33:12 +01:00
chenjigeng eae037b391 Fixed Hover style incorrect when writing javascript in HTML 2020-11-22 10:52:27 +08:00
Connor Peet a194746aa3
auto attach: allow temporarily disabling
Fixes https://github.com/microsoft/vscode/issues/111021
2020-11-20 16:08:05 -08:00
BTNDev 2b75c3d5ac
updated javascript for in snippet (#111062)
Updated javascript for in snippet to use Object.hasOwnProperty insted of object.hasOwnProperty because of this vulnerability: https://eslint.org/docs/rules/no-prototype-builtins
2020-11-20 15:37:46 -08:00
Andrew Casey 9195c9ab14
Expose TS server tracing (#110534)
* Add typescript.tsserver.enableTracing setting

* Document typescript.tsserver.enableTracing setting
2020-11-20 15:28:18 -08:00
Matt Bierner b4c0cfb513 Better note current version in TS version UI
Fixes #111001
2020-11-19 22:19:32 -08:00
Matt Bierner 67b0e2d72d Pick up TS 4.1 final release
Fixes #111000
2020-11-19 22:09:54 -08:00
Matt Bierner 59428623f9 Cancel encodedSemanticClassifications-full on resource change
For #102161
2020-11-19 14:14:21 -08:00
Raymond Zhao ffacef4727
Fix #58600, Format Emmet package.json (#110891) 2020-11-19 13:44:11 -08:00