Commit Graph

14763 Commits

Author SHA1 Message Date
Aiday Marlen Kyzy
b0725d3bf2
Merge pull request #208319 from microsoft/local-quail
Indent on enter from within [], {}, ()
2024-03-22 11:07:23 +01:00
Ladislau Szomoru
85eea4a9b2
Git - emit change event as soon as file is staged (#208376) 2024-03-22 08:53:04 +01:00
Rob Lourens
75e751380f
ChatRequestHandler should allow returning void (#208349)
Fix #205835
2024-03-22 00:57:34 +01:00
Matt Bierner
70e896c977
Fix md preview substr highlighting (#208337)
Fix substr highlighting

Fixes #205515
2024-03-21 22:32:35 +01:00
Aiday Marlen Kyzy
f2758ed8f7
making the regex more restrictive 2024-03-21 17:56:44 +01:00
Aiday Marlen Kyzy
d8a989efdd
adding rules to indent from within [], (), {} 2024-03-21 17:30:16 +01:00
Aiday Marlen Kyzy
20b54ec19e
making the regex pattern so that we don't match if/for/while inside of a word 2024-03-21 17:24:52 +01:00
Aiday Marlen Kyzy
5d1d7d98a6
adding parentheses aroudn the two different alternatives 2024-03-21 17:14:53 +01:00
Aiday Marlen Kyzy
0629845986
Merge branch 'main' into aiday/addingIndentationForIfForWhile 2024-03-21 17:10:29 +01:00
Aiday Marlen Kyzy
20ef51faea
Merge branch 'main' into aiday/addingIndentationForIfForWhile 2024-03-21 17:07:51 +01:00
Aiday Marlen Kyzy
d15b18783b
Merge pull request #208287 from microsoft/aiday/indentNextLineWhenArrowFunctionUsed
Indent next line when arrow function arrow followed by whitespace
2024-03-21 17:01:15 +01:00
Henning Dieterichs
2a14ad4b71 Fixes diff editor gutter menu focus problems 2024-03-21 15:40:37 +01:00
Aiday Marlen Kyzy
3aa12f6c38
simpler function is used in order to cover lambda functions 2024-03-21 15:07:52 +01:00
Don Jayamanne
e3cf2530e6
Include execution count in jupyter notebook diff (#208292)
* Include execution count in notebook diff

* Fix tests

* Misc changes

* Fix tests

* Fix more tests
2024-03-21 14:14:33 +01:00
Aiday Marlen Kyzy
62275bbca6
changing to round brackets inside of the regex pattern 2024-03-21 12:43:17 +01:00
Aiday Marlen Kyzy
5228f5a8b6
adding dollar sign at the end of the regex to match the full line 2024-03-21 12:13:20 +01:00
Aiday Marlen Kyzy
32aaeac3d6
adding pattern for if for and while 2024-03-21 11:04:24 +01:00
Aiday Marlen Kyzy
69f9c7a2e1
adding pattern in order to indent the next line 2024-03-21 10:27:30 +01:00
Rob Lourens
042c0893d9
Handle duplicate chat participant names (#208142)
* Enable duplicate chat participant names
#208103

* Register participants with an ID

* Update participant history in API

* Changes to dupe chat suggest widget, and fix serialize/deserialize

* Tweaks

* Test fixes

* Fix tests

* Test fixes

* Fix integration test
2024-03-20 16:44:03 -07:00
Matt Bierner
288be7d337
Fix settings keys (#208253)
Fixes #207804
2024-03-20 22:21:55 +01:00
Benjamin Christopher Simmonds
0657184073
Custom Labels Enhancement (#208029)
* Custom Lables

* polish

* dirname(nth)

* fix test?

* cleanup and perf

* 💄

* 💄

* 💄

* expression is parsed when initialized

* readonly

* 💄

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2024-03-20 14:33:58 +01:00
Ladislau Szomoru
d3877fb1dd
Git - improve performance for "Stage Block" command (#208181) 2024-03-20 12:00:03 +01:00
Don Jayamanne
c0fa2a7b47
Expose prop to determine if custom prop is used (#208145) 2024-03-19 17:12:07 -07:00
Don Jayamanne
0f6d7c03fc
Rename property to lineup with other exp props (#208121) 2024-03-19 20:31:31 +01:00
Connor Peet
2aa0f1c40b
testing: finalize test coverage (#208115)
Closes #123713
2024-03-19 19:46:17 +01:00
Don Jayamanne
55d6f3050d
Drop custom metadata property from notebooks behind setting (#208065)
* Drop custom metadata property behind setting

* Do not update existing object
2024-03-19 19:37:59 +11:00
Don Jayamanne
1e95cb902e
Keep notebook model in sync with the ipynb json (#208052) 2024-03-18 20:17:46 -07:00
Don Jayamanne
3242621276
Remove unwanted vscode property when not required (#208014) 2024-03-18 08:50:28 -07:00
Don Jayamanne
19a78385c7
Remove custom property from nb and cell metadata (#207995) 2024-03-18 15:01:04 +01:00
Henning Dieterichs
b7d35c8bdd Implements #206808 2024-03-15 17:08:36 +01:00
Alex Ross
6285faddc6
Update shellscript grammar (#207828) 2024-03-15 12:52:46 +01:00
Peng Lyu
123360f8be
Merge pull request #207745 from microsoft/rebornix/tragic-kingfisher
#207742. Failing to create untitled notebook
2024-03-14 20:39:27 -07:00
Matt Bierner
26f95e73b5
Try to clarify wording on setting (#207645)
Fixes #206535
2024-03-15 00:51:07 +01:00
Justin Chen
7637ca582e
proper quick fix if recently edited document (#206490)
* if doc has been recently changed, wait before running code action

* checking needs delay in extension

* removed unused awaits

* removed unused checks

* remove whitespace

* remove needsDelay and adds delay in extension instead

* remove recentlyadded

* remove whitespace

* cleanup from comments

* adds back needs delay

* deal with cancellation state

* remove whitespace and needsDelay again

* clean up

* Update codeActionController.ts

* add review

* added position for extra check
2024-03-15 00:47:17 +01:00
Peng Lyu
a8536b7a3c #207742. Failing test 2024-03-14 10:49:04 -07:00
Tyler James Leonhardt
c349c44f08
Move QuickPick on to an ObjectTree (#207520)
* Move QuickPick on to an ObjectTree

Enables sticky scroll

* Fix tests

* fix tests take 2

* fix tests by cleaning up disposables

* fix tests again

* `setChildren` less

* test if this is what fixes CI (but local would be broken)

* remove setFocus call since it just sends a random event that we don't need

* Only apply events to quickpickitems not separators

* a comment
2024-03-13 16:45:12 -07:00
Justin Chen
315ae79d96
ts server crash open issue reporter (#207526)
minor open reporter changes
2024-03-13 15:58:33 -07:00
Matt Bierner
e5f5e91423
Make paste resource respect paste location (#207635)
Fixes #207186
2024-03-13 22:27:44 +01:00
Matt Bierner
6b0a582e59
Update md grammar (#207608) 2024-03-13 18:25:52 +01:00
Martin Aeschlimann
45db12eeb2
JSON: filter schema error diagnostics (#207577) 2024-03-13 13:57:08 +01:00
Andrew Branch
d1498b3a48
[typescript-language-features] Fix autoImportFileExcludePatterns format to work on Windows (#202762)
* Do not prefix autoImportFileExcludePatterns with `/`

* Fix autoImportFileExcludePatterns format
2024-03-13 07:51:45 +00:00
Matt Bierner
4d88bd07ba
Pick up latest md language service (#207513) 2024-03-12 23:19:11 +01:00
Matt Bierner
9aecd9794a
Cleaning up paste api proposal (#207495) 2024-03-12 21:11:05 +01:00
Daniel Imms
490db24926
Revert "Implement proposed TerminalState.isShellIntegrationActivated" 2024-03-12 10:06:36 -07:00
Daniel Imms
4354ddd2cb
Fix terminal state test to work with new api 2024-03-12 07:55:01 -07:00
Don Jayamanne
7696df9026
Avoid blocking event loop when saving nb (#207381) 2024-03-12 08:18:20 +01:00
Don Jayamanne
9c3cc8b994
Avoid unnecessary workspace edits (#207377) 2024-03-12 02:03:43 +01:00
Aiday Marlen Kyzy
946d53e850
Merge branch 'main' into fix-autoindent-on-closing-paren 2024-03-11 09:42:02 +01:00
Ladislau Szomoru
967170aa0a
Git - add the capability to filter git log based on the author (#207169) 2024-03-08 16:41:40 +01:00
Matt Bierner
091987d943
Update paste and drop proposals (#206496)
* Update paste and drop proposals

Reworks the document paste and drop API proposals. Main highlights:

- Align more with code action api
- Allow a single paste provider to return multiple edits
- Allow resolving applied edits lazily
- Switch from using ids to scoped kinds like used for code actions

* Adding paste context

* Add context

* Update test
2024-03-07 16:04:36 -08:00
Matt Bierner
c087be9705
Adopt module 'Preserve' for TS 5.4+ (#206478) 2024-03-07 13:35:56 -08:00
Matt Bierner
6403b4367b
Pick up latest TS for building VS Code (#207096) 2024-03-07 12:59:59 -08:00
Matt Bierner
46ff95b5b1
Pick up latest stable TS release (#207095) 2024-03-07 19:01:56 +01:00
Miroma
d2599af6b9
Change default YAML extension (#206447) 2024-03-07 09:42:35 +01:00
Tyler James Leonhardt
cd6bd0a01a
Bug fix: check account id not session id (#206990)
This should be checking the account id not the session id... otherwise the user will get a modal every time they go through the login flow.
2024-03-06 19:02:46 +01:00
Martin Aeschlimann
8aca9a5331
JSON Language Server output channel appears twice (#206877) 2024-03-05 10:01:55 +01:00
Tyler James Leonhardt
191be39e5a
Make sure the same GitHub account is used until we support multiple GH accounts (#206847)
Fixes https://github.com/microsoft/vscode/issues/203850
2024-03-04 15:01:51 -08:00
Matt Bierner
a5abe07cea
Remove buffers that shouldn't be validated from geterr request (#206843)
Fixes #206644
2024-03-04 13:40:39 -08:00
Ladislau Szomoru
052fbcb851
Git - re-enable incoming files decoration (#206815) 2024-03-04 18:11:32 +01:00
Rob Lourens
2752932c07
Remove sendInteractiveRequestToProvider from interactive API (#206623)
* Remove `sendInteractiveRequestToProvider` from interactive API

* Fixes
2024-03-01 07:41:22 -08:00
Rob Lourens
bd79cb3a46
Change FollowupProvider to take a ChatContext. (#206611)
* Change FollowupProvider to take a ChatContext.
Also fix #205761

* Update test
2024-03-01 07:32:52 -07:00
Rob Lourens
00abefa3e2
Add chatParticipant contribution point (#206474)
* Add package.json registration for chat agents

* Update for tests

* Separate static and dynamic chat agent parts

* Handle participant registration correctly

* Fix tests

* Fix test

* Remove commented code

* Fix more tests

* Pluralize

* Pluralize test contribution
2024-02-29 06:52:12 -08:00
Raymond Zhao
c8c243a3d8
chore: add Windows as package platform (#206369) 2024-02-27 12:56:12 -08:00
Alex Ross
e9a8b6add5
Update grammars (#206330) 2024-02-27 12:14:40 +01:00
Matt Bierner
2ba3fae68d
Pick up TS 5.4 rc for bundling (#206263) 2024-02-26 17:45:12 +01:00
Martin Aeschlimann
845c8ed65c
Indentation doesn't work in .yml files (#205979) 2024-02-26 15:35:06 +01:00
Vinicius Stock
228a35f333
Fix accidental dedent for in and when dedent in Ruby comments 2024-02-23 17:13:13 -05:00
Logan Ramos
436af204d4
Bump tas client (#206106) 2024-02-23 10:00:23 -08:00
Henning Dieterichs
12997e68fd
Fixes #196084 (#206100) 2024-02-23 10:14:21 -07:00
Rob Lourens
61f447b79a
More small chat API fixes (#205901)
* Fix #205811

* Fix #205807

* Make description optional

* Fix

* fix test
2024-02-21 12:57:18 -08:00
Matt Bierner
52d39c1fa7
Fix high contrast light md images (#205888)
Fixes #203686
2024-02-21 18:00:14 +01:00
Matt Bierner
2ad2a35cad
Make sure we don't report errors in chat code blocks (#204779) 2024-02-21 08:53:05 -08:00
Ulugbek Abdullaev
bde8a22491
Merge pull request #205860 from microsoft/ulugbekna/fortunate-muskox
Removal of Copilot related code from TypeScript Refactor Provider
2024-02-21 15:56:50 +01:00
Ulugbek Abdullaev
b4e834f6fd
Removed Copilot related code from TypeScript Refactor Provider 2024-02-21 12:44:54 +01:00
Ladislau Szomoru
414f2cd189
Git - fix reopen closed repositories action visibility issue (#205851) 2024-02-21 12:20:59 +01:00
Ladislau Szomoru
8895f460c6
Git - better handle edge case when hard wrapping a line (#205831) 2024-02-21 10:26:15 +01:00
Ladislau Szomoru
94ad9a4199
Git - rename code action (#205712) 2024-02-20 17:45:25 +01:00
Ladislau Szomoru
5bc6776982
Gix - recompute diagnostics when settings change (#205711) 2024-02-20 17:41:42 +01:00
Ladislau Szomoru
232e9a2bef
Git - comment out GitIncomingChangesFileDecorationProvider (#205583) 2024-02-19 21:25:13 +01:00
Rob Lourens
efc04b885e
New proposal for chat variable resolver (#205572)
* Tweak ChatFollowup

* Remove API TODOs

* New proposal for chat variable resolver

* Bump distro

* Enforce same-extension followup

* Add participant proposal to integration test folder

* Allow no participant for a followup
2024-02-19 20:52:19 +01:00
Ladislau Szomoru
9b0d74345c
Git - remove git.experimental.inputValidation setting (#205550)
* Git - remove git.experimental.inputValidation setting

* Fix compilation error

* Fix migration code
2024-02-19 10:45:24 -08:00
Martin Aeschlimann
875855a444
fix: memory leak in code editor widget (#205488) (#205542)
Documentation: CSS setting is incorrect.
2024-02-19 15:26:08 +01:00
Rob Lourens
05bf957b31
Rename the chat agent API to "participant" (#205477)
* Start renaming chat API from "agent" to "participant"

* Rename the rest of the API

* Rename in integration test

* Update integration test api proposals

* Bump distro
2024-02-19 14:53:58 +01:00
rebornix
8d2e2d7732
Merge remote-tracking branch 'origin/main' into pr/vinistock/198349 2024-02-16 10:26:31 -08:00
Rob Lourens
4ba66bf35e
Chat API: add 'command' to response history (#205377) 2024-02-16 09:09:04 -07:00
Ladislau Szomoru
9aa943b890
Git - toggle diagnostics when git.experimental.inputValidation setting changes (#205355) 2024-02-16 15:06:36 +01:00
Ladislau Szomoru
ae7a786d1b
Git - do not invoke post commit commands when calling commit through the git extension api (#205364) 2024-02-16 14:32:31 +01:00
Ladislau Szomoru
e713ba0fb9
Git - Add context menu to history items (#205359) 2024-02-16 12:48:08 +01:00
Ladislau Szomoru
0f8cab37f1
Git - add "Hard wrap all lines" code action is there are multiple long lines (#205349)
* Git - add "Hard wrap all lines" code action is there are multiple long lines

* 💄 Moved code around
2024-02-16 10:58:44 +01:00
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