Commit graph

13527 commits

Author SHA1 Message Date
Ladislau Szomoru fe423bbdba
Git - Improvements to opening git repositories in parent folders (#171617)
* Initial implementation for external repositories

* Added setting

* Add basic welcome views

* Replaced "Always Open" with "Configure"

* Remove code duplication

* Polish based on feedback

* Language consistency

* Update notification severity

* Move away from the "external repository" terminology

* Refactor notification logic

* Saving my changes

* Further improvements

* Refactor parent repository notification

* Update message and fix edge case when setting is set to `never`
2023-01-18 15:27:58 +01:00
David Wengier c080ef27d7
Update Razor repo (#171560)
* Update Razor repo

* Update cgmanifest too

Co-authored-by: Alex Ross <alros@microsoft.com>
2023-01-18 12:42:03 +01:00
Ladislau Szomoru 9a9d7bfdde
Git - Update getRefs pattern when querying for branches and tags (#171605) 2023-01-18 12:41:32 +01:00
Joyce Er e7d34457a5
Auto publish branches before Continue On in git repositories (#171211)
* Support syncing with remote before Continue On

* Auto publish before Continue On in git extension

* Add configuration description
2023-01-18 11:25:47 +00:00
Tyler James Leonhardt dcb358a79f
Remove console.log (#171563)
This was for debugging. If it was legit I would have used the logger that's available.
2023-01-18 12:13:23 +11:00
aamunger f1e7784c53
div outputs scrollable, register scroll setting 2023-01-17 15:46:47 -08:00
Matt Bierner 116d314e60
Fix watch script exiting on error (#171552) 2023-01-17 14:53:24 -08:00
Martin Aeschlimann d4b18e0bc1
n10n lookup in node language servers (#171437)
* config node language servers with l10n location

* fix loading

* add workaround comment
2023-01-17 23:05:55 +01:00
Jake Bailey 43907341df
Set disableLineTextInReferences=true in TS user preferences (#171376) 2023-01-17 16:46:36 +00:00
Ladislau Szomoru df6f1b8ac5
Git - only show unsafe repository notification if we cannot use a welcome view. (#171485) 2023-01-17 13:36:41 +01:00
Christof Marti 5efa6f4e4f Allow @prerelease 2023-01-17 10:28:05 +01:00
Ladislau Szomoru f50eeb50b5
Git - Migrate post commit command storage (#171416)
* Git - Migrate post commit command storage

* Make it explicit that migration is async
2023-01-16 13:24:17 +00:00
Joyce Er 05e1981145
Lint redundant package.json activation events (#171297) 2023-01-16 09:28:19 +01:00
Ladislau Szomoru 99ecdd4122
Git - Another attempt to fix an edge case for adding a safe directory (#171151)
* Git - Another attempt to fix an edge case for adding a safe directory

* Pull request feedback
2023-01-13 20:10:48 +01:00
SteVen Batten 9194231bb6
support workspace trust keyboard shortcut (#171131)
* support workspace trust keyboard shortcut

* macos test/fix

* Add support for short labels to the Button

* Remove code that is not needed

Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com>
2023-01-13 09:42:14 -08:00
Alex Ross 9bcc577478
Point to new microsoft/vscode-css repo (#171252)
Part of #169873
2023-01-13 14:33:39 +01:00
Alex Ross ede5714228
Update SQL grammar (#171237)
Fixes #171114
2023-01-13 10:42:37 +01:00
Matt Bierner 848d300e8c
Use explicit flag to enable TS server project wide intellisense (#171208) 2023-01-12 23:15:18 +01:00
David Dossett 7daa453220
Fix typo lin Light+ V2 widgetBorder rule (#171203) 2023-01-12 22:17:41 +01:00
David Dossett b6acfe86f4
Fix editor cursor colors in v2 themes (#171202) 2023-01-12 22:15:04 +01:00
David Dossett 127a4c7b4a
Fix active icon color for selected list items in Light+ V2 (#171201) 2023-01-12 21:53:00 +01:00
Nathan Shively-Sanders 3261c7d3af
Cross-file Typescript support in vscode-web (#169311)
* recreate logging from other machine

* comment out openSystemBrowser

Because I dont have the default browser set up correctnly on any of my
machiens

* Add vscode-wasm-typescript dep

And some logging as I figure out how to use it

* remove unused reference to module

* use require reference that linter allows

* Add vscode-wasm-typescript to tsserver.web.js

Use webpack's CopyPlugin transform pattern to do this manually. This is
probably a bad idea! It's just for prototyping purposes.

* Update vscode-wasm-typescript dependency

* Fix minor syntax in webpack hack

Nonetheless required for it to work!

* Fix another typo in webpack hack!

* Fix provided typescript path

Another typo. Guess my local test wasn't running the contents really

* Try to improve module.exports handling in webpack hac

* tsserver.web.js comes from local builds

Also:
- tsserver.js is no longer minified
- log crossOriginIsolated

* First attempt to set up server-side support

* Remove auto-imported identifier

* Move sync-api setup code to serverProcess.browser.ts

Because it's browser-specific

* Reorder webpack hack and clean up unused logging

* Update vscode-wasm/vscode-wasm-typescript dependencies

* Add file watching

* Extract webpack hack

Build only the ts parts of tsserver.web.js, don't rebuild the vscode
extension. This is a lot faster.

* Remove manual verbose logging

Sheetal showed me the correct way to create a verbose logger instead.

* Add vscode-test-web to semantic-supported schemes

And make isWeb support semantic mode.

* Also update the webpack-hack-only build

* Switch to tsserverlibrary

Also paste in some example code for cancellation, which is not finished
at all.

* Remove bogus auto-import and unneeded (?) dep

* remove webpack-like hack

* move code from vscode-wasm-typescript

* Initial prototype of cancellation

It compiles and looks kind of plausible. But I haven't tested it yet.

* Switch tsserver to separate MessageChannel

* Move watches to a separate MessagePort

Further simplifies the message dispatch code by shifting complexity to
setup. And the setup is straight-line code.

* switch vscode-web from in-memory to real filesystem

goto-def is currently broken because some part of main vscode still
needs treat the files as in-memory, though.

* Make toResource translate / -> vscode-test-web

* Encode scheme and authority in TS filenames

Like the previous host did, but without the leading ^ that TS hard-codes
as "in-memory".

The tsserver host needs to know about the encoding, but the translation
is in a single function. This also means that displayed file paths are
prefixed with /scheme/authority (/vscode-test-web/mount in my testing), but I think that's fine.

* Lift parseUri outside createServerHost

I'm not using it to set the schema/authority for getCurrentDirectory
right now, so there's no shared state to mutate.

* Special-case URI of lib*d.ts in webServer.toResource

Similar to the special-casing in typescriptServiceClient.toResource.
Also requires passing in the extensionUri. This feels like it's breaking
through at least one abstraction layer, which might be a problem.

* Improve cancellation

1. Simplify cancellation checking in web tsserver host to match the
checking in typescript's node host.
2. Move cancellation of request in the extension to tryCancelRequest
from sendNextRequests.
3. Only send cancellation via node or web cancellation, not both.

* Pass in current request instead of waiting for a fresh one.

* Address initial PR comments

Also add some TODO comments for the revision to watches.

* Add cancellation bit to each (cancellable) request, locally fix an issue with retrieving the cancellation bit

* Switch to per-file/directory watches

Watching the entire filesystem recursively is supposed to be
inefficient.

Not done yet: there is an error when watching directories, but it works.
And I can't tell whether watching files works yet.

* Parse --serverMode partialSemantic in webServer

Now the syntax server actually runs as a syntax server.

* Simplify logging code

* Cleanup in webServer

1. Remove a little logging.
2. Correct failure return value for getFileSize
3. Reorder some methods and parameters.

* Switch to markdown extension's FileWatcherManager

I'm not sure if it's OK to depend on a module from another extension;
it's probably better to include the files from a central place instead.

* Clean up host methods

1. Copy and adapt implementations from node host where possible.
2. Note questions for the PR elsewhere.
3. Remove logging except for caught exceptions.

* More logging/TODO cleanup

* Remove duplicate dependency

* Add setting to enable/disable semantic mode on web

Also gate it behind a check to `crossOriginIsolated`

* Re-order and re-arrange code to minimise PR diff

It won't minimise it *much*, but I also consolidated some
unnecessarily-spread-out code that will be easier to read in the long
term, and possibly easier to read in diff form as well.

* Copy fileWatchingManager to typescript extension

Copy from markdown extension to typescript extension. I used the
existing dependencies in the typescript extension, but verified that
they would work the same.

* Fix linting of webServer

* Align formatting of catch / else

* Extract isProjectWideIntellisenseOnWebEnabled and keep using in-memory prefix when project wide intellisense is disabled

* Make sure we still work if SharedArrayBuffers aren't supported

* Remove symlink support and fix typo

Symlinks are implicitly supported by the filesystem right now.

* Fix compile errors

Co-authored-by: Johannes <johannes.rieken@gmail.com>
Co-authored-by: Matt Bierner <matb@microsoft.com>
2023-01-12 11:54:39 -08:00
Matt Bierner e14165e0f5
Remove extra space in log message (#171197) 2023-01-12 20:43:08 +01:00
Tyler James Leonhardt 656e526b3e
Add EMU to session telemetry (#171186)
* Telemetry for EMU

* comment
2023-01-12 18:51:18 +01:00
David Dossett 1b8ec09a7c
Fix active editor line foreground in Light+ V2 (#171185)
Fix active editor line foreground
2023-01-12 18:43:24 +01:00
David Dossett 80f49e72fd
Fixi terminal cursor in Light+ V2 (#171184) 2023-01-12 18:41:53 +01:00
David Dossett ea7e0d5cfc
Fix badge foreground (#171182) 2023-01-12 18:31:02 +01:00
Joyce Er d61f46dcf7
Support continue in local clone from remote window (#171134) 2023-01-12 08:03:15 -08:00
Christof Marti b7f4d34134 Reference original schema (devcontainers/spec#93) 2023-01-12 14:34:43 +01:00
Ladislau Szomoru 05baad392b
💄 Git - use double quotation mark in the action button tooltip (#171161) 2023-01-12 14:10:49 +01:00
Babak K. Shandiz ea85d0ce72
🖊 Include branch name in commit button popup (#167827)
* 🖊 Include branch name in commit button popup

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* 🖊 Include branch name in "Publish" button popup

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
2023-01-12 13:52:34 +01:00
Alexander Fadeev 82305d3a31
Makefile tests for else ifeq|ifneq|... syntax (#170888) 2023-01-12 13:33:38 +01:00
Martin Aeschlimann f76815d952 dev container schema: use unevaluatedProperties 2023-01-12 11:27:40 +01:00
David Dossett 87d1de6a45
Update various dark+ v2 colors (#171123)
Update dark+ v2 accent and button text colors
2023-01-12 01:44:39 +01:00
Matt Bierner 95f9599d16
Remove typescript.suggest.includeCompletionsWithSnippetText setting (#171098)
Fixes #171091

This setting controls TS Server's behavior and should not be exposed directly. Instead you can use the `includeCompletionsForImportStatements` and  `suggest.classMemberSnippets.enabled` settings to enable/disable individual types of completions
2023-01-11 12:09:32 -08:00
Ladislau Szomoru b2b0642c45
Git - Fix bug related to Stash & Checkout (#171099) 2023-01-11 12:07:17 -08:00
RezCoder 85e992bffa
issue 163803/ first pick a ref then pick a name in create-branch-from... (#170908)
* pick a ref then a name in create-branch-from...
2023-01-11 15:13:05 +01:00
Ladislau Szomoru 47fe934057
Git - Fix ref sorting regression (#171058) 2023-01-11 13:22:57 +01:00
Ladislau Szomoru 827636e106
Git - Add getRefs() extension API (#170903)
* Add `getRefs()` extension API

* Cleanup
2023-01-11 11:21:23 +01:00
Peng Lyu 7ab8a39a89
Fix #132143. Softer image update on rerun. (#170917)
* Fix #132143. Softer image update on rerun.

* Output raw data update required.
2023-01-10 10:16:59 -08:00
Daniel Imms e29f8fd78f
Remove .only from test (#170970) 2023-01-10 16:14:18 +01:00
Alex Ross 91db8ea85f
Update make grammar (#170948) 2023-01-10 11:50:28 +01:00
Ladislau Szomoru 65962c405e
Git - cleanup getRemotes() (#169839)
* Git - cleanup getRemotes()

* Remove test for read-only remote as the code to determine that a remote is read-only has been moved out of the function that does the parsing
2023-01-09 14:24:35 +01:00
Peng Lyu 44caddbba3
Fix #170683. Only disable word wrap for traceback. (#170709) 2023-01-06 10:30:45 -08:00
Ladislau Szomoru 797f4caca1
Git - Remove dependency on the refs property (#170579)
* Remove usage of repository.refs from merge, rebase, pullFrom

* Remove remaining dependencies
2023-01-06 09:22:14 +01:00
Aaron Munger 0294a28ca0
attachment field can be null (#170584) 2023-01-05 10:06:36 -08:00
Benjamin Pasero e5b0dac77d
🆙 @parcel/watcher@2.1.0 (#170603) 2023-01-05 02:28:31 -08:00
Ladislau Szomoru 74f046bfa9
💄 Git - delete tag does not use repository.refs (#170565) 2023-01-04 17:40:35 +01:00
Logan Ramos 4acf2d9b46
Update the telemetry modules (#170512)
Update the module
2023-01-03 15:10:45 -05:00
Ladislau Szomoru 2377c7a4c5
💄 Git - Add icon to the message item (#170486) 2023-01-03 16:07:23 +01:00
Ladislau Szomoru 1542e90126
Git - Add command to delete remote tags (#170415)
Add command to delete remote tags
2023-01-03 06:08:48 -08:00
Ladislau Szomoru 1d18dfc209
Git - detect when HEAD is a tag (#170271)
* HEAD set when checking out a tag

* Remove more calls

* Remove tag references when in detached mode
2023-01-03 06:07:46 -08:00
Benjamin Pasero f01a44b447
Editors can steal focus later when opening slowly (fix #128117) (#170328)
* Editors can steal focus later when opening slowly (fix #128117)

* play it a bit safer

* fix tests
2023-01-01 16:31:26 +01:00
Connor Peet 00b145c091
fix: serverReadyAction with ANSI colors (#170315)
Fixes #159391
2022-12-31 00:24:02 +01:00
Peng Lyu 90277d5c56
Fix #170263, do not parse html for stream output. (#170264) 2022-12-30 08:05:30 +01:00
Ladislau Szomoru d227bd7495
Git - disable publish branch action button when in detached mode (#170272) 2022-12-30 08:04:46 +01:00
Tyler James Leonhardt a790196c19
Improve PAT auth flow (#170239)
This improves the PAT auth flow by showing a modal to open github.com with the scopes already pre-filled.

This should allow for less room for error during the PAT auth.

Additionally, this allows PAT auth flow to be used as a fallback for GH Enterprise flows.
2022-12-29 20:28:57 +01:00
Raymond Zhao 1e723aa674
Upgrade emmet-helper (#170188)
* Upgrade emmet-helper

* Bump to 2.8.6
2022-12-29 00:09:10 +01:00
Peng Lyu aa2bb7034c
Support horizontal scrolling for error output (#170132) 2022-12-27 23:33:52 +01:00
Sandeep Somavarapu 2e74e3c951
fix #167628 (#170110) 2022-12-27 15:28:31 +01:00
Sandeep Somavarapu f2bcf4c272
fix #167699 (#170108) 2022-12-27 06:02:26 -08:00
Ladislau Szomoru 77fc799cf3
Git - fix issue with optimistic ui updates (#169824) 2022-12-22 13:33:59 +01:00
Peng Lyu 42814d18a7
Fix #160745. Fix streaming output styling and duplicates. (#169792) 2022-12-21 20:58:23 -08:00
Ladislau Szomoru e1719c310d
Git - Add blocking property to operation types (#169781) 2022-12-21 21:29:30 +01:00
Ladislau Szomoru e8b107b85b
Git - Fix bug when we checkout a remote branch detached (#169274)
* Fix bug when we checkout a remote branch detached

* Pull request feedback
2022-12-21 06:54:31 -08:00
Ladislau Szomoru 9e195507a2
Git - Define Operations as types (#169518)
Define Operations as types
2022-12-21 06:53:29 -08:00
Peng Lyu bf6305fb52
Re #125369. Reduce commands in nb integration test. (#169684)
Re #125369. Reduce commands
2022-12-20 22:47:01 +01:00
Matt Bierner fc763d98df
Re-apply markdown copy files setting (#169661)
* Revert "Revert "Add experimental setting to define where files should be copied for markdown (#169454)" (#169615)"

This reverts commit b2121c2dbe.

* Fix tests

These paths should always use `/`
2022-12-20 11:04:51 -08:00
Ladislau Szomoru cfca4b0183
Git - Add notification for the stage/unstage/revert selected ranges commands (#169623)
Add notification for the stage/unstage/revert selected ranges commands
2022-12-20 13:52:40 +01:00
Martin Aeschlimann 3eff2128ce
offside languages: changing ignoreTrimWhitespace default to false (#169555) 2022-12-20 10:09:56 +01:00
Christof Marti b2121c2dbe
Revert "Add experimental setting to define where files should be copied for markdown (#169454)" (#169615)
This reverts commit 1d6b47a005.
2022-12-20 10:03:12 +01:00
Matt Bierner 1d6b47a005
Revert 1d0a9f9e63 (#169578)
Resubmits the original PR with test fixes for windows
2022-12-19 14:25:37 -08:00
Peng Lyu f2e35ef4ce
Re #131239. Add html link and auto link detection support. (#169577) 2022-12-19 22:55:35 +01:00
Raymond Zhao 3834785d0c
Mark CompletionList as complete (#169574)
Fixes #168997
2022-12-19 22:11:03 +01:00
Ladislau Szomoru df3d2c350f
Git - Remove remote quick pick includes description and icon (#169571) 2022-12-19 12:09:34 -08:00
Raymond Zhao 1846f69774
Await insertSnippet calls (#169570)
* await insertSnippet calls

Fixes #146171

* Exclude eslint file from PR
2022-12-19 12:09:07 -08:00
Peng Lyu d4533c71ed
Link support for notebook output. re microsoft/vscode-jupyter#12285 (#169565)
* Link support for notebook output. re microsoft/vscode-jupyter#12285

* Resolve comments
2022-12-19 11:19:57 -08:00
Ladislau Szomoru 7d7fa09ae5
Git - fix issue where change is on the first line of the editor (#169557) 2022-12-19 18:07:41 +01:00
Ladislau Szomoru a565017f12
Git - use application name in auto fetch notification (#169543) 2022-12-19 15:22:00 +01:00
Ladislau Szomoru 2c8b54bbbf
Git - Add support for git stash --staged (#169539)
Add support for git stash --staged
2022-12-19 15:04:55 +01:00
Benjamin Pasero 1d0a9f9e63
Revert "Add experimental setting to define where files should be copied for markdown" (#169492)
Revert "Add experimental setting to define where files should be copied for markdown (#169454)"

This reverts commit 09c0b1f799.
2022-12-18 14:11:45 -08:00
Matt Bierner 09c0b1f799
Add experimental setting to define where files should be copied for markdown (#169454)
For #157043
2022-12-16 16:23:59 -08:00
Matt Bierner c390a331c5
Switch to standard imports (#169451) 2022-12-17 00:22:53 +01:00
Matt Bierner c1498b35dd
Fix includes check on jsdoc patching (#169446) 2022-12-16 23:36:22 +01:00
David Dossett fd0951ff85
Remove editor whitespace color overrides in v2 themes (#169431) 2022-12-16 20:16:30 +01:00
João Moreno d97f2c1aeb
more mangler output polishing (#169400)
related to #169388
2022-12-16 17:18:17 +01:00
Daniel Imms be6992bf64
Merge pull request #166758 from hughlilly/double-clicking-copyedit
Copyedit: “Double-clicking” -> “Double-clicking”
2022-12-16 07:11:07 -08:00
Ladislau Szomoru c180a08350
Git - fix discard changes when the repository does not have an initial commit (#169397) 2022-12-16 14:47:25 +01:00
Ladislau Szomoru cbf23d1500
Git - better handling for failed stash creation (#169394)
Git - show notification when stash creation fails due to the repository not having any commits
2022-12-16 14:11:07 +01:00
Ladislau Szomoru a56c38c075
Git - Do not pull before checkout when checking out detached (#169387)
Do not pull before checkout when checking out detached
2022-12-16 13:29:32 +01:00
Ladislau Szomoru 4dea68b946
Git - Add the capability to "attach" state to operations (#169371) 2022-12-16 11:08:38 +01:00
Tyler James Leonhardt 461b3f6184
Only have a single window store the session (#169356)
Before this change, every single window was writing to the same secret at basically the same time because they would all refresh the token and then attempt to store that refresh token.

I believe this was causing a few race condition bugs that users were seeing.

With this change we now so our best to have only 1 window store the session by relying on the window focused state.

If the window is focused or becomes focused, we will store the refresh token.

If the window detects that another window has stored something, we will not attempt to wait for focus to store something.

If nothing has happened, and it's been 5 hrs (+/- some seconds) go ahead and store it. This is the scenario of when a user has VS Code in the background for like ages but never goes to it.

ref #165115
ref #130893
ref #168485
2022-12-16 06:58:32 +01:00
David Dossett 5b0a8801a0
Update gutter decoration colors in v2 themes (#169317) 2022-12-15 21:22:17 +01:00
Daniel Imms d07a36c9ca
Adopt terminal active tab color in new themes
Fixes #169313
2022-12-15 11:53:53 -08:00
Daniel Imms 925b335bb9
Replace other non-hyphenated double-click cases
I used ^[^*\/\/]+double click to find the non-comment cases
2022-12-15 10:54:54 -08:00
Matt Bierner f4472157ca
Adopt standard style imports in php extension (#169192) 2022-12-15 10:24:29 -08:00
Ladislau Szomoru 7febede390
Git - more tweaks to command enablement (#169292)
Use a new context for enablement
2022-12-15 18:37:03 +01:00
Logan Ramos b1076b41f3
Bump telemetry packages (#169283) 2022-12-15 17:29:10 +01:00
Ladislau Szomoru 07b7ca6402
Git - Remove duplicate resources to have the correct resource count in the discard dialog (#169258)
Remove duplicate resources to have the correct resource count in the discard dialog
2022-12-15 15:29:25 +01:00
Ladislau Szomoru 6883cfe95e
Git - Add button to migrate changes during checkout (#169251)
Add back button to migrate changes
2022-12-15 14:24:01 +01:00
Ladislau Szomoru 000ce1a7e5
Git - status bar item improvements (#169233)
* More polish on the git status bar items

* Update status bar icon based on ref type

* Update status bar item label at the beginning of checkout
2022-12-15 12:07:49 +01:00
Matt Bierner 57dd298b47
Add typings for test runner scripts (#169196) 2022-12-15 02:19:24 +01:00
Matt Bierner 5c755adaea
Pick up more fixes for markdown-katex (#168678)
Fixes #149593
2022-12-14 16:57:21 -08:00
Matt Bierner 804daac1d6
Fix console not being a known symbol in media-preview (#169065) 2022-12-14 16:57:06 -08:00
David Dossett 0b2a0749c0
Fix checkbox border contrast in default dark/light themes (#169188)
* Add subtle border to dark+ checkbox/text input/dropdowns

* Fix checkbox contrast with updated border colors
2022-12-15 01:21:49 +01:00
David Dossett 17ebf65c8f
Fixed debug toolbar background (#169177) 2022-12-14 21:51:48 +01:00
David Dossett 2612d86f29
Show border on active input options (#169156)
* Show border on active input options

* Update v2 dark theme color
2022-12-14 12:18:16 -06:00
Johannes Rieken 9d99269592
Merge pull request #169138 from microsoft/joh/sourceMaps-mangleProps
Generate source maps for TS property mangling
2022-12-14 17:49:47 +01:00
Ladislau Szomoru c78d585895
Git - Disable git status bar items while commit is running (#169133)
Disable git status bar items while commit is running
2022-12-14 15:35:47 +01:00
Ladislau Szomoru eb2e52b6f8
Git - Disable git commands while commit is in progress (#169124)
Disable git commands while commit is in progress
2022-12-14 13:30:08 +01:00
Alex Ross fcb4dd3b18
Try out new shellscript grammar! (#169118)
Part of #77675
2022-12-14 12:52:31 +01:00
Tyler James Leonhardt 342a1f4f52
Don't run the local server option if we are running in remote (#169076)
Additionally improve the conditional for device code flow.

ref #168338
2022-12-13 17:18:25 -08:00
David Dossett 3b8971f94c
Fix sticky scroll background within peek views in v2 themes (#169043) 2022-12-13 13:44:06 -08:00
Megan Rogge 3e9bfdddc0
quick fix API polish (#168688)
* fix #167649

* Update src/vs/platform/terminal/common/xterm/terminalQuickFix.ts

* fix #167652

* add builtin everywhere for consistency

* fix  #167621 and fix #167646

* get rid of type in api

* fix  #167584

* fix #167587

* fix #167587

* fix #167590 and fix #167557

* Revert "fix #167652"

This reverts commit cf4cc72790.

* Update src/vs/workbench/contrib/terminal/common/terminal.ts

Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com>

* Update src/vscode-dts/vscode.proposed.terminalQuickFixProvider.d.ts

Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com>

* use const enum + more

* use classes

* update npm package.json

* add example for outputMatcher

* improve description

Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com>
2022-12-13 19:32:54 +01:00
David Dossett fe646508b2
Add subtle borders to widgets (#167773)
* Add border to quick pick to match menus

* Add more borders and border radius to widgets

* More border updates

* Move color defaults to themes

* Address feedback
2022-12-13 10:27:08 -08:00
David Dossett 078e953c3f
Fix status bar item hover/active colors (#169024) 2022-12-13 19:04:59 +01:00
Johannes cf8ae4b515
Merge branch 'main' into joh/sourceMaps-mangleProps 2022-12-13 14:18:00 +01:00
Ladislau Szomoru 5d8216787f
Git - Remove double quotation mark from the property value (#168981)
Remove double quotation mark from the property value
2022-12-13 14:08:10 +01:00
David Dossett 0688a52cd3
Light+ V2: match panel background to other workbench parts (#168916) 2022-12-12 16:25:10 -06:00
David Dossett 6f1bf7825b
Light+ V2: Fix text block quote background (#168915) 2022-12-12 16:24:48 -06:00
David Dossett ee3c8252ec
Dark+ V2: match panel color to rest of the workbench (#168906)
Match panel color to rest of the workbench
2022-12-12 12:44:58 -08:00
Matt Bierner a9e4a0f0ed
Pick up latest markdown-it katex (#168673)
Fixes #138970
2022-12-10 00:26:06 +01:00
Matt Bierner 3c5db04316
Use proper function to get image dirname (#168652)
Fixes #168608
2022-12-09 20:45:48 +01:00
Ladislau Szomoru d97a30c701
Git - Improve unsafe repository handling (#168568)
Improve unsafe repository handling by extracting the  repository path to be used when calling git config
2022-12-09 20:23:35 +01:00
Henning Dieterichs 741f5b480a
Fixes flashing of inline conflict marker code lenses (#168598) 2022-12-09 15:16:55 +01:00
Ladislau Szomoru 4ccf2d729b
Git - fix untracked group commands (#168593) 2022-12-09 14:52:09 +01:00
Henning Dieterichs 5597167c4c
Fixes #79125 (#168588) 2022-12-09 14:06:55 +01:00
Johannes Rieken a89b0e97a1
ensure (newly) selected item from references tree is visible in the editor (#168574)
fixes https://github.com/microsoft/vscode/issues/167296#event-7989480633
2022-12-09 13:31:54 +01:00
David Dossett c6aaa761fd
Fix status bar item + remote indicator hover color (#168502) 2022-12-08 20:31:35 +01:00
Matt Bierner 2a04638dba
Pick up TS 4.9.4 (#168500)
For #168354
2022-12-08 20:20:30 +01:00
Ilya Golovin 603019055e
Fix: make git commands work with keyboard (#159113)
* Fix: make git commands work from keyboard

* refactor: improve code style
2022-12-08 14:44:07 +01:00
Matt Bierner b63dd77718
Remove TS extension's use of resolver proposal (#168371)
Fixes #164039
2022-12-08 01:16:19 +01:00
Matt Bierner 9ad5c4a205
Use JSX in display names of the TypeScript React and JavaScript React languages (#168368)
Use JSX in display names of the TypeScript React and JavaScript React languages

Fixes #138285

This changes the display name of the languages `JavaScript React` -> `JavaScript JSX` and `TypeScript React` -> `TypeScript JSX`

This only changes the display names and leaves the ids alone. Changing the ids would be a very breaking change for extensions with no real user benefits
2022-12-08 00:56:04 +01:00
Matt Bierner 1c89f079be
Don't show empty @return in JSDoc (#168366)
Fixes #164888
2022-12-07 15:47:31 -08:00
Tyler James Leonhardt eab8c54b30
Fix a translation (#168353) 2022-12-08 00:08:36 +01:00
David Dossett 48afb8e408
Fix secondary button foreground and hover colors (#168357)
Fix secondary button foreground
2022-12-08 00:02:14 +01:00
Matt Bierner fd0ee4f77e
Remove explicit support for TS versions < 3.0 (#168348)
This removes extra code we had to support TS versions that are 4+ years old. We do not test these versions and a very small number of users are actually using them
2022-12-07 23:31:35 +01:00
Raymond Zhao 62d2aad6a6
Add preventDefault calls, ref #138175 (#168310) 2022-12-07 10:41:21 -08:00
Martin Aeschlimann 3f89b2fbf3
handlebars extension not acivated in remote window (#168313) 2022-12-07 16:15:36 +01:00
Johannes Rieken 386459dec0
fix https://github.com/microsoft/vscode/issues/146171 (#168307) 2022-12-07 15:22:52 +01:00
N1kO23 9d1c2920c0
Added ${rootNameShort} formatting (#165744)
* Added ${rootNameShort} formatting

* Add unit tests for label that use rootNameShort

* move `Verbose` interface to a better location

* more support

* 💄

* fix tests

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2022-12-07 14:51:38 +01:00
Alex Ross 4532436315
Exclude strings from HTML grammar patch (#168306)
Fixes #160549
2022-12-07 14:44:00 +01:00
Sandeep Somavarapu 911e119dfc
fix #168299 (#168303) 2022-12-07 14:17:58 +01:00
Ladislau Szomoru 28832f37e2
Git - Do not pop the stash as part of the "Stash & Checkout" action (#168297) 2022-12-07 13:27:35 +01:00
Ladislau Szomoru 0f8bf1b66b
Git - Fix error handling regression (#168284)
Fix error handling regression
2022-12-07 10:36:02 +01:00
Matt Bierner c0f6c67a09
Pick up latest markdown-it katex (#168269)
For #149295
2022-12-07 06:00:11 +01:00
Matt Bierner 16e7698751
Shorten update import labels (#168250)
Fixes #165907

This aligns with the markdown update imports UI
2022-12-07 01:09:05 +01:00
Joyce Er 7b83bc62ad
Merge pull request #167867 from microsoft/dev/joyceerhl/jolly-takin
Add `onLanguage` activation event for Emmet
2022-12-06 15:03:46 -08:00
David Dossett 07a8c6752e
Improve focus border contrast for quiet light, solarized light, and monokai themes (#168237)
Fix #165386
2022-12-06 23:52:11 +01:00
David Dossett a3ce458be0
Fix status bar hover/active background (#168233) 2022-12-06 23:24:55 +01:00
Matt Bierner ac88f33e2c
Revert "Fix: New md file scrolls to Top. (#164999)" (#168224)
This reverts commit 54543cf5bf.
2022-12-06 22:50:30 +01:00
Mikl Wolfe 1d7f930246
Remove repository.ts default parameter types (#155908)
* Remove closeDiffEditors inferred parameter type

* Remove pushTo inferred parameter type

* Remove _push inferred parameter type

* Remove isBranchProtected inferred parameter type
2022-12-06 20:30:26 +01:00
Martin Aeschlimann dac409ee91
set virtualWorkspaces: limited (#168177) 2022-12-06 16:52:23 +01:00
Mikl Wolfe 73221ee046
Update git config.followTagsWhenSync definition (#155914) 2022-12-06 15:03:22 +01:00
Martin Aeschlimann b27ee6b7b5
[html/css/json] pass the location of the localization bundle to the server (#168111)
pass the location of the localization bundle to the server
2022-12-05 14:49:27 -08:00
Matt Bierner d62fb120a4
Pick up latest markdown language server (#167869) 2022-12-05 21:13:24 +01:00
David Dossett 9f43a4ffda
Add experimental default dark/light v2 themes (#167104)
* Add experimental default dark/light themes

* Update themes and name

* Add colorizer test results

* Update accent color

* Fix status bar no folder background issue

* Fix tree indent strokes

* Update lighter layer

* Fix breadcrumbs

* Update accent

* Update light lights and dark links

* Update colorizer test
2022-12-05 11:41:50 -08:00
Joyce Er 692791d8a8 Adopt onLanguage for Emmet 2022-12-02 19:21:32 +00:00
Connor Peet dc83ca1951
npm: adopt terminal quick fix api (#167664)
Fixes https://github.com/microsoft/vscode/issues/167588
2022-12-02 08:20:53 -08:00
Alex Ross fb2837b03f
Update grammars (#167938) 2022-12-02 16:42:11 +01:00
最萌小汐 930fd0e469
update Lua-grammar (#167692) 2022-12-02 16:12:07 +01:00
Johannes f73bb21f27
wip 2022-12-02 13:03:16 +01:00
Raymond Zhao 5762c7821c
Use includes instead of indexOf (#167860)
Use indexOf instead of includes
2022-12-02 01:17:10 +01:00
Matt Bierner 9b3371e6e3
Fix path sep for markdown drop on windows (#167862)
Fixes #167824
2022-12-01 19:27:21 +01:00
Ladislau Szomoru 55d6b17e19
Git - Update unsafe repositories link (#167832)
Update unsafe repositories link
2022-12-01 13:40:05 +01:00
Ladislau Szomoru a1f2132aa8
Git - Fix command name (#167812)
Fix command name
2022-12-01 09:57:15 +01:00
Raymond Zhao 968026a46d
Use includes instead of indexOf (#167778) 2022-11-30 22:44:10 +00:00
Ladislau Szomoru d0b47f6c30
Git - Unsafe repositories flow polish (#167728) 2022-11-30 16:39:59 +01:00
Ladislau Szomoru 5c41d2b0fc
Git - fix unsafe repository path to use \ as path separator (#167711)
Fix #167515
2022-11-30 11:46:12 +01:00
Ladislau Szomoru 4934caaf88
Git - improve unsafe repository message based on feedback (#167701)
Fix #167595
2022-11-30 10:15:44 +01:00
Matt Bierner bf8e26d144
Fix extension private prop mangling when compiling all extensions (#167626)
Fix extension private prop mangling when compiling all projects

#167269

Re-applies previous commit with a fix for html's custom webpack logic
2022-11-29 14:20:23 -08:00
Joyce Er 4357b1c4d3
Surface 1-step vscode.dev Continue On option (#167636) 2022-11-29 22:16:39 +00:00
Raymond Zhao 096f4de76e
Use includes instead of indexOf (#167608)
Tests microsoft/vscode-pull-request-github#4257
2022-11-29 11:24:18 -08:00
Matt Bierner 8b9891739b
Revert "Fix extension private prop mangling when compiling all projec… (#167490)
Revert "Fix extension private prop mangling when compiling all projects (#167464)"

This reverts commit 725330a7cd.
2022-11-29 07:42:07 +01:00
Matt Bierner 3e7637064d
Use more generic button title for jsconfig create/open (#167482)
For #166808
2022-11-29 00:39:56 +00:00
Matt Bierner 725330a7cd
Fix extension private prop mangling when compiling all projects (#167464)
#167269
2022-11-28 16:32:18 -08:00
Matt Bierner cf01f3bb99
Update TS grammars (#167479)
Pulls in support for TS accessor syntax
2022-11-28 16:30:49 -08:00
Matt Bierner 3b29d21a83
Dynamically register markdown completions and document highlights (#167451)
Fixes #165920
2022-11-28 20:56:55 +00:00
Josh Abernathy c53f2bdb3d
Add properties for parallel lifecycle scripts to devcontainer schema (#166973) 2022-11-28 19:03:20 +01:00
Henning Dieterichs 0a6d1983c0
Merge pull request #167385 from microsoft/hediet/conflict-marker-telemetry
Add telemetry for conflict markers
2022-11-28 17:00:18 +01:00
Christof Marti 9dba5385c7
Add GPU host requirement properties (devcontainers/spec#82) 2022-11-28 15:25:24 +00:00
Henning Dieterichs 1f0fba4a1a
Apply suggestions from code review
Adds suggestions from PR.
2022-11-28 15:16:22 +01:00
Martin Aeschlimann 4ade07fd67
[json/css/html] update service & dependencies (#167402) 2022-11-28 14:15:33 +00:00
Henning Dieterichs 382498ef4e
Fixes GDPR comment 2022-11-28 12:04:59 +01:00
Henning Dieterichs 5ff048a9e4
Add telemetry for conflict markers 2022-11-28 12:00:08 +01:00
Ladislau Szomoru 075f04bf39
Git - Fix GitConfigParser regression (#167309)
Fix #166264
2022-11-28 17:01:40 +11:00
Benjamin Pasero ac084d723b
notebook tests - run verbose (#165149) (#167212)
* notebook tests - run verbose (#165149)

* bumpb

* 💄
2022-11-26 11:37:52 -08:00
Ladislau Szomoru d4a299631a
Git - Handle tag conflict during pull operation (#167278)
Handle tag conflict during pull operation
2022-11-25 17:05:22 +00:00
Johannes Rieken e7edf6e9b8
Give an option to show changes (SCM view) when encountering a merge conflict (#167265)
fixes https://github.com/microsoft/vscode/issues/162037
2022-11-25 17:54:01 +01:00
Ladislau Szomoru 3a52e79cea
Git - handle unsafe repositories (#167248) 2022-11-25 14:40:23 +01:00
Sandeep Somavarapu d65e6e6b2f
Fix #167046 (#167230) 2022-11-25 11:19:45 +01:00
Ladislau Szomoru 353e1cfcc3
NPM - Update minimatch (#167099)
Update minimatch
2022-11-23 21:27:51 +00:00
Joyce Er d799b6c18f
Fix diagnostics for implicit activation events not appearing (#167081)
* Fix diagnostics for implicit activation events not appearing

* Fix line endings
2022-11-23 10:33:32 -08:00
Peng Lyu 4ed4cf6042
Remove unused proposed api enablement. (#167077) 2022-11-23 09:53:18 -08:00
Ladislau Szomoru a13757c4ae
Git - Additional tracing for opening git submodules (#167036)
Additional tracing for opening git submodules
2022-11-23 10:35:46 +01:00
Joyce Er 009d74e8f5
Lint redundant implicit activation events (#166485)
* Emit error for `onNotebookSerializer` usage
2022-11-22 08:28:24 -08:00
Alex Ross 6c866f92d7
Reduce C# tokenization line length (#166968)
Fixes #163434
2022-11-22 07:00:14 -08:00
Ladislau Szomoru f57d336cfc
Git - Move log change event handler to main (#166965)
Move log change event handler to main
2022-11-22 06:51:33 -08:00
Sandeep Somavarapu e43bf31ab1
Share profiles (#166898)
* Share profiles #159891
- Share profile in GitHub
- Profile resource quick pick
- Import profile from vscode link

* remove duplicate code
2022-11-21 21:03:02 +01:00
Joyce Er 3bdea7784d
authentication implicit activation events (#166715)
* `authentication` implicit activation events

* More safety accessing `.id`
2022-11-19 08:30:48 -08:00
Matt Bierner 107d3ab28c
Fix markdown scrolling between elements being too jumpy (#166746)
Fixes #165055

We need to consider the distance between the end of the previous element and start of the next element. Previously we were taking distance from start of the previous to start of the next
2022-11-18 13:02:56 -08:00
aamunger 6ef30eeaba
fix line breaks in output 2022-11-18 10:18:33 -08:00
Aaron Munger 78831f0aa4
Merge branch 'main' into scrollableBorder 2022-11-18 09:43:03 -08:00
Matt Bierner f98ca02f59
Use moduleignore to try excluding unused ts files (#166654)
Use moduleignore to exclude unused ts files

Fixes #166652
2022-11-17 15:53:52 -08:00
aamunger 708ec07316
thin border, no word wrap 2022-11-17 15:50:25 -08:00
aamunger b3f3de9cfe
border around scrollable area 2022-11-17 15:08:51 -08:00
aamunger 457e4d29da
update css selectors 2022-11-17 15:08:50 -08:00
aamunger 7b5a16bdd1
adjustable output height 2022-11-17 15:08:49 -08:00
aamunger d3351f8606
add box shadow for scrolling 2022-11-17 15:08:48 -08:00
aamunger 9f56904138
styling 2022-11-17 15:08:46 -08:00
aamunger a7997f050b
typed options 2022-11-17 15:08:44 -08:00
aamunger d7c8a6c272
css change to scroll output 2022-11-17 15:08:29 -08:00
aamunger 888fd835ca
don't clean attachments for a cell that is removed 2022-11-17 10:16:13 -08:00
Ladislau Szomoru dff6f568a1
GitHub - fix dialog when user does not have permissions to commit (#166595) 2022-11-17 07:36:54 -08:00
Babak K. Shandiz 9f56e365d7
🎁 Add killOnServerStop to debug configuration (#163779)
* 🎁 Add `killOnServerStop` to schema

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* 📜 Add description for `killOnServerStop`

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* 🔨 Stop created debug session on server stop

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* 🔨 Push kill listeners into another disposable container

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* 🐛 Prevent leak when new debug session fails to start

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* 🔨 Use more verbose name for debug session tracker ID

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
2022-11-17 06:20:08 -08:00
Alex Ross 328ed10651
Git drop stash commands should use modal dialog (#166573)
Since the warning is initiated through user action, and the user is required to interact with the warning to finish their intended action we should use a modal dialog here.
2022-11-17 12:49:56 +01:00
Aaron Munger 5588a85039
Merge pull request #166512 from amunger/integrationTest
Don't rely on notebook focus when adding cells
2022-11-16 14:58:30 -08:00
Matt Bierner 838b48504c
Pick up TS 4.9 final (#166509) 2022-11-16 14:16:36 -08:00
aamunger 2deaa43aa6
specify notebook document 2022-11-16 14:01:31 -08:00
Greg Van Liew 816f31f691
More settings description tuning (#166429) 2022-11-16 09:33:33 -08:00
Johannes Rieken 3ffb834054
Merge branch 'main' into joh/rewrite-privates 2022-11-16 10:20:49 +01:00
Benjamin Pasero f176ad8e28
workspace.applyEdit drops the TextEdit if there is a RenameFile later #77735 (fix #166436) (#166439) 2022-11-16 09:43:07 +01:00
Matt Bierner 5452c6af10
Eagerly delete diagnostic on quick fix (#166417)
Fixes #166415
2022-11-16 07:43:28 +01:00
Matt Bierner edccbd1307
Pick up latest markdown language server (#166404)
Also removes some duplicated files
2022-11-15 18:27:22 -08:00
Matt Bierner 7d6c575031
Check cancellation token earlier and avoid capturing resolve (#166416) 2022-11-15 16:33:01 -08:00
Matt Bierner d0d28a6295
Reapply building of web server (#166391)
* Reapply building of web server

Revert 8b4642ab23

* Fix critical dep error
2022-11-15 14:55:40 -08:00
Matt Bierner 04ef3dad8f
Adopt @vscode/l10n for markdown language server (#165880) 2022-11-15 22:56:12 +01:00
Matt Bierner 4fdcdb17c6
Pick up latest jsonc parser (#166334) 2022-11-15 13:46:52 -08:00
Matt Bierner 7e62f31610
Pick up latest esbuild and parcel for building extensions (#166389)
Pick up latest esbuild for extensions
2022-11-15 11:08:45 -08:00
Henning Dieterichs b11207c539 Revert "Copy webServer from Typescript to VS Code (#165771)"
This reverts commit cb43019d6a.
2022-11-15 14:45:32 +01:00
Johannes 5912ad3ff1
Merge branch 'main' into joh/rewrite-privates 2022-11-15 09:44:34 +01:00
Matt Bierner 44441de137
Adopt prefer-readonly in JS/TS extension (#165089) 2022-11-14 20:12:10 -08:00
Matt Bierner 3684289a70
Enable onlyCompileBundledFiles
This prevents ts-loader from loading desktop files for web builds
2022-11-14 16:45:30 -08:00
Matt Bierner 0b9121953f
Added mangling loader for ts files in extensions 2022-11-14 16:34:04 -08:00
Greg Van Liew 27a550f451
Settings description edits (#166315)
* Settings description edits

* Remove unnecessary trailing line returns
2022-11-14 13:47:54 -08:00
Robert Jin fbaacfb921
Add explorer.autorevealExclude setting (#136905)
* Add explorer.autorevealExclude setting

* Update setting name, only check sibling once

* linting

* Correct boolean order and add catch for force reveal

* Check for force instead of converting

* Do not make revealexcludes inherit from file.excludes

* Linting
2022-11-14 15:50:55 -05:00
Tyler James Leonhardt fd7e27f9d3
onboard built-in debug extensions to l10n (#166300) 2022-11-14 11:03:54 -08:00
Nathan Shively-Sanders cb43019d6a
Copy webServer from Typescript to VS Code (#165771)
* Initial draft.

Not working.
Also not correctly formatted, I'll do that later.

* Various fixes

It works now

* A bit of cleanup

* Move webServer to its own directory

And prepare for getting rid of dynamicImportCompat.js hack

* Remove dynamicImportCompat.js hack

* Revert unrelated change

* Webpac tsserver.web.js with webServer.ts as entrypoint

Instead of using CopyPlugin.

1. Shipping multiple entrypoints in a single file required fixes to
build code.
2. There are a couple of warnings from `require` calls in
tsserverlibrary.js. Those are not relevant since they're in non-web
code, but I haven't figured how to turn them off; they are fully dynamic
so `externals` didn't work.

* Ignore warnings from dynamic import in tsserver

* Add to .vscodeignore files
2022-11-14 10:56:31 -08:00
Logan Ramos 73d882bcf7
Update telemetry package (#166292) 2022-11-14 09:30:33 -08:00
Ladislau Szomoru 687514b9f4
Git - Fix optimistic UI update for untracked changes (#166277) 2022-11-14 06:24:14 -08:00
Ladislau Szomoru b3eaceaf90
Git - 💄 Remove code duplication (#166263)
💄 Remove code duplication
2022-11-14 11:53:46 +01:00
Matt Bierner a62879bb46
Try computing windows paths correctly on markdown drop (#166077)
Fixes #165352
2022-11-13 15:03:05 -08:00
Ladislau Szomoru b4fbff3218
Git - Don't show progress for commands that support optimistic UI updates (#166124)
Don't show progress for commands that support optimistic UI updates
2022-11-11 08:11:41 -08:00
Ladislau Szomoru 9984da1a19
Git - Optimistic UI update for discarding changes (#166099)
Optimistic UI update for discarding changes
2022-11-11 02:25:01 -08:00
Matt Bierner ca15dea96b
Pick up latest dompurify and typings for vscode-markdown-languageservice (#166062)
Pick up latest typings from vscode-markdown-languageservice
2022-11-10 21:58:16 -08:00
Tyler James Leonhardt ef415578d1
Take advantage of platform features in Microsoft Authentication extension (#166066) 2022-11-10 18:26:48 -08:00
Matt Bierner 1ccc8d438b
Enable pasting of image attachments by default for ipynb (#166058)
Fixes https://github.com/microsoft/vscode-jupyter/issues/11987
2022-11-10 16:46:31 -08:00
Ladislau Szomoru 8fd500ed74
Git - Add calcellation support for getRefs (#165938) 2022-11-10 12:25:53 -08:00
Marina Miyaoka aa37e17423
Do not preprocess Unicode newlines in Markdown preview (#166026)
Revert LS PS preprocessing in Markdown preview
2022-11-10 19:46:43 +00:00
Sandeep Somavarapu d2441c5e3a
rename to Profile (#166030) 2022-11-10 13:25:07 -05:00