Commit Graph

89 Commits

Author SHA1 Message Date
Ladislau Szomoru
4ff01e687e Git - tweak copilot worktree folder detection (#299147)
* Git - tweak copilot worktree folder detection

* Pull request feedback
2026-03-04 08:58:25 +00:00
Ladislau Szomoru
fb87d94563 Git - expose random name generation for branches (#298938) 2026-03-03 12:45:46 +00:00
Ladislau Szomoru
b81bd1a1d1 SCM - hide worktrees created by Copilot Chat (#284462) 2025-12-19 15:02:54 +00:00
Ladislau Szomoru
abd691b025 Git - polish delete worktree picker (#284242) 2025-12-18 12:22:41 +00:00
Ladislau Szomoru
f297f37463 Git - add "Stashes" node to the repositories view (#279400)
* WIP - Initial implementation

* Get author and committer date for a stash

* Add drop stash command

* More cleanup
2025-11-25 17:13:48 +00:00
Ladislau Szomoru
e82ab3b366 SCM - add more commands to the repositories view (#274352)
* SCM - artifact tree improvements

* Add support for compression

* Add more commands
2025-10-31 15:44:15 +01:00
Ladislau Szomoru
c244c79cd4 Git - remove the usages of any (#270179)
* Git - remove the usages of `any`

* Remove debug message
2025-10-07 08:14:52 -04:00
Ladislau Szomoru
bbe85db188 Git - remove usages of any (#270075)
* Git - remove usages of `any`

* 💄 fix check
2025-10-06 18:23:03 +00:00
Matt Bierner
360c9fd134 Add lint rule for as any and bulk ignore all existing breaks
For #269213

This adds a new eslint rule for `as any` and `<any>({... })`. We'd like to remove almost all of these, however right now the first goal is to prevent them in new code. That's why with this first PR I simply add `eslint-disable` comments for all breaks

Trying to get this change in soon after branching off for release to hopefully minimize disruption during debt week work
2025-10-02 23:38:33 -07:00
Ladislau Szomoru
d0cb4a16a5 Git - fix regression related to using path.sep (#269361) 2025-10-01 15:36:11 +00:00
Ladislau Szomoru
597148770d SCM - use subject as the title of the multi-file diff editor (#269347) 2025-10-01 16:55:05 +02:00
Ladislau Szomoru
b276d35cd6 Git - path comparison should better handle trailing/mixed separators (#267112) 2025-09-17 06:56:24 -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
Ladislau Szomoru
88c1f24373 Git - reduce the number of getConfiguration() calls (#246295)
* Git - reduce the number of `getConfiguration()` calls

* Missed one
2025-04-11 10:12:35 +02:00
Ladislau Szomoru
82839a3b65 Git - improvements to relative path calculation (#245001)
Git - relative path using both the repository root and repository real root
2025-03-28 20:15:52 +01:00
João Moreno
25c371614f disable untrackedChangesEnableTrash in linux snap (#242188)
* disable untrackedChangesEnableTrash in linux snap

related to #241476
cc @lszomoru

* missing isLinuxSnap check
2025-02-27 16:36:12 +01:00
Ladislau Szomoru
bd05fbbcb0 Git - disable untracked file soft-delete when connected to a remote (#240805) 2025-02-14 16:32:35 +01:00
Ladislau Szomoru
3d3806164c Git - remove the ignore sources setting as it is now merged into the sources setting (#240635) 2025-02-13 12:15:01 +01:00
Ladislau Szomoru
22c92fc911 Initial implementation (#240264) 2025-02-10 18:05:21 +01:00
Ladislau Szomoru
3548eae0e1 Git - add git.commitShortHashLength setting (#237343) 2025-01-06 16:05:37 +00:00
Ladislau Szomoru
2b1cfedf1e Git - more git blame code cleanup (#234739)
* Cleanup code

* Fix multi-file diff editor uri/title
2024-11-27 11:14:46 +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
Johannes
e6f315d2fc eng - use esModuleInterop for extensions 2024-10-01 21:57:30 +02:00
Ladislau Szomoru
d8af24e15d SCM - wire-up the onDidChangeHistoryItemRefs event (#228042)
Wire-up the event
2024-09-09 16:51:31 -07:00
Robo
5216c04428 chore: update to electron 29 (#209818)
* chore: update electron@29.1.0

* chore: update typings to 20.x

* chore: bump electron@29.1.5

* ci: fix crash in compiling extensions-ci

* chore: disable .d.ts check for build/

$ ../node_modules/.bin/tsc -p tsconfig.build.json
node_modules/@types/chokidar/index.d.ts:21:14 - error TS2420: Class 'import("/Users/demohan/github/vscode/build/node_modules/@types/chokidar/index").FSWatcher' incorrectly implements interface 'import("fs").FSWatcher'.
  Type 'FSWatcher' is missing the following properties from type 'FSWatcher': ref, unref

21 export class FSWatcher extends EventEmitter implements fs.FSWatcher {
                ~~~~~~~~~

node_modules/chokidar/types/index.d.ts:8:14 - error TS2420: Class 'import("/Users/demohan/github/vscode/build/node_modules/chokidar/types/index").FSWatcher' incorrectly implements interface 'import("fs").FSWatcher'.
  Type 'FSWatcher' is missing the following properties from type 'FSWatcher': ref, unref

8 export class FSWatcher extends EventEmitter implements fs.FSWatcher {
               ~~~~~~~~~

Found 2 errors in 2 files.

Errors  Files
     1  node_modules/@types/chokidar/index.d.ts:21
     1  node_modules/chokidar/types/index.d.ts:8

Refs a0f9e09f64

* chore: update core types

* temp: fix layer validation

* chore: update nodejs checksums

* ci: use latest v20 LTS for missing node-gyp

Refs eacec5f490

* ci: define LIBCPP_HARDENING_MODE

* ci: fix crash in vscode-web-min-ci

* chore: update rpm deps-list

* chore: bump tree-sitter-typescript@0.20.5

* chore: bump electron@29.3.0

* chore: bump electron@29.3.1

* chore: update rpm deps-list for x86_64

* ci: disable io_uring UV backend on linux

* ci: disable io_uring backend for oss as well

* chore: update typings to 20.x

* ci: add TODO for io_uring workaround

* chore: bump distro

* chore: update preinstall node version checks

* chore: update @types/gulp

Refs https://github.com/microsoft/vscode/issues/212442

* ci: disable io_uring in more test suites
2024-05-11 01:20:28 +09:00
Ladislau Szomoru
4a6ebe0ee5 Git - fix #208562 (#208761) 2024-03-26 12:32:02 +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
d4fb31c56d Git - fix relativePath() edge case (#194653) 2023-10-05 15:37:52 +02:00
Ladislau Szomoru
933c22a53f Git - Handle repository paths with a trailing \ character (#159461)
* Fix another edge case with Windows path that contains a trailing \ character

* Pull request feedback
2022-08-30 02:58:45 -07:00
Matt Bierner
f17b33faf2 Use .?method() in more places (#152112)
Switches simple patterns like:

```ts
if (some.thing) {
    some.thing.method();
}
```

to:

```ts
some.thing?.method()
```

This is more concise and avoids having to repeat the `some.thing` part
2022-06-15 16:28:31 +00:00
Johannes
0656d21d11 auto-fixed prefer-const violation 2022-06-08 17:49:21 +02:00
Ladislau Szomoru
ce88518440 Git - logging improvements (#148656) 2022-05-05 12:52:26 +00:00
Johannes Rieken
4a130c40ed enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391 2022-02-02 14:35:33 +01:00
Ladislau Szomoru
a10dccc76a Replace path.relative with a helper function that factors in case sensitivity but preserve the casing of the resource path 2022-01-24 12:58:24 +01:00
Ladislau Szomoru
23664355e6 Revert "Replace path.relative with a helper function that factors in case sensitivity"
This reverts commit c3bd29b3d0.
2022-01-21 13:35:08 +01:00
Ladislau Szomoru
c3bd29b3d0 Replace path.relative with a helper function that factors in case sensitivity 2022-01-20 11:44:11 +01:00
Ladislau Szomoru
41a1de64ed Handle Mac file system as case insensitive when comparing paths in the git extension. #138090 2022-01-18 21:45:25 +01:00
Ladislau Szomoru
452e2c5303 Add timestamp and execution time to Git log 2021-12-09 15:18:38 +01:00
Eric Amodio
1fd558ab2f Fixes #117513 - deals with very old git 2021-04-01 13:50:22 -04:00
Matt Bierner
50cc1d0e97 Update to use TS 4.1 for building VS Code 2020-09-16 11:58:01 -07:00
Matt Bierner
eba1cc8de3 Remove arrays.findIndex
For #103454

This should be a direct map to the `.findIndex` mathod
2020-09-10 10:22:08 -07:00
João Moreno
ffda3a18cc fixes #100183 2020-07-01 10:51:55 +02:00
João Moreno
fad4d8d254 fixes #100524 2020-06-21 22:58:32 +02:00
Joao Moreno
a2defb0625 fix build 2020-02-04 12:49:59 +01:00
Joao Moreno
3b0571d8c2 cleanup denodeify from git 2019-11-21 16:41:35 +01:00
Matt Bierner
4c4edcefeb Fixing more TS 3.7 related compile errors
- Import aliasing symbol in file
- Missing function calls in conditional
- Missing return statement
2019-10-07 11:04:31 -07:00
Joao Moreno
a6177d979a cleanup for pr #66095 2019-08-06 17:49:42 +02:00
Joao Moreno
7b1a326985 fixes #75753 2019-06-24 15:06:03 +02:00
Rob Lourens
ef2547d547 replace void 0 with undefined 2019-01-03 11:20:19 -08:00
Joao Moreno
237b77bac9 prepare for ts 3.2 2018-11-14 09:29:01 +01:00