Commit graph

14559 commits

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