Commit Graph

2954 Commits

Author SHA1 Message Date
Ladislau Szomoru
f08b93ebb9 Git - add template support for editor decoration/status bar item (#234582)
* Refactor property names

* Add template support

* Refactor template variable names

* Manually fix the merge
2024-11-25 16:55:40 +00:00
Ladislau Szomoru
058d2a8f57 Git - fix git blame hover action titles (#234583) 2024-11-25 07:58:54 -08:00
Ladislau Szomoru
213334eb80 Git - add onDidCheckout extension API event (#234483) 2024-11-24 06:21:17 +05:30
Ladislau Szomoru
9088a3747d Git Blame - fix editor decoration hover (#234469) 2024-11-23 15:35:26 +05:30
Ladislau Szomoru
3067477dd7 Git - extract staged resource quick diff provider (#234425)
* Git - extract staged resource quick diff provider

* Fix the build
2024-11-22 15:40:25 +00:00
Ladislau Szomoru
d8d0ddba9c Git Blame - refactor implementation to use an additional dirty diff provider (#234420)
* Initial implementation using a quick diff provider

* Add proposed API to hide a dirty diff decorator
2024-11-22 14:12:32 +00:00
Ladislau Szomoru
d594d2c919 Git Blame - switch to LineRangeMapping and exclusive line ranges (#234409)
Switch to LineRangeMapping and exclusive line ranges
2024-11-22 11:31:37 +01:00
Ladislau Szomoru
927f53de44 Git - tweak git blame computation (#234386)
* Helper methods

* Finished implementing the prototype

* Command handled model creation/disposal

* Cache staged resources diff information
2024-11-21 14:18:49 -08:00
Ladislau Szomoru
157567fd8f Git - add git blame hover (status bar item, editor decoration) (#234338) 2024-11-21 12:21:34 +01:00
Ladislau Szomoru
ee21e638be Git - only show git blame for text documents with the file scheme for now (#234312) 2024-11-20 16:32:56 -08:00
Ladislau Szomoru
4b01d0172d Git - add git blame status bar item command (#234307) 2024-11-21 00:29:54 +01:00
Ladislau Szomoru
b61c0f18d9 Git - add git blame status bar item (#234302)
* Git - improve enabliment of the editor decoration

* Git - add git blame status bar item
2024-11-20 15:08:33 -08:00
Ladislau Szomoru
2ee7ae88b4 Git - improve enabliment of the editor decoration (#234296) 2024-11-20 14:14:16 -08:00
Ladislau Szomoru
2e93ebce77 Git - extract editor decoration (#234292) 2024-11-20 20:30:33 +01:00
Ladislau Szomoru
2b6fb11ade Git - git blame bug fixes (#234273)
* Handle staging/unstaging

* Handle changes included in the git blame output
2024-11-20 15:59:55 +01:00
Ladislau Szomoru
d6c7380f01 Git - switch stage/unstage/revert commands to use the legacy diff information (#234251) 2024-11-20 12:13:51 +01:00
Ladislau Szomoru
975e05cd1c DiffInformation API - cleanup + renames (#234248)
* Refactoring + renaming things

* Renamed TextEditorDiffKind to TextEditorChangeKind
2024-11-20 14:46:04 +05:30
Ladislau Szomoru
6c8a8e24d2 Git - tag setting + better handling of not yet committed changes (#234221) 2024-11-19 23:03:29 +01:00
Ladislau Szomoru
80635b487b Git - experimental git blame editor decoration (#234209)
* Initial implementation

* Add setting, and cache blame information more aggressively
2024-11-19 22:05:19 +01:00
Ladislau Szomoru
e222bb40e0 Git - hide git.diff.stageHunk and git.diff.stageSelection commands from the command palette when not in diff editor (#234163) 2024-11-19 10:40:17 +01:00
Ladislau Szomoru
a878a1576a Git - handle missingcontext information for commands (#234161) 2024-11-19 10:19:25 +01:00
Ladislau Szomoru
bb9597e63e Git - stage/unstage/revert selected changes commands use diff information (#234140) 2024-11-18 22:45:49 +01:00
Ladislau Szomoru
30043071a3 TextEditorDiffInformation API proposal (#233896)
* WIP - initial implementation

* Introduce the diff model service

* Remove code that is not needed

* Handle DiffEditor

* Performance optimization

* Refactor code

* More cleanup (V1)

* More cleanup (V2)

* More cleanup (V2.1)

* Pull request feedback

* Remove debugging statements

* Update mock proxy to fix tests

* Add proposed api check
2024-11-18 15:38:21 +01:00
Ladislau Szomoru
09255216a2 SCM Graph - add actions back to the view title (#234091)
* Initial implementation

* Adjust commands and context key computation
2024-11-18 12:53:59 +01:00
Ladislau Szomoru
289056d976 Git Editor - create document link provider (#230389) 2024-10-03 13:58:27 +02:00
Ladislau Szomoru
d085816005 Git - better handle conflict during cherry-pick (#230312) 2024-10-02 16:39:30 +02:00
Johannes
e6f315d2fc eng - use esModuleInterop for extensions 2024-10-01 21:57:30 +02:00
Robo
9494a89080 chore: add npmrc to extensions folder (#230214) 2024-10-01 12:43:01 +02:00
Ladislau Szomoru
1d4130b8b3 Git - fix repository detection when rev-parse returns a UNC path on Windows (#230207) 2024-10-01 10:35:48 +02:00
Benjamin Pasero
b591f33513 🆙 jschardet@3.1.4 (#230197) 2024-10-01 08:19:15 +02:00
Matt Bierner
d3596df9eb More type assertion fixes (#230181)
For #211878

Also adds a few suppressions
2024-09-30 16:21:12 -07:00
Matt Bierner
51fa4d0172 Fix more type assertions (#230156)
* Fix more type assertions

For #211878

* Fix type error
2024-09-30 14:17:06 -07:00
Ladislau Szomoru
6c94f0a703 SCM - 💄 ActionButton API cleanup (#229943) 2024-09-27 12:08:48 +02:00
Ladislau Szomoru
0dea65fe0d Git - rework integration tests (#229926)
* Git - rework integration tests

* Fix test
2024-09-27 11:38:10 +02:00
Ladislau Szomoru
44d05b9dfa Git - cheery-pick now handles the case where the changes are already present on the current branch (#229731) 2024-09-25 18:07:16 +02:00
Ladislau Szomoru
bdc3e5e2f4 SCM Graph - only show one badge per color/type (#229716) 2024-09-25 16:18:56 +02:00
Ladislau Szomoru
deea09a36f Git - remove the usage of cp.execSync from git integration test. Add assertions. (#229395) 2024-09-23 18:00:23 +02:00
Ladislau Szomoru
a90e2f4e0f Git - attempt to improve test reliability (#229160) 2024-09-20 16:55:45 +02:00
Ladislau Szomoru
55ed7b6ebc Git - error handling while computing merge base (#229134) 2024-09-20 11:05:59 +02:00
Ladislau Szomoru
cf4bc01bfb Git - correctly detect merge base when creating a branch from a remote branch (#228942) 2024-09-18 17:02:02 +02:00
Ladislau Szomoru
47a8de0b9f SCM Graph - add option to return only a subset of history item references (#228932) 2024-09-18 12:36:57 +02:00
Ladislau Szomoru
dfa3888fbd Git - use --stdin when running git log (#228817)
* Revert "Git - truncate commit hashes before running git log (#228643)"

This reverts commit 26ae4519ca.

* Use the --stdin flag when running git log
2024-09-17 13:36:14 +02:00
Ladislau Szomoru
1d10fa2268 Git - terminal shell integration to handle missing sub command (#228809) 2024-09-17 11:54:11 +02:00
Ladislau Szomoru
26ae4519ca Git - truncate commit hashes before running git log (#228643) 2024-09-14 19:50:20 -07:00
Ladislau Szomoru
31e597ccdd Git - only compute incoming changes decorations when needed (#228611) 2024-09-14 00:49:13 +02:00
Ladislau Szomoru
a8343f15fa Git - retrieve references as part of updating the model (#228609)
* Git - retrieve references as part of updating the model

* Remove extra import
2024-09-13 15:31:26 -07:00
Ladislau Szomoru
056af29c9b SCM Graph - Add "Go to Current History Item" action (#228600)
* Reveal current history item if it is already part of the tree

* Fetch current history item
2024-09-13 23:35:29 +02:00
Ladislau Szomoru
597b5e965b SCM Graph - Add more commands to the context menu (#228480)
* SCM Graph - add "Checkout (Detached)" command

* Add "Cherry Pick" command
2024-09-13 15:36:52 +02:00
Ladislau Szomoru
4376d38fcd SCM Graph - Add "Create Branch..." command to the history item context menu (#228438) 2024-09-13 12:15:16 +02:00
Ladislau Szomoru
8a9caf323a SCM Graph - Add "Create Tag" action to history item context menu (#228428) 2024-09-13 10:17:44 +02:00