Commit Graph

98579 Commits

Author SHA1 Message Date
Rich Chiodo 052d5b0027 Fix issue with kernel preselection being overridden by view state (#154968)
* Fix view state overriding selected kernel

* Add test to verify correct kernel is used
2022-07-12 18:03:49 -07:00
Peng Lyu f64912465f Add hot exit support for interactive window (#154974)
* Export Interactive Window tab input.

* Update inputBoxUri.

* remove inputBoxUri from API

* Hot exit

* Expose inputBoxUri and make IW Tab ctor private

* disable hot exit by default
2022-07-12 18:02:32 -07:00
Raymond Zhao 3e18c4995f Escape query, fixes #153583 (#154990) 2022-07-12 17:05:28 -07:00
Peng Lyu 18d44051cd Fix #151981. Avoid re-focus output when output already has focus. (#154991) 2022-07-12 17:01:20 -07:00
Matt Bierner 75e231ad82 Clean up document link resolve (#154959)
- Move vscode scheme normalization to the DocumentLinkProvider
- Remove extra function since we already recognize uri-like links
2022-07-12 15:55:21 -07:00
Logan Ramos 66d8947f84 Fix #154963 (#154975) 2022-07-12 15:54:32 -07:00
Ladislau Szomoru 0a26ed801e Expand isButton to catch ButtonWithDropdown as well (#154987) 2022-07-12 15:53:11 -07:00
Tyler James Leonhardt c5ca63370a grab message from originalMessage as well as localized (#154989)
grab message from originalMessage
2022-07-12 15:26:46 -07:00
Peng Lyu ec72b669e0 Expose inputBoxUri and make IW Tab ctor private (#154979) 2022-07-12 19:50:01 +00:00
Peng Lyu 54927b0c5a Update notebook events comments (#154952)
* Update notebook events comments

* Update src/vs/workbench/contrib/notebook/browser/notebookEditor.ts

Co-authored-by: Joyce Er <joyce.er@microsoft.com>

Co-authored-by: Joyce Er <joyce.er@microsoft.com>
2022-07-12 19:11:00 +00:00
Daniel Imms e1a45ad430 Merge pull request #154958 from microsoft/tyriar/154863
Remove bracketed paste mode from sendText
2022-07-12 12:02:22 -07:00
Matt Bierner 8f4d1a97f3 Clean up HtmlRenderingHook (#154961)
- Pass `HtmlRenderingHook` to hook
-  Rename register function to make it clear it is experimental
- Add docs
2022-07-12 11:27:47 -07:00
Peng Lyu f86174be34 Export Interactive Window tab input (#154864)
* Export Interactive Window tab input.

* Update inputBoxUri.

* remove inputBoxUri from API
2022-07-12 14:01:47 -04:00
Daniel Imms 994ebb3488 Remove bracketed paste mode from sendText
This has to be optionally applied to fix #153592 properly, probably with new API
and command args.

Fixes #154863
2022-07-12 10:16:36 -07:00
Raymond Zhao d627aa4606 Emmet: Add back trigger character arguments (#154940)
Fixes #154375
2022-07-12 09:15:01 -07:00
Alex Ross 56ae202f83 TypeError: Cannot read properties of null (reading 'value') (#154944)
Fixes #154757
2022-07-12 15:52:43 +00:00
Daniel Imms 7ee307f2c5 Merge pull request #154924 from microsoft/tyriar/154811
Re-enable profiles smoke tests
2022-07-12 08:36:53 -07:00
Ladislau Szomoru c7c0acd2ce Git - Commit action button extension api (#154555) 2022-07-12 17:06:16 +02:00
Sandeep Somavarapu 077c168e12 Fix #151921 (#154936) 2022-07-12 14:30:19 +00:00
Johannes Rieken 3cef70638c Merge pull request #154933 from microsoft/joh/preferred-gibbon
joh/preferred gibbon
2022-07-12 16:23:53 +02:00
Matt Bierner eeb8d49317 Move md workspace symbol search to language service (#154874)
* Move md workspace symbol search to language service

Also implements more of IWorkspace for the server

* Revert extra change
2022-07-12 10:04:25 -04:00
Johannes 28e5d3a4b6 add vscode-coi argument for nested iframe, add COI allow attribute for nested iframe 2022-07-12 15:53:27 +02:00
Johannes 6e174529bb tweak allow rules 2022-07-12 15:52:08 +02:00
Alex Ross cb67591f25 Marked as resolved marking has poor visibility with high contrast color themes (#154921)
Fixes #149464
2022-07-12 09:51:31 -04:00
Johannes 9ccb9add3f make sure to allow COI on webview iframe 2022-07-12 15:28:00 +02:00
Johannes 405b8fdbc3 add vscode-coi query when loading webview contents
related to https://github.com/microsoft/vscode/issues/137884
2022-07-12 15:18:19 +02:00
Daniel Imms 3b9cd9812a Re-enable profiles smoke tests
Fixes #154811
2022-07-12 05:35:36 -07:00
Johannes Rieken 2e247a1162 tweak event-naming rule and remove disable-pragma from vscode.d.ts, (#154914)
fixes https://github.com/microsoft/vscode/issues/154526
2022-07-12 14:28:07 +02:00
Johannes Rieken 261e65f44e joh/issue154804 (#154909)
* add action to reset menu hidden states, add actions.contribution file for service and command registration

* some 💄
2022-07-12 13:55:10 +02:00
Alexander Fadeev 491a83446e Add Makefile tests for upgraded grammar: comma, comment, shebang (#154625)
Add Makefile tests for upgraded grammar: comma, comment, shebang.

1. Add comma separator for function calls and conditions.
2. Escaping a comment with an odd count of backslashes (\#, \\\#).
3. Match debian/rules files based on shebang.

Co-authored-by: Alex Ross <alros@microsoft.com>
2022-07-12 13:11:36 +02:00
Ladislau Szomoru acd1db24f2 Git - fix edge case with Windows mapped drives (#154342)
* Fix an edge case with computing relative path on Windows

* Refactor the fix
2022-07-12 12:20:41 +02:00
Tyler James Leonhardt d4bb7e3ebd deprecate observableValue in favor of IObservable (#154279) 2022-07-12 12:00:52 +02:00
Robo 02d648f962 fix: compilation of vscode-encrypt for darwin arm64 (#154762) 2022-07-12 10:00:06 +00:00
Ladislau Szomoru 04b95fcebb Commit Action button polish (#154908)
More Commit Action button tweaks
2022-07-12 11:36:41 +02:00
Johannes Rieken c46640d635 remove obsolete API proposal name from api-tests, fyi @Tyriar (#154902) 2022-07-12 11:35:56 +02:00
Johannes Rieken 51507ba87a make sure to pass the right height to editors, (#154900)
fixes https://github.com/microsoft/vscode/issues/154765
2022-07-12 11:35:25 +02:00
Matt Bierner c9bf4393d5 Rename drop API interface (#154876)
Makes the names more consistent
2022-07-12 11:33:13 +02:00
Matt Bierner 3a9292f23f Remove extra files from build (#154875)
These server files should not be included
2022-07-12 11:31:43 +02:00
Johannes Rieken f3528d481b safer check for crossOriginIsolated (#154907) 2022-07-12 08:47:40 +00:00
Aiday Marlen Kyzy 47a1f80c65 Adding keepLines feature to the settings (#154790)
* Adding the keepLines feature into the settings so the user can format while keeping the original line positions in json documents

* update service

* update dependencies

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2022-07-12 09:59:33 +02:00
Johannes Rieken c71e78d3d6 fix CSP for webWorkerExtHostIframe and also fix URL construction (#154899) 2022-07-12 09:35:41 +02:00
João Moreno f44c00cac8 Download policy translations for previous version if current version fails (#154892) 2022-07-12 07:58:50 +02:00
Benjamin Pasero 5a2c591b82 update nls comment (#153743) (#154890) 2022-07-12 07:12:25 +02:00
Stephen Sigwart 112b2d050c Fix menu shortcuts not working after a webview is shown (#154648)
Release notes, markdown preview, etc. use a web view. The web view uses `WindowIgnoreMenuShortcutsManager`/`allowMenuShortcuts` to disable menu shortcuts.
However, `WindowIgnoreMenuShortcutsManager.didBlur` isn't being called when the editor is closed, so the menu shortcuts stay disabled.

This seems to be a side effect of the fix for #82670.

This does not solve using Cmd+M or Cmd+H while focused on a web view.  I looked into detecting those keys and enabling menu shortcuts, but it seems like MacOS still won't detect them if you enable menu shortcuts after the key stroke is pressed but before the event is finished processing.
2022-07-11 17:55:20 -07:00
David Dossett 1a7cae95fd Update codicons (#154859) 2022-07-11 21:43:40 +00:00
Sandeep Somavarapu 2638da7780 do not scan web extensions in desktop (#154851) 2022-07-11 20:36:47 +00:00
Robert Jin e7e987e3b3 Add Expand all button in explorer view (#153614)
Add expand all button in explorer view to replace collapse all if all workspace root folders are collapsed
2022-07-11 16:30:13 -04:00
Daniel Imms 5cb38d753f Merge pull request #154849 from microsoft/tyriar/update_xterm
xterm@4.20.0-beta.12
2022-07-11 13:07:04 -07:00
Logan Ramos 88f9806a97 Add installation context to install extension command (#154846)
* Add installation context to install extension command

* Update src/vs/workbench/contrib/extensions/browser/extensions.contribution.ts

Co-authored-by: Joyce Er <joyce.er@microsoft.com>

Co-authored-by: Joyce Er <joyce.er@microsoft.com>
2022-07-11 20:04:45 +00:00
Daniel Imms 5a7097e365 Merge pull request #154845 from microsoft/tyriar/154811
Temporarily disable some profile tests
2022-07-11 13:00:46 -07:00