Commit graph

14674 commits

Author SHA1 Message Date
Ladislau Szomoru 4f9a706c79
Git - add command to close all unmodified editors (#205278)
* Git - add command to close all unmodified tabs

* Fix compilation error
2024-02-15 14:33:02 +01:00
Ladislau Szomoru f396fe0e2b
Git - refresh decorators when incoming/outgoing changes (#205282) 2024-02-15 14:26:25 +01:00
Johannes Rieken 4c06e3f867
rename proposal from chatRequestAccess to languageModels, move into new lm namespace (#205272)
* rename proposal from `chatRequestAccess` to `languageModels`, move into new `lm` namespace

https://github.com/microsoft/vscode/issues/199908

* fix itests
2024-02-15 12:02:08 +01:00
Ladislau Szomoru 9576c1a7c5
Git - Add button/setting to always replace local tags in case of a conflict during the pull operation (#205148) 2024-02-13 22:04:29 +01:00
Rob Lourens c2316194e2
Get rid of history2, variables2 (#205124)
* Get rid of history2

* Remove prompt2 and variables2

* Clean up variables2/prompt2

* Fix tests

* Fix ranges

* Fix test
2024-02-13 11:33:21 -08:00
Ladislau Szomoru 4194cbfdf8
Git - 💄 more history provider logging (#205101)
* Git - 💄 more history provider logging

* Fix up more logging
2024-02-13 14:56:22 +01:00
Ladislau Szomoru 45e2e2072f
Git - fix upstream state management check (#205078) 2024-02-13 11:53:50 +01:00
Justin Chen 7ff2572a3e
remove leftover console log in quickfix (#205022)
removed leftover log
2024-02-12 19:45:06 +01:00
Ladislau Szomoru 2f6b7e163c
Git - Update showProgress value in DiffOperation (#205012) 2024-02-12 17:40:02 +01:00
Ladislau Szomoru c19383a66d
Git - add file decoration provider for incoming changes (#204919)
* Initial implementation of a file decoration provider and quick diff provider

* Refactor file decoration provider

* Add incomingChanges to history provider

* Move decoration provider

* Move things around

* Add separate color for renamed incoming change

* Remove include that is not needed
2024-02-11 07:39:43 +01:00
Rob Lourens b2f1748501
Rename "subcommand" to "command" (#204911)
* Rename "subcommand" to "command"

* Fix build
2024-02-10 13:58:18 -08:00
Rob Lourens b49c1c1170
Add ChatAgentResult2#metadata (#204851)
* Support serializable metadata on 'result' object from chat agent

* Fix 'errorDetails' on the VM

* Fix acceptAction, get rid of generic parameter on ChatAgent

* Use result metadata for followups

* Use serialized result for history

* Don't share metadata between agents

* Add a test for result metadata

* Fix build
2024-02-10 05:40:01 -08:00
Ladislau Szomoru c9215c87ba
Git - fix commit action button when detached/rebase (#204857) 2024-02-09 21:02:24 +01:00
Ladislau Szomoru 20c0f83f1b
Git - experimental input validation using diagnostics (#204822)
* Initial implementation

* Add setting + code actions
2024-02-09 14:19:30 +01:00
Andrea Mah 90cebfaeb2
Fix fuzzy searching for findFiles2 (#204768)
* progress on making fuzzy option
* finish connection to findfiles API
2024-02-08 13:17:58 -08:00
Johannes Rieken cccd228808
disable extension mangling, (#204700)
workaround for https://github.com/microsoft/vscode/issues/204692
2024-02-08 10:47:54 +01:00
Ladislau Szomoru d25c50303e
Git - Add more telemetry to history provider to investigate issue (#204689) 2024-02-08 09:02:47 +01:00
Matt Bierner da36e0eba1
Disable url smart paste in autolinks (#204673)
Fixes #188859
2024-02-07 18:01:32 -08:00
Matt Bierner 428dd56479
Try to observe TS usage of insert/replace (#204661)
Fixes #204037

- Replace span on item == use for both insert and replace
- Optional replacement span == use only for replace
2024-02-07 15:21:42 -08:00
Matt Bierner a1fb0dcd2e
Put all chat code blocks in same implicit JS/TS project (#204655) 2024-02-07 14:47:44 -08:00
Andrea Mah 20d18171b3
introduce findFiles2 API (#203844)
* introduce first version of FindFiles2 API
2024-02-07 14:23:46 -08:00
John Murray 6c7362fe4f
Reinstate command items when filtering checkout quickpick (fix #202870) (#204107)
---------

Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com>
2024-02-07 20:42:45 +00:00
Ladislau Szomoru b05778eb90
Workbench - ability to contribute window title variables (#204538)
---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2024-02-07 12:41:17 -08:00
Aaron Munger fe6db4073f
allow time to scroll (#204646) 2024-02-07 11:08:03 -08:00
Ladislau Szomoru d96a8b66ce
SCM - Use Publish action when the local branch does not have an upstream (#204617) 2024-02-07 15:54:49 +01:00
Martin Aeschlimann d5ec4bd197
Monokai Dimmed theme: LESS syntax highlighting colors very different in v1.86.0 (#204605) 2024-02-07 14:52:21 +01:00
Alex Ross fc771c597f
Update Go grammar (#204590) 2024-02-07 14:33:31 +01:00
Johannes Rieken 57f5f81edd
api - rename: ChatAccess -> LanguageModelAccess (#204583)
* rename - ChatAccess -> LanguageModelAccess

* fix tests
2024-02-07 13:39:34 +01:00
Ladislau Szomoru 0679fa72d5
Git - adjust branch base computation (#204585) 2024-02-07 12:43:16 +01:00
Matt Bierner 64cd658cac
Disable some share context menus in editor playground (#204566) 2024-02-07 09:05:51 +01:00
Alex Ross f8546bc73f
API to find the active comment thread (#204486)
* API to find the active comment thread
Fixes #204484

* Add issue ref

* Add activeComment proposal to api tests

* Add settimeout to blur event
2024-02-07 08:59:24 +01:00
Ladislau Szomoru 63ebf06bb6
Git - add action to regenerate branch name (#204481) 2024-02-06 14:22:14 +01:00
Yves Daaboul 0786b4d2fb
fix(193523): JSDoc optional parameters don't display in functions (#202963)
* Issue193523: Brought back optional params to autocompletion preview

* #193523: Hided end-of-list optional params

* #193523: Added unit tests

* #193523: Fixed integration tests

* Update extensions/typescript-language-features/src/languageFeatures/util/snippetForFunctionCall.ts

---------

Co-authored-by: Matt Bierner <matb@microsoft.com>
2024-02-06 03:59:23 +00:00
rzvc e7b03742b5
Fix docblock expansion in TS, when asterisk not preceded by a space (#204400)
Fixes issue #193263.
2024-02-06 03:52:06 +00:00
Justin Chen 9f50c3dc2a
groundwork for code action ranges for quick fix (#204191)
* added in config

* fix balance between diagnostic and range

* cleanup
2024-02-05 14:13:18 -08:00
Martin Aeschlimann 9db238ecdc
tomorrow night blue shows keyword color wrong (#204423) 2024-02-05 23:09:50 +01:00
Ladislau Szomoru 12904c651e
Git - fix View Commit action from the timeline view (#204410) 2024-02-05 22:02:02 +01:00
RedCMD 212e24f4db
Enable json language support for code-snippets files (#204090)
* Enable json language support for `code-snippets` files

* fix

* snippets as a known language to the json language server

---------

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2024-02-05 15:56:16 +01:00
Alex Ross 125c21d0b4
Update log grammar (#204360) 2024-02-05 15:24:15 +01:00
Rob Lourens 5e3a912d7f
Move welcome message to chat agent (#204163)
* Move welcome message provider to default agent

* Remove welcome message/sample questions from interactive provider

* Remove provider display name and icon

* Add default agent for tests

* And proposal
2024-02-02 18:41:13 +01:00
Benjamin Pasero a54c7531d0
🆙 esbuild@0.20.0 (#203626) 2024-02-02 11:47:17 +01:00
Hylke Bons b8ac113876 themes: Increase contrast of inputs placeholder text 2024-02-01 18:03:40 +01:00
Charly 09f3bd5c0b
Fix typo in configurationEditingMain.ts (#203970)
Removed the extra `an` in `The path where an an extension is installed`.
2024-02-01 16:24:18 +00:00
Lucas Towers 8182fd55db
Fix markdown light and dark mode when using high contrast themes (#203690) 2024-02-01 00:54:32 +00:00
Aaron Munger 472af59e08
more copy SVG fixes (#203937)
* re-add check for image for context menu, add selector for jupyter rendered SVGs

* consisent command name
2024-02-01 00:58:00 +01:00
Nathan Shively-Sanders 5e6ec068b2
Split TS' AI-backed code actions into separate entries (#201140)
* Split TS' AI-backed code actions into separate entries

Lets the user decide whether to add AI to their code action, which shows
intent, which is good for us to learn whether people actually want this.

Related: this should be unflagged for insiders. To do this, do I just
delete the flags?

* Stop appending a duplicate message in missingFunctionDeclaration

* Fix: quickfix was still showing Copilot-only

It's a workaround--I'm not sure of the right way to do this.

* Update to use `isAI`

* Put AI code actions after others.

* Add isAI to rest of code actions

* Remove flags for TS AI code actions

* Check for copilot-chat instead of copilot

It's possible to have copilot installed without copilot-chat.

* Fix file casing

---------

Co-authored-by: Matt Bierner <matb@microsoft.com>
2024-01-31 22:46:39 +00:00
Aaron Munger ef40932ae9
display unknown text mime outputs as plain text (#203849) 2024-01-31 08:51:41 -08:00
Aaron Munger 7a56623b82
enable copying svg cell output (#203843)
* find the correct svg element and write it to the clipboard

* add context to allow context menu

* simplify selection

* better logs for error states
2024-01-31 06:18:37 -08:00
Benjamin Pasero 3b5ae15f95
perf - registerWorkbenchContribution2 and some adoptions (#203802)
* perf - first cut workbench contributions 2

* log warning

* add tests

* tests

* fix tests

* .

* adopt a bit and add access to times

* adopt for some

* adopt for some

* .

* fix tests

* .
2024-01-31 11:04:30 +01:00
Ladislau Szomoru dd2038279d
Git - fix repository deduplication logic (#203836) 2024-01-30 21:54:36 +01:00
Vinicius Stock bd0c11e1d4
Prevent incorrect indentation for Ruby's in and when keywords
Co-authored-by: Soutaro Matsumoto <soutaro@users.noreply.github.com>
2024-01-30 11:56:26 -05:00
RedCMD eee4b5fc50
Contribute to json language server with a custom language. (#198583)
* Contribute to json language server with a custom language.

* Add `snippets` to `"activationEvents"`

* Remove hardcoded `snippets` from `documentSettings`

* Fix wrong variable in `!isEqualSet()`

* Use `extensions.allAcrossExtensionHosts` instead of `extensions.all`

* enable `"enabledApiProposals"` for `extensions.allAcrossExtensionHosts`

* Fix error: `Property 'allAcrossExtensionHosts' does not exist on type 'typeof extensions'`

* Remove `snippets`
2024-01-30 11:10:23 +00:00
Aaron Munger ed35abb942
fix copy output command without context (#203582)
* fix copy output without context

* better title

* clear output focus
2024-01-29 14:50:21 -08:00
Rob Lourens b637950b4b
Reenable debug integration test (#203733) 2024-01-29 20:21:19 +01:00
Hans bc00185b3b
Fix the broken links to the latest valid links (#184131) 2024-01-29 19:09:11 +01:00
Matt Bierner e9ce823bf1
Fix potential race creating JS/TS temp dir (#203367)
Fixes #203335
2024-01-29 09:24:41 -08:00
Matt Bierner 4be04d5d8c
Fix file uri markdown link pasting (#203377)
Fixes #203180

Enables this feature for uris without authorities and also makes sure these uris are not rewritten to relative paths
2024-01-29 09:24:28 -08:00
Ladislau Szomoru 837b74c1b4
SCM - history item group context menu (#203712) 2024-01-29 17:27:24 +01:00
Rob Lourens c15e48bc27
Reenable chat test (#203706)
I think this isn't an issue with the test- every time it fails, we see "The Web Worker Extension Host did not start in 60s". The chat tests are the first tests, and so they just time out due to being affected by the slow startup. That EH timeout issue looks old.
Fix #203429
2024-01-29 16:51:06 +01:00
Ladislau Szomoru 2ba398845f
Git - extract toMultiFileDiffEditorUris (#203688) 2024-01-29 13:53:28 +01:00
Matt Bierner 772791e9e5
Fix markdown link pasting when selection is inline code (#203657)
If the user selects a complete inline code block, we should paste as a markdown link with the code as the link text
2024-01-29 09:10:52 +01:00
Matt Bierner 98d55333b9
Fix md pasting inside of incomplete html block (#203476)
Fix pasting inside of incomplete html block

Fixes #188868
2024-01-28 23:55:19 -08:00
Ladislau Szomoru 0d22ba354b
Git - 💄 remove duplicated code (#203609) 2024-01-27 17:16:16 +01:00
Ladislau Szomoru fe0632cbb2
Git - handle stashes that contain untracked files (#203572) 2024-01-26 14:28:45 -08:00
Ladislau Szomoru a10ecfaefd
Git - fix issue related to a renamed resource (#203529) 2024-01-26 14:31:18 +01:00
Alex Ross 35d97bc7e4
Update grammars (#203521) 2024-01-26 13:06:22 +01:00
Ladislau Szomoru b26b05031e
SCM - Add "Reopen Closed Repositories..." action to the "Source control Repositories" view title bar (#203512) 2024-01-26 10:50:25 +01:00
Matt Bierner 6e2ea0ed27
Also disable ` `` as autoclosing pair (#203487)
Fixes #192676

Not ideal but likely better than the current behavior that inserts extra backticks
2024-01-25 13:21:45 -08:00
Ladislau Szomoru adf93c270a
Git - view stash should use the stash's parent commit for the left hand side (#203450) 2024-01-25 15:53:20 +01:00
Johannes Rieken 290a1153b8
disable frequently failing chat-suite (#203430)
https://github.com/microsoft/vscode/issues/203429
2024-01-25 11:52:51 +01:00
Matt Bierner 3dea5cbbcb
Pick up latest markdown language service (#203405)
Picking up the latest stable release. This is mainly just a tag release compared to alpha-8
2024-01-24 18:54:32 -08:00
Michael Rienstra dc10e26a05
docs: document new configuration.markdown.copyFiles.destination options (#203391)
docs: document new `configuration.markdown.copyFiles.destination`

And clean-up / standardize existing docs of same
2024-01-25 00:39:51 +00:00
Ladislau Szomoru 5b91204184
SCM - do not show "View Commit" or "View All Changes" action for empty commits (#203381) 2024-01-24 21:15:51 +01:00
Ladislau Szomoru 97b8727343
Git - fix viewing stahes with added/deleted/renamed files (#203341) 2024-01-24 16:09:02 +01:00
Matt Bierner 9c95828898
Enable paste url for file uris (#203270)
Fixes #203180
2024-01-23 17:08:58 -08:00
Martin Aeschlimann 4b0d700f7a
[json/css/html] Update dependencies (#203084)
* update json/css/html

* fix typing

* revert to vscode-languageclient@9.0.1
2024-01-23 13:00:55 +01:00
Megan Rogge ba5f685b65
Merge pull request #124803 from nrayburn-tech/npm-activation
npm extension - check for root package.json before findFiles
2024-01-22 15:04:27 -08:00
Matt Bierner 1ddc10601d
Add angle brackets as surrounding pairs in markdown (#203083)
Add angle brackets as surrounding pairs in md

This is useful for html and for autolinks
2024-01-22 23:58:28 +01:00
RedCMD 2d30630ab4
onDidChangeEmmiter fires constantly when it shouldn't (#202198)
`onDidChangeEmmiter` fires when it shouldn't
2024-01-22 22:11:24 +01:00
Henning Dieterichs db62e3b46c Fixes multi file diff editor bug that deleted files would be shown as added files. 2024-01-22 16:35:32 +01:00
Ladislau Szomoru 5be6890cf5
Git - add onCommit event to vscode.git extension API (#202863) 2024-01-19 17:34:44 +01:00
Ladislau Szomoru 945bbd01aa
Git - only show "Incoming changes" node for upstream (#202836)
* Git - only show "Incoming changes" node for upstream

* 💄 Revert some of the changes now that base is limited to upstream

* Fixed a bug

* 💄 More clean-up
2024-01-19 12:56:34 +01:00
Ladislau Szomoru 0287cb9fe7
Git - add fetch, pull, push commands to incoming/outgoing (#202809) 2024-01-19 11:25:59 +01:00
Matt Bierner 0e51e71619
Pick up latest katex (#202776) 2024-01-18 15:18:39 -08:00
Ladislau Szomoru 9ed02ced92
SCM - 💄 polish incoming/outgoing proposed API (#202766) 2024-01-18 12:39:40 -08:00
Rob Lourens 63349889d9
Avoid "slash command" name in agent API (#202729)
* Avoid "slash command" name in agent API

* Fix reference

* Fix
2024-01-18 21:05:28 +01:00
Ladislau Szomoru 4a5169c7e0
Git - 💄 remove unused event handlers (#202727) 2024-01-18 15:25:31 +01:00
Matt Bierner a42d4751d2
Fix markdown smart paste setting check (#202688) 2024-01-18 00:51:27 +01:00
Ladislau Szomoru 697936c5f8
Git - update getBranchBase so that it returns an upstream branch (#202586) 2024-01-16 16:17:40 +01:00
Ladislau Szomoru 48bc94d646
Git - 💄 make stash picker async (#202573) 2024-01-16 11:02:32 +01:00
Ladislau Szomoru 61112949a6
Git - do not show checkout commands when searching (#202567) 2024-01-16 09:33:07 +01:00
Alex Ross 7109701918
Expose git merge as extension API (#202503)
* Expose git merge as extension API
Part of microsoft/vscode-pull-request-github#200

* Respond to PR feedback
2024-01-15 17:22:43 +01:00
Ladislau Szomoru f42cf8d8a5
Git - 💄 show busy state while populating refs (#202513) 2024-01-15 16:05:24 +01:00
Ladislau Szomoru b245a42ed0
Git - Improve "Close Repository" and "Close Other Repositories" commands (#202512) 2024-01-15 20:21:19 +05:30
Ladislau Szomoru 3ae8c8ea62
Git - polish view stash command (#202499)
* Implement drop stash command

* Add apply and pop commands

* Rename "preview" command to "view"

* Fixed action order

* Add icons, update commands
2024-01-15 14:49:01 +01:00
John Murray 2b06224582
Preserve sort order when filtering Git branch / tag quickpicks (fix #199471) (#199473)
* Preserve sort order when filtering Git branch / tag quickpicks (fix #199471)

* Fix the merge

* Dispose quickpick listeners

* Changes arising from PR feedback

* Rework listener disposal
2024-01-15 13:20:33 +00:00
Ladislau Szomoru 55af1bc7fb
Git - checkout command improvements (#202495)
Git - complete checkout command when checkout quick pick is cancelled
2024-01-15 12:23:47 +01:00
Sandeep Somavarapu 1e0580ec23
Use categories for builtin extensions groups (#202453)
* support grouping of extensions

* remove grouping

* reuse categories parsing

* cleanup

* fix tests
2024-01-14 18:19:29 +01:00
Matt Bierner afbec2027b
Fix markdown-it-katex error (#202393) 2024-01-12 18:46:08 -08:00
Ladislau Szomoru 37b173d559
Add stage/unstage actions to the multi-diff editor (#202297) 2024-01-12 15:16:53 +01:00
Ladislau Szomoru 2434b7da03
Git - Add "View All Changes" action + polish (#202327)
* Make allChanges a distinct historyItem element

* Add allChanges menu contribution

* Add View All Changes command

* Rename "Open Commit" to "View Commit"

* Pass the correct argument when getting "All Changes" node
2024-01-12 10:46:52 +01:00
dependabot[bot] a1a9707400
Bump follow-redirects from 1.15.3 to 1.15.4 in /extensions/typescript-language-features (#202211)
Bump follow-redirects in /extensions/typescript-language-features

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.3 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.3...v1.15.4)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-11 19:09:15 -08:00
Matt Bierner d81d32b940
Re-render markdown preview when linkify setting changes (#200599) 2024-01-11 17:23:13 -08:00
Matt Bierner 34fcd8bebc
Revert autoclosing of ``` ` ``` in md (#202290)
Fixes #192676

Turns out to be more annoying than the value it provides
2024-01-11 15:29:01 -08:00
Matt Bierner 34b0301287
Fix insert range of ts entries with replacement spans (#202287)
Fix #202153
2024-01-11 23:27:22 +01:00
Matt Bierner c72ffc8cd8
Use published markdown-katex typings (#202284) 2024-01-11 13:42:24 -08:00
Ladislau Szomoru 273e4b0d7b
SCM - Add scm.showChangesSummary setting (#202256)
* SCM - make "All Changes" node part of the API and add setting

* Cleanup configuration change listeners

* More settings cleanup
2024-01-11 17:21:05 +01:00
Ladislau Szomoru 8720ead44d
Git - adopt _workbench.openMultiDiffEditor command (#202236) 2024-01-11 12:21:17 +01:00
Matt Bierner 8f32885359
Use markdown engine to enable/disable smart paste (#202192)
Fixes #188863
Fixes #188958
Fixes #188868

This is more reliable than using the regular expressions. However the regular expressions are still needed for inline elements
2024-01-10 14:32:58 -08:00
Matt Bierner 0bb69da87c
Add new smartWithSelection option for markdown links (#202183)
This becomes the new default while `smart` always smartly pastes, even with no selection
2024-01-10 20:01:52 +01:00
Matt Bierner 39e866b964
Pick up latest markdown-it-katex (#202178) 2024-01-10 19:04:33 +01:00
Louis Lazaris 89eb2de093
Corrected CSS Hover Documentation text (#202142) 2024-01-10 13:42:16 +00:00
Louis Lazaris 314c9891c3
Fixed some CSS terminology (#202125) 2024-01-10 12:44:25 +00:00
Henning Dieterichs ad18bb00ce Fixes #199351 2024-01-09 23:40:26 +01:00
Matt Bierner 35579c0b57
De-prioritize markdown link paste in code blocks (#202109) 2024-01-09 14:27:28 -08:00
Henning Dieterichs 05dfba857a
Adopts #199291 for SCM view changes. (#202077) 2024-01-09 22:28:08 +01:00
Ronak Jain c1bc5415f8
Fix tsserver crashing when using custom node path (#201966)
* use quotes in spawned process name

* Use JSON stringify to handle quotes as well
2024-01-09 11:02:53 -08:00
dependabot[bot] 9c2e81f9f6
Bump follow-redirects from 1.15.3 to 1.15.4 in /extensions/github-authentication (#202055)
Bump follow-redirects in /extensions/github-authentication

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.3 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.3...v1.15.4)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-09 08:53:01 -08:00
Alex Ross 6d9541fff6
Try out a new Go grammar (#202070) 2024-01-09 14:11:19 +01:00
Ladislau Szomoru 9808d4e655
SCM - rename incoming/outgoing menu contribution (#202068) 2024-01-09 17:04:27 +05:30
Ladislau Szomoru b87ba01926
Git - swap file sides when previewing a stash (#202063) 2024-01-09 11:55:16 +01:00
Robo fb76955440
chore: update electron@27.2.1 (#202053)
* chore: bump electron@27.2.1

* chore: enable code cache support for custom standard schemes

Refs 267cbc841e

* chore: remove --ms-enable-electron-run-as-node

Removed in favor of f842ead6bc

* chore: update distro
2024-01-09 08:33:34 +01:00
RedCMD 0a71ec927c
Change lowercase l to uppercase L. asp-vb-net.tmLanguage.json (#201981)
* Change lowercase `l` to uppercase `L`. `asp-vb-net.tmLanguage.json`

`.tmLanguage.json` is the common file extension for JSON TextMate
while `vb` is currently using `.tmlanguage.json`

* Rename file.

* Remove EOF newline >:(

---------

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2024-01-08 22:10:59 +00:00
Martin Aeschlimann 851b39876e
[json] don't use md5 (#201971) 2024-01-08 21:50:59 +01:00
Ladislau Szomoru 891a17ab57
Git - move "Open Commit" command from core to the git extension (#202042)
* Initial implementation

* Move the command to the git extension

* Add missing enablement property
2024-01-08 13:39:07 -07:00
Ladislau Szomoru 66023e11e6
Git - 💄 clean-up summary generation (#202036) 2024-01-08 11:50:42 -08:00
Ladislau Szomoru 322931b0fc
Git - Only show "All Changes" node if there is more than one incoming/outgoing commit (#202021) 2024-01-08 17:45:44 +01:00
Matt Bierner 1a7ec6aea2
Fix code block in notebook markdown rendering (#201748)
Fixes #201731
2024-01-08 08:33:55 -08:00
Ladislau Szomoru 51e490e8a2
Git - 💄 add historyItemParentId to provideHistoryItemChanges (#201991) 2024-01-08 14:00:57 +01:00
Ladislau Szomoru 03e191825d
Git - fix context menu order (#201986) 2024-01-08 13:02:13 +01:00
Ladislau Szomoru f8616b9a2b
Git - rename "Open Stash" to "Preview Stash" (#201973)
* Git - rename "Open Stash" to "Preview Stash"

* Add Preview Stash command to the "..." menu
2024-01-08 10:59:49 +01:00
Ladislau Szomoru cfebdd863a
Git - add open stash command (#201970)
* Initial implementation

* Add button to quick pick

* Improve stash picker

* Remove quick pick buttons
2024-01-08 09:48:51 +01:00
Ladislau Szomoru bff3ef7651
Git - improve code that gets commit count (#201907) 2024-01-05 12:55:05 -08:00
Matt Bierner 14b09484ff
Change how placeholders in parsed markdown links are created (#201851)
Fixes #186284

See https://github.com/microsoft/vscode/issues/186284#issuecomment-1877968127 for details

Also fixes the tab order to always start from the top most range in the document
2024-01-04 17:21:09 -08:00
Matt Bierner 26ef59c6a7
Rework markdown paste resource (#201838)
Fixes #184980

This refactors much of the logic around markdown paste/drop. PR got a little large but the main highlights are:

- Allow using a custom snippet for inserted audio/video
- Merge the drop/paste resource provider classes since these are so similar
- Enable smart pasting of url text by default
- Refactor url paste logic
- For now, disable the behavior where url paste could paste a combination of markdown and plain uris. In practice this is confusing, especially because our labels for this were wrong. We can always reintroduce this later if multicursor users find it useful
2024-01-04 15:59:14 -08:00
Matt Bierner ee91ce84bb
Show TS Server commands in diff editors and notebook cells (#201847)
Fixes #201734

Switches to use tabs so that we can enable TS commands if you're in a JS/TS editor in a diff editor or notebook cell
2024-01-04 15:54:50 -08:00
João Moreno e2eb6c042b
use sha256 in git (#201781) 2024-01-04 12:02:02 +01:00
Johnson Chu 40c0f939e5
Fix optionalReplacementSpan not being applied to completion entries (#200945)
* Fix optionalReplacementSpan not being applied to completion entries

* Format completions.ts
2024-01-03 14:40:11 -08:00
Andrew Branch a1cfe91f9c
Fix preferTypeOnlyAutoImports preference getter (#201376) 2024-01-03 18:55:21 +00:00
Russell Davis bac1926029 Fix decreaseIndentPattern for javascript and typescript
Fixes #201424

It wasn't matching closing parens, which resulted in these issues:
* Pressing enter with just a closing paren to the right of the caret
wouldn't result in a dedent on the next line
* With the caret at the start of the line below a line containing only a
closing paren, pressing tab would result in an extra level of
indentation
2023-12-22 20:15:13 -08:00
Ladislau Szomoru 860d67064a
Git - refactor ref pickers (#201411)
* Refactored quick picks

* Another set of refactoring

* Moved over the remaining classes

* git.checkoutType setting should only be used by the Checkout quick pick

* Introduce RefProcessor and cleanup code

* Introduced multiple processor types

* Another round of refactoring
2023-12-22 22:59:54 +01:00
Ladislau Szomoru b21537c2ef
Git - enable commit signing using SSH key (#201298) 2023-12-20 14:14:39 +01:00
Matt Bierner 9621add460
Fix undefined getting printed (#201250)
Fixes #201244
2023-12-20 00:22:43 +01:00
Megan Rogge 8ee37dc19a
Merge pull request #201082 from susiwen8/fix-201081
fix: `install` in `npm script` shouldn't be opened
2023-12-19 13:12:54 -06:00
susiwen8 f78d488f80 fix: task name end with space 2023-12-19 20:33:30 +08:00
Ladislau Szomoru 9098f756e8
Git - add missing error handler (#201160) 2023-12-18 14:43:44 -08:00
Megan Rogge 2535c6ca13
Merge branch 'main' into fix-201081 2023-12-18 11:05:49 -06:00
Ladislau Szomoru 536dcced4e
Git - disable wrapping for git-commit language (#201135) 2023-12-18 17:11:08 +01:00
Martin Aeschlimann cbd417525b
xml: remove the CDATA autoClosingPairs. Fixes #200671 (#201109) 2023-12-18 14:29:50 +01:00
Ladislau Szomoru 4061a9a5e7
Git - log branch name in case the branch cannot be found (#201117) 2023-12-18 13:15:48 +01:00
Ladislau Szomoru 279872bd96
Git - improve git-commit language settings (#201091) 2023-12-17 23:43:05 +01:00
susiwen8 d022a7b517 fix: install in npm script shouldn't be opened 2023-12-17 22:09:59 +08:00
Ladislau Szomoru 6115f6c319
Git - add autoClosingPairs to git language definitions (#201060) 2023-12-16 16:55:16 +01:00
Ladislau Szomoru baab9bde4d
Git - timeline provider should handle repository with no commits (#200962) 2023-12-15 15:17:38 +01:00
Ladislau Szomoru e8e04769ec
Git - explicitly open repository after initialized (#200957) 2023-12-15 14:53:18 +01:00
Ladislau Szomoru 81546fb355
Git - only add --diff-merges if flag is supported (#200954) 2023-12-15 14:39:46 +01:00
Ladislau Szomoru 371a1579f2
Git - make close other repositories command available in the command palette (#200925) 2023-12-15 08:34:24 +01:00
Matt Bierner 9b8f216b8c
Support escapes in markdown destination settings (#200911)
Support escaping `$` to prevent use as variable and escaping `/` inside of transforms
2023-12-15 02:02:27 +01:00
Ladislau Szomoru 81207cddf5
Git - add command to close other repositories (#200893) 2023-12-14 23:36:20 +01:00
Matt Bierner 955ad8630b
Add support for documentRelativeDirName and documentRelativeFilePath (#200883)
Fixes #193752
2023-12-14 13:03:23 -08:00
Malix 31f8f0dd17
Remove unused import in extensions/git/src/api/git.d.ts (#200797)
Remove unused import
2023-12-14 09:01:39 +00:00
Joyce Er 2ef9d1c99f
fix: don't reshow remote source picker after it's been cancelled (#200775)
* fix: don't reshow remote source picker after it's been cancelled

* fix: dispose more listeners
2023-12-13 20:21:21 +01:00
Alex Ross 86504b9c9c
Add ${/} as a shorter alias for ${pathSeparator} predefined variable (#200750)
Fixes #180827
2023-12-13 17:04:54 +01:00
Alex Ross 3c86ede5f5
Update grammars (#200730) 2023-12-13 13:08:01 +01:00
Jacob Bandes-Storch b7fcbef3e2
Update Swift.tmLanguage (#200698) 2023-12-13 11:56:00 +00:00
Isabel Duan 948f6a1aaf
fix typescript/54492: check if file rename changes extension (#200220)
check if file extension has been changed
2023-12-13 01:23:10 +00:00
Aaron Munger 298b07637a
remove console log message (#200684) 2023-12-12 22:13:54 +01:00
Aaron Munger d5d1424296
Allow disabling filepath links (#200577)
* add setting to enable/disable linkifying filepaths

* implement linkify setting

* update setting without reload

* switch casing style
2023-12-11 15:47:06 -08:00
Matt Bierner 4c5336dae1
Skip encoding of markdown links (#200588)
Fixes #200213

This encoding should no longer be needed now that we can smartly insert angle bracket links
2023-12-12 08:52:25 +11:00
Ladislau Szomoru b0b6913211
Git - gif config should not throw if key does not exist (#200358) 2023-12-08 15:10:52 +01:00
Francis Chartrand bef295a70b
timeline: use follow option so timeline follow file beyond renames (#187174)
feat(git): use follow option so timeline follow file beyond renames

Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com>
2023-12-08 13:03:59 +00:00
Roberto Huertas 62a957135b
feat(stash): return the stash result (#177732)
re #177726
2023-12-08 12:29:19 +01:00
Ladislau Szomoru fe055af0a4
Git - improve branch picker when merging (#200331)
* Git - improve branch picker when merging

* 💄
2023-12-08 12:26:40 +01:00
Benjamin Pasero d5307c5afa
Have workspace.save and workspace.saveAs methods that return the URI (fix #178713) (#200222) 2023-12-07 17:38:11 +01:00
Matt Bierner dabc3371fe
Add missing spaces after generic implements (#200182)
Keeps things more consistent. Should eventually be fixed on TS side https://github.com/microsoft/TypeScript/issues/56699
2023-12-06 12:29:05 -08:00
Matt Bierner a0d9408921
Use satisfies in a few more places (#200181)
Avoids casing issues
2023-12-06 12:27:47 -08:00
Matt Bierner cd9b560777
Lowercase separator title (#200184)
Matches our other labels
2023-12-06 21:13:13 +01:00
Megan Rogge e1a73f8f1e
Merge pull request #200163 from microsoft/merogge/npm-dependency
add `tree-views` to grooming notebook, add `npm` dependency of `vscode-uri`
2023-12-06 11:52:43 -06:00
meganrogge c6c21f1535
add to yarn.lock 2023-12-06 11:27:22 -06:00
Matt Bierner 673006e0e3
Fix copilot quick fix (#200162) 2023-12-06 18:15:48 +01:00
meganrogge 93b691ea01
fix #181598 2023-12-06 11:01:59 -06:00
Martin Aeschlimann 7231f840b4
update seti-font (#200041)
update seti
2023-12-06 17:38:03 +01:00
Alex Ross b0d60e8e2e
Add the new Less grammar back in (#200043)
This reverts commit 95c05bf57b.
2023-12-05 15:17:02 +01:00
Nathan Garside 1835eb7684
Add syntax highlighting for *.repo files (#199859)
Add syntax highlighting for *.repo files
2023-12-05 12:25:46 +01:00
Ladislau Szomoru 1466cbfcdf
SCM - delete scmInputBoxActionButton proposal (#200012) 2023-12-05 10:52:01 +01:00
Rob Lourens ada980d563
Merge interactiveUserActions proposal into chatAgents2Additions, and get rid of the old global event (#199916)
Towards #197687
2023-12-04 05:58:17 +01:00
Ladislau Szomoru c5874782c5
SCM - delete scmInputBoxValueProvider proposal (#199778) 2023-12-01 08:54:59 -08:00
Ladislau Szomoru 18b2c92451
Git - remove history provider action button (#199764)
* Git - remove history provider action button

* Remove debug messages
2023-12-01 16:10:44 +01:00
Ladislau Szomoru c6b48c364d
Git - remove references of scm.experimental.showSyncView from the Commit action button (#199616) 2023-11-30 01:21:33 +01:00
Henning Dieterichs 2ec8b37bf3
Adopts diff-multiple icon 2023-11-29 10:43:12 +01:00
Ladislau Szomoru 37425a6fbf
Git - do not show incoming/outgoing for tags, detached (#199476) 2023-11-28 17:46:31 -08:00
Ladislau Szomoru aebfa4798c
Git - Commit action button fix (#199475) 2023-11-29 02:16:59 +01:00
Aiday Marlen Kyzy 30ac9a452d
Making move to code action appear less often (#198864)
taking code from other pr
2023-11-29 02:00:19 +01:00
Ladislau Szomoru d689bb7950
SCM - handle empty commit in diff statistics badge (#199438)
* SCM - handle empty commit in diff statistics badge

* Undefined shortStat handled by the history provider
2023-11-28 15:41:20 -08:00
Tyler James Leonhardt 1501e97f52
preferred_username should be... preferred (#199445)
Apparently it's possible for preferred_username to be like `foo@mybiz.com` while `email` is set to `foo@mybizemail.com`... This is the more correct ordering.
2023-11-28 12:45:50 -08:00
Martin Aeschlimann bcf157a490
Update vscode-css-languageservice to version 6.2.11 (#199235) 2023-11-27 23:29:05 +01:00
Henning Dieterichs b5f1966e92
Merge pull request #199007 from microsoft/hediet/b/like-wolverine
Adopt config.multiDiffEditor.experimental.enabled
2023-11-27 12:31:58 +01:00
Ladislau Szomoru abd2f00bcc
SCM - implement scm/inputBox menu (#199147)
* SCM - fix regression related to the scm input box action button

* Single action working as expected

* Saving my work

* Fix enablement when there is only one action

* More polish when there are multiple actions

* WIP - Select default action

* Add proposal

* Another refactoring

* Update setting type

* Remove setting, store last executed command

* Revert code that was used for testing

* Fix compilation errors

* Remove test commands
2023-11-27 12:17:26 +01:00
Ladislau Szomoru 10e672c687
Revert "Git - deprecate registerCommitMessageProvider (#198953)" (#199022)
This reverts commit 93ab1bfe22.
2023-11-24 14:12:45 +01:00
Alex Ross 95c05bf57b
Revert new Less grammar in preparation for release (#199017)
* Revert "merge theme rules for css/less/scss variables (#197657)"

This reverts commit cc08867677.

* Revert "Adopt Better-Less grammar (#197557)"

This reverts commit ce40e7ce61.
2023-11-24 14:11:23 +01:00