Commit graph

76126 commits

Author SHA1 Message Date
Benjamin Pasero 04d4310a8a fix smoketest (#115586) 2021-02-02 08:20:07 +01:00
Raymond Zhao ee29ad444b Include closed issues too for verification found.
In the notebook, for verification-steps-needed and verification-found,
include closed issues as well, in case there are issues in the current
milestone that have those labels but are closed for some reason.
2021-02-02 05:21:56 +00: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 7d5052f508 Set permission handlers for webviews
Fixes #113916

If not implemented, it seems that these both end up allowing access without a prompt. With these new checks, electron based webviews should now behave more like iframe based webview
2021-02-01 19:06:56 -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 5851bcab4d Use ?. 2021-02-01 18:03:18 -08:00
Matt Bierner c3699dc01d Fix wording on error 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
Martin Aeschlimann ed410a1cc0 adopt icon descriptions fixes from vscode-docs 2021-02-01 23:21:08 +01: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
Matt Bierner 833bae4fd9 Add more explicit implementations of ICustomEditorInputFactory
Fixes #115516
2021-02-01 14:02:14 -08:00
Sandeep Somavarapu 0f9ff35c82 Fix #115289 2021-02-01 22:48:20 +01:00
Martin Aeschlimann 61decba033 fix extension categories sort order 2021-02-01 22:40:54 +01:00
Martin Aeschlimann efaceb5f68 Enable 'Install Additional Product Icon Themes' 2021-02-01 22:36:10 +01:00
Matt Bierner 82af67ebce
Plumb etags through rest of the webview resource pipeline (#115360)
This follows up on 1f8643ef76 to:

- Use etags to prevent file reads if the file has not changed
- Use etags inside the service worker based resource loading flow (web)
2021-02-01 11:55:28 -08:00
Connor Peet 80ba07df03
notebooks: add generic colors for renderers (#109412) 2021-02-01 10:18:07 -08:00
Jackson Kearl d5685965c5 Fix keybinding for Search view missing from view and sidebar
#115556
2021-02-01 09:56:30 -08:00
Connor Peet 0eaf57957f
typeahead: line wrap improvements
Some time ago we made it so that predictions would not start for a line
until the first character was successfully predicted, in order to not
accidentally predict passwords.

This was good, except when it came to wrapping. When predicting a
character, we check the cursor position to check to see whether we
should insert a boundary. However if no predictions are made (or if
there's any boundary in the way) the cursor would be behind the
position for prediction purposes. Namely caused wrapping issues when
pasting long commands in the terminal.

In this commit I separate the physicalCursor from the tentativeCursor,
the latter now always tracks the position of the cursor after _all_
currently-queued predictions have been validated.

This also changed how cursors are dealt with in boundaries -- I still
push the tentative prediction, but this now only moves the tentative
cursor, not the physical one.

This existed before, so I don't think this is candidate-worthy.

Fixes #115164
2021-02-01 09:37:38 -08:00
SteVen Batten 7583817a12 added unreleased fixes to endgame notebook 2021-02-01 09:27:26 -08:00
Johannes Rieken a5a33501be chore - group notebook specific api proposals together 2021-02-01 18:22:04 +01:00
Alex Ross b37252c182 Update grammars 2021-02-01 17:48:44 +01:00
Benjamin Pasero 02d28757e8 💄 2021-02-01 17:14:08 +01:00
Johannes Rieken abbc2e305d more API todos for notebooks 2021-02-01 16:53:56 +01:00
Alexandru Dima 750888c496
Merge pull request #114957 from TacticalDan/tacticaldan/scrollingPerformance
Reduce arbitrary event limiter from 16ms down to 4.16666 (#107016)
2021-02-01 15:46:41 +01:00
Alexandru Dima b82933a1d2
Limit to 8ms (120fps) 2021-02-01 15:46:09 +01:00
Alexandru Dima 0ac7f0ee83
Merge branch 'master' into tacticaldan/scrollingPerformance 2021-02-01 15:37:38 +01:00
Alex Ross 3ec92ad8ad Better hiding of custom hover in icon label 2021-02-01 15:20:36 +01:00
Benjamin Pasero a5b078b551 debt - adopt some ? operator 2021-02-01 15:16:27 +01:00
Benjamin Pasero bc837b7162 💄 dialog main service locks 2021-02-01 14:55:34 +01:00
Cameron 38ca4695d1
Fix #114432: Multiple save dialogs appearing on Windows if Ctrl+S is pressed multiple times (#114450)
* fix multiple save dialogs appearing on Windows when spamming Ctrl+S

* remove old fix and instead keep track of windows with open dialogs in the dialogMainService

* keep initialisation of activeWindowDialogs in constructor

* remove unused variable

* some changes

* queue dialogs based on hash of options

* simplify structure, fix comment typo

* Apply suggestions from code review

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>

* remove unnecessary async/await for aquireFileDialogLock method

* don't acquire file dialog lock for message boxes

* use MessageBoxReturnValue | SaveDialogReturnValue | OpenDialogReturnValue instead of any type for getWindowDialogQueue

* Apply suggestions from code review

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>

Co-authored-by: Benjamin Pasero <benjpas@microsoft.com>
Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
2021-02-01 14:41:44 +01:00
Johannes Rieken 178e7034bc simplify map creation, fyi @bpasero 2021-02-01 14:36:47 +01:00
Alex Ross a0cb5c5a46 Fix port label not always getting set
Part of microsoft/vscode-remote-release#4364
2021-02-01 14:34:07 +01:00
Alexandru Dima ad8f7e1872
Fixes microsoft/monaco-editor#2329: Move registerThemingParticipant call to /editor/ 2021-02-01 14:31:47 +01:00
Alex Ross b24036eaa2 Use label as tooltip fallback properly
Part of #115337
2021-02-01 14:16:23 +01:00
Johannes Rieken 2681e07db4 more notebook todos 2021-02-01 14:11:29 +01:00
Alexandru Dima 53ae79d62d
Avoid the CSS general sibling combinator ~ for perf reasons 2021-02-01 14:11:12 +01:00
isidor ddd678ab29 debug console menu action polish 2021-02-01 14:02:42 +01:00
Alexandru Dima f37f96bbec
Merge pull request #115261 from microsoft/alex/language-config-priority
Give a higher priority to language configuration set via API call
2021-02-01 13:47:52 +01:00
Alexandru Dima 47390dbe1b
Fixes #115221: update emoji tests 2021-02-01 13:42:14 +01:00
Johannes Rieken 300effb0c8 add some notebook API todos 2021-02-01 12:45:27 +01:00
isidor 01e92bdc93 debug: do not render checkmark in view menu for the debug console 2021-02-01 12:00:12 +01:00
Daniel Imms b08c1eb5bc
Merge pull request #115345 from shskwmt/fix/115154
Fixes 115154: Add "overflow: hidden" style to split-view-view
2021-02-01 02:44:51 -08:00
Benjamin Pasero 1f4506183c for now remove isSaving() implementation from custom editors (#115526) 2021-02-01 11:44:30 +01:00
João Moreno 34ca121102 adopt Promises.settled 2021-02-01 11:39:27 +01:00