Commit graph

14559 commits

Author SHA1 Message Date
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
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
Ladislau Szomoru 79f8189bb4
Git - update git.inputValidation default value (#199019) 2023-11-24 12:32:54 +01:00
Henning Dieterichs 95d76848a1
Adopt config.multiDiffEditor.experimental.enabled 2023-11-24 10:49:17 +01:00
Ladislau Szomoru ed6dc7b6b3
Git - fix command titles (#198996) 2023-11-24 09:41:44 +01:00
Ladislau Szomoru 93ab1bfe22
Git - deprecate registerCommitMessageProvider (#198953) 2023-11-23 17:42:17 +01:00
Ladislau Szomoru a776d5fe0a
SCM - input box value provider rendering (#198923)
* Initial implementation

* Remove debug messages

* Implementation using a custom ActionViewItem

* Switched to using a custom action along with the custom action view item

* Switch to using arrays

* Refactored code (single provider is working)

* Add ActionRunner to options

* WIP - saving my work

* Refactor things to support one provider

* Add setting to enable/disable input action button

* Add sourceControlId to the proposed API

* Fix issue related to enablement

* Remove code that is not in scope

* Have the old action bar work with the setting

* Remove code that was commented out

* Add extension API changes

* Update extensions/git/src/commitMessageProvider.ts

Co-authored-by: João Moreno <joao.moreno@microsoft.com>

* Fix compilation errors

---------

Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2023-11-23 16:39:53 +01:00
Andrew Wang 452b754c5e
Add support for running DebugConfigurations with serverReadyAction (#197597)
* Add support for running DebugConfigurations with serverReadyAction

This PR adds 'config' as an option for serverReadyAction. It runs
similar to 'name', but if a configuration is generated on the fly, its
easier to inject the debug configurations with the serverReadyAction.

* Merge into startDebugSession method

---------

Co-authored-by: Rob Lourens <roblourens@gmail.com>
2023-11-22 19:41:19 +00:00
Michael Lively e33219dde3
Add multi-document highlight provider feature (#198467)
* multi-doc api + text provider editor feature + extHost hookup + typescript semantic multi-doc

* fix disposable leak, wasn't setting providers to the disposableMap

* filter unnecessary models to fix errors with typescript provider

* fix nits (todo - doc filter)

* fix typo from merge conflict

* expose LanguageSelector in multi-doc provider, filter out 0 score models
2023-11-22 10:07:20 -08:00
Aiday Marlen Kyzy 9524207999
Reverting changes in TypeScript language features extension (#198858)
Revert "Merge pull request #198775 from microsoft/aiday/typeScriptChanges"

This reverts commit 5d9d06611b, reversing
changes made to 823d54f86e.
2023-11-22 14:55:04 +01:00
Aiday Marlen Kyzy 5d9d06611b
Merge pull request #198775 from microsoft/aiday/typeScriptChanges
Making TypeScript code actions `move to new file` and `move to` appear less often
2023-11-22 13:38:36 +01:00
Aiday Marlen Kyzy edf26e4bae
polishing the code with review 2023-11-22 11:08:47 +01:00
Matt Bierner aab5c69c79
Fix reference to worker session (#198820) 2023-11-21 16:06:33 -08:00
Matt Bierner fbbdb7912e
Reduce direct dependencies on ts in web server (#198809)
Reduce direct dependencies on ts in web server

This reduces the number of direct imports of `ts` in `webServer.ts`. This sets us up so that we can eventually swap out the TS versions at runtime instead of being limited to the TS version webServer is bundled against
2023-11-21 15:31:10 -08:00
Matt Bierner fbfabc523d
Split up webServer.ts (#198802)
Refactors webServer.ts to split it into multiple files and encapsulate some functionality in classes
2023-11-21 12:06:47 -08:00
Aiday Marlen Kyzy ddc7a1e51a
tweaking the recursion, so that we do not do the recursion for a long time 2023-11-21 17:40:06 +01:00
Megan Rogge 8af169e554
Merge pull request #197668 from microsoft/merogge/quick-fix-api
`addNewLine` -> `shouldExecute`, expose this in quick fix API
2023-11-21 10:23:27 -06:00