Commit graph

14678 commits

Author SHA1 Message Date
Ladislau Szomoru 8d1ecd7b94
SCM - 💄 API cleanup (#209339)
* SCM - 💄 API cleanup

* Fix compilation
2024-04-02 14:51:36 +02:00
Matt Bierner cb83e0b39b
Don't use stateful regex (#209268)
Fixes #209254
2024-04-01 19:00:16 +02:00
Matt Bierner 7d788e70b9
Limit drop disablement to just http(s) uris (#209240)
For #209239
2024-04-01 04:37:06 -07:00
Raymond Zhao e483d8407c
chore: bump katex (#209141) 2024-03-29 21:07:15 +01:00
Matt Bierner a29a83ddd4
Add pwsh alias (#209063)
Commonly used for markdown blocks
2024-03-28 15:59:23 -04:00
Aiday Marlen Kyzy f62931d09b
Making same changes to JavaScript language configuration file as for TypeScript (#209038)
making the language configuration file the same as for typescript
2024-03-28 18:25:55 +01:00
Ladislau Szomoru a7f384badb
Git - remove deprecated extension API (#209010) 2024-03-28 05:25:40 -07:00
Matt Bierner a83b5818f3
Pick up TS 5.4.3 (#208940)
Minor update with a few fixes
2024-03-27 19:30:37 +01:00
Ladislau Szomoru 4a6ebe0ee5
Git - fix #208562 (#208761) 2024-03-26 12:32:02 +01:00
Benjamin Pasero 099c39eb5b
Failing integration test: vscode API - globalState / workspaceState (fix #208134) (#208756) 2024-03-26 07:53:08 +01:00
Benjamin Pasero c972b16a33
Integration test failure: workspace.applyEdit drops the TextEdit if there is a RenameFile later (fix #206356) (#208662) 2024-03-26 15:38:03 +09:00
Ladislau Szomoru 8d02db45e9
GitProtocolHandler - update supported schemes based on the platform (#208730) 2024-03-25 15:55:49 -07:00
Peng Lyu c1b0fbbe22
remove console.log (#208474) 2024-03-22 22:56:32 +01:00
Martin Aeschlimann fb757ca041
[json/html/css] update services (#208443)
* [json/html/css] update services

* use older language client

* older languageclient

---------

Co-authored-by: Logan Ramos <lramos15@gmail.com>
2024-03-22 21:52:12 +01:00
Aiday Marlen Kyzy a00f2e64f4
Merge pull request #208291 from microsoft/aiday/addingIndentationForIfForWhile
Indent next line for if/for/while statement followed by whitespace
2024-03-22 11:07:52 +01:00
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