Matt Bierner
1908c48d3c
Update decorator signature
2025-08-06 14:52:15 -07:00
Matt Bierner
3e7a233c64
Revert git api change
2025-08-06 14:38:32 -07:00
Matt Bierner
2baf1b4cde
Runtime fixes for stage 3 decorators
2025-08-06 14:32:43 -07:00
Matt Bierner
d8c9852fe9
Don't use experimental decorators in extensions
...
Seeing if we can compile our extensions using TS native which doesn't support these. The usage is so low that I think we can just remove them
2025-08-06 13:24:19 -07:00
Matt Bierner
30b93b1217
Bump extensions to target es2024
...
I reviewed the various changes and library additions of es2024 and it seems they are widely supported across node and modern browsers
2025-08-05 10:40:33 -07:00
Christy 😺
cb1290bcb1
Add create new branch option (create worktree) ( #259599 )
...
* add create branch option on current branch
* fix override
2025-08-04 18:28:27 +00:00
Christy 😺
f58a56ea03
Handle worktree errors ( #259106 )
...
* fix worktree error handling
* remove print statement
* clean up
2025-07-31 16:38:57 -07:00
Christy 😺
1297e26760
Handle worktree errors ( #258867 )
...
* throw err when choosing already checked out branch
* fix two separate worktree error handling
* Validate branch as soon as it is selected
* Working path validation upfront
* normalize paths
---------
Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com >
2025-07-31 16:44:24 +00:00
Ladislau Szomoru
35eddf193f
Revert "Git - honor detectSubmodules and detectWorktrees settings when opening a workspace from a file" ( #259005 )
...
This reverts commit 655258b05e .
2025-07-31 15:26:48 +02:00
Ladislau Szomoru
0b25736ee6
Git - detect worktrees when opening a worktree ( #258980 )
2025-07-31 10:52:07 +00:00
Ladislau Szomoru
cc28f165ce
Git - add the ability to create a worktree from a worktree ( #258956 )
2025-07-31 11:59:33 +02:00
Christy 😺
20724f79ba
fix default path bug related to branch prefix ( #258709 )
...
* fix default path bug related to branch prefix
* remove branch prefix first, then get last component
* replace / with -
* clean up
2025-07-30 15:02:35 +00:00
Ladislau Szomoru
4baac87285
Git - polish worktree error handling ( #258806 )
2025-07-30 14:04:44 +00:00
Ladislau Szomoru
61deced474
Git - fix git.stageFile and git.unstageFile commands so that they work when invoked using a keybinding ( #258771 )
2025-07-30 12:28:45 +02:00
Christy 😺
860defc712
allow delete worktrees if worktrees are closed ( #258696 )
2025-07-29 16:21:38 -07:00
Christy 😺
ed9f03c3aa
Error handle delete worktree within a worktree ( #258297 )
2025-07-28 18:43:58 +00:00
Christy 😺
f496271cbd
filter only worktrees for open command ( #257933 )
2025-07-25 18:51:09 -07:00
Ladislau Szomoru
2f09f40b0b
Git - honor detectSubmodules and detectWorktrees settings when opening a workspace from a file ( #257813 )
2025-07-25 13:47:43 +02:00
Christy 😺
afd143299e
add Create New branch option in creating worktree ( #257701 )
...
* Create new branch option for creating worktrees
* clean up
* resolve esc flows
2025-07-24 17:59:16 +00:00
Christy 😺
2446b91ada
revamp create worktree... flow ( #257603 )
...
* revamp create worktree... flow
* Cleanup code
---------
Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com >
2025-07-24 18:40:20 +10:00
Ladislau Szomoru
cfc04dc5ba
Git - read the HEAD of each worktree ( #257532 )
2025-07-23 21:37:32 +00:00
Christy 😺
8bef53d4b6
refine default worktree name ( #257501 )
2025-07-23 13:35:43 -07:00
Christy 😺
b5c5403c61
create new branch in Create Worktree... command ( #257370 )
...
* create new branch in Create Worktree... command
* separator between creating branch and existing branch
* refine create branch
* clean up
* code clean up
* Update commands.ts
* resolve hygiene error
2025-07-23 17:41:02 +00:00
Ladislau Szomoru
d421372b3e
Git - add the ability to create worktree from remote branches and tags ( #257461 )
2025-07-23 08:03:48 -07:00
Ladislau Szomoru
ebd5fb15ef
Git - fix file path parsing issue in askpass ( #257422 )
...
Git - fix file path parsin issue in askpass
2025-07-23 12:33:33 +02:00
Christy 😺
b78acaed0e
worktree error handling in creation of worktrees and checking out branches ( #257328 )
...
* worktree error handling in creation of worktrees and checking out branches
* code clean up
2025-07-22 15:10:03 -07:00
Christy 😺
44bc33cc68
detect worktrees on by default ( #257282 )
2025-07-22 08:15:09 -07:00
Christy 😺
4075a14638
Git: refine Delete worktree... command to populate repo picker if necessary ( #257279 )
...
refine Delete worktree... command
2025-07-22 14:58:35 +00:00
Christy 😺
2b37aecab3
Error handling of create worktree and fix create worktree... command from command palette ( #257172 )
...
* esc when creating worktree name cancels create operation
* Find main repo for createworktree command palette to prevent repo picker
* error handling of creating worktree
* add back repo picker for create worktree... command
2025-07-22 07:37:50 -07:00
Ladislau Szomoru
c7ad864491
Git - add the ability to limit command palatte commands to repository types ( #257261 )
2025-07-22 06:12:34 -07:00
isomo
1ddf2e846d
Fix git.diff.stageHunk command to work with keyboard shortcuts ( #254145 )
...
The command now falls back to cursor-based hunk staging when no context
is provided, enabling keyboard users to stage hunks without manual selection.
Fixes https://github.com/microsoft/vscode/issues/253895
2025-07-22 12:47:07 +00:00
Ladislau Szomoru
5fa87f9356
SCM - worktree context menu improvements ( #257242 )
2025-07-22 12:23:39 +02:00
Christy 😺
c937d1d05f
Open worktree in current or new window command ( #257139 )
...
* open worktree in window
* open worktree refinements
2025-07-21 11:46:07 -07:00
Christy 😺
6187e6deb7
Git: Delete Worktree... command for command palette only ( #256827 )
...
* Delete worktree picker command palette
* clean up
* Only allow delete worktree picker from main repository
* Find main repository
* resolve hygiene formatting issues
2025-07-21 07:48:08 -07:00
Ladislau Szomoru
e7be6e9cff
SCM - add proposed API to specify source control provider icons ( #256762 )
2025-07-18 12:54:18 -07:00
Christy 😺
dd052e8d44
rework deletion flow ( #256415 )
...
* rework deletion flow
* change delete label
* Revise deletion of worktree
* reopen correct repo
* clean up
* Refactor deleteWorkspace command
* Do not show deleteWorktree command in the command palette
---------
Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com >
2025-07-18 07:06:08 -07:00
Ladislau Szomoru
faa9f0afcc
SCM - proposed API to represent parent/child relationship ( #256242 )
...
* Add plumbing for parent/child relationship
* Fix selected and view height
* More clean-up
* More fixes related to view height
* Dispose submodules and worktrees
* Add onDidDisposeParent event
2025-07-17 14:54:32 +00:00
Christy 😺
72aaf2bc9f
Add worktree command ( #255945 )
...
* Basic functionality of adding worktree
* Code refactoring and clean up
* Remove accidentally added submodules
* Specify folder destination
* Remove default worktree path, always prompt for destination instead
* create worktree only displayed in repo's worktree subcommands
* Git - handle another error condition when detecting worktrees (#256278 )
* Rework creating worktree flow
* Include worktree name placeholder
---------
Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com >
2025-07-16 18:54:45 +00:00
Ladislau Szomoru
0cfca3786c
Git - handle another error condition when detecting worktrees ( #256278 )
2025-07-16 09:15:33 -07:00
Ladislau Szomoru
c0ceb8ca95
Git - fix regression related to worktree detection ( #256265 )
2025-07-16 08:10:22 -07:00
Ladislau Szomoru
d10e7bc100
Git - do not prompt for opening worktrees ( #256059 )
2025-07-15 08:41:26 -07:00
Christy 😺
4576aa4385
Enable viewing of worktrees under Repositories ( #254992 )
...
* init
* fix: correct configuration key for detecting Git worktrees
* Fixed misspelling of worktrees and populated worktree list
* exported parseGitWorktrees
* Replaced git commands with file system reader
* Removed trailing './git' from path
* Prevent errors when accessing empty worktree directory
* Enable worktree deletion
* code clean up
* Remove exposure to git extension
* labeling and minor fixes
* throw error when no worktrees created
* Error handling when getting worktrees
---------
Co-authored-by: bhavyaus <bhavyau@microsoft.com >
2025-07-14 11:27:00 -07:00
Ladislau Szomoru
10abf5a6f6
SCM - Add contextValue proposed API for SourceControl object ( #255338 )
...
* Add contextValue proposed API
* Update names
* Fix documentation
2025-07-14 16:43:24 +02:00
Ladislau Szomoru
6c8a25ae47
Git - distinguish between repository, submodule, and worktree ( #255374 )
2025-07-11 15:35:09 +02:00
Jérôme Lécuyer
d37ee81e3d
Git - l10n discard changes dialogs ( #254366 )
2025-07-08 16:18:12 +00:00
Ladislau Szomoru
4d7c56ee82
Engineering - Add GitHub action for pull requests ( #254056 )
...
* Test - handle running tests as part of a GitHub action
* Add GitHub action files
2025-07-04 08:21:56 +00:00
Ladislau Szomoru
ea92c32109
Git - fix race condition with computing teh branch base ( #251374 )
2025-06-13 13:41:51 +02:00
Ladislau Szomoru
6e189da432
Git - add extension API to get the repository root ( #250044 )
...
* Git - add extension API to get the repository root
* Pull request feedback
2025-05-30 18:13:55 +00:00
Ladislau Szomoru
973a531c70
Git - add logging for askpass ( #250109 )
2025-05-30 09:17:20 -04:00
Ladislau Szomoru
e8abd52cf7
Git - provideOriginalResource() should handle symbolic links ( #249920 )
2025-05-27 11:28:57 -07:00