Commit graph

14490 commits

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