Commit graph

13315 commits

Author SHA1 Message Date
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