Commit Graph

373 Commits

Author SHA1 Message Date
Megan Rogge
75ff485ed9 rm ID from terminal completion provider (#270094) 2025-10-06 13:44:25 -07:00
Daniel Imms
051267d42f Remove more as any from terminal
Part of #269213
2025-10-06 17:41:58 +09:00
Daniel Imms
188cbd914f Remove as any from terminal-suggest
Part of #269213
2025-10-06 10:23:27 +09: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
Daniel Imms
898a70df5b Add --transient to code spec (#269248)
* Add --transient to code spec

Fixes #269162

* Fix test expectations for --transient
2025-10-01 11:23:42 +00:00
Megan Rogge
2d5468676d polish terminal suggest handling of globs (#268363) 2025-09-25 14:06:11 -04:00
Megan Rogge
5e4fa79ff8 address API feedback for terminal completion provider (#266073) 2025-09-11 15:17:31 -07:00
Daniel Imms
72a0301b7a Add PR icons and support display name 2025-08-25 06:34:52 -07:00
Daniel Imms
7642e8d2db Pull in gh updates from withfig/autocomplete#2600 2025-08-25 06:23:42 -07:00
Daniel Imms
4600226d67 Fork gh spec into vscode 2025-08-25 06:19:29 -07:00
Daniel Imms
dfb5c1a7e2 Use branch icon in gh spec 2025-08-24 12:47:41 -07:00
Daniel Imms
885a41a029 Merge remote-tracking branch 'origin/main' into tyriar/263167 2025-08-24 12:45:41 -07:00
Daniel Imms
1e834ed666 Add gh spec 2025-08-24 12:43:48 -07:00
Daniel Imms
bdab5cc7bf Delete unwanted specs, get rid of some web requests 2025-08-24 12:31:33 -07:00
Daniel Imms
edccd3f918 More completions, fix importing for some 2025-08-24 12:06:20 -07:00
Daniel Imms
89b9268261 Add more fig specs
Fixes #263167
2025-08-24 11:52:05 -07:00
Daniel Imms
4be46ba077 Add terminal suggest git kinds with icons
Fixes #240232
2025-08-24 11:37:09 -07:00
Daniel Imms
68d69355ab Merge pull request #262028 from microsoft/tyriar/253685
Pull completions from Windows PowerShell when relevant
2025-08-17 08:42:21 -07:00
Daniel Imms
57d5f07989 Merge pull request #262024 from microsoft/tyriar/suggest_cache
Actually use the cache for suggest globals
2025-08-17 08:42:16 -07:00
Daniel Imms
9cdd4b17f8 Pull completions from Windows PowerShell when relevant
Fixes #253685
2025-08-17 07:22:09 -07:00
Daniel Imms
50079f9bf0 Actually use the cache for suggest globals
Part of #256746
2025-08-17 06:57:25 -07:00
Daniel Imms
ed6dac518c Ensure fig generators have correct cwd and env set
Fixes #261014
2025-08-17 06:38:34 -07:00
Anthony Kim
a80fd7046f Add Python activate hooks into shell integration scripts (#261094)
* Add activate hook for bash

* Add bash Python activate hooks

* Register zsh activate hooks

* Add hooks for .ps1

* clean up for pwsh

* Add /^VSCODE_(PWSH|ZSH|BASH)_ACTIVATE$/,

* Do not let non-Python-env ext to set activate var

* Remove comment

* Add logService --> Need review!

* Add fish activate hooks

* enable log in envVarCollection.ts

* Attach PYTHON after VSCODE for activate hook name

* make blockPythonActivationVar func

* Revert logService

* Show the * next to error message.

* clean-up

* Dont forget to rename

* Dont mess with original formatting

* Still need .+, remove dup Python keysToRemove

* Add tests for Python activate vars

* Consolidate tests!

* Clean clean clean
2025-08-13 10:40:39 -07:00
Daniel Imms
76b820fabd Remove unnecessary comments 2025-08-11 11:45:05 -07:00
copilot-swe-agent[bot]
7f674f4bec Fix git diff completions on Windows by removing sed dependency
Co-authored-by: Tyriar <2193314+Tyriar@users.noreply.github.com>
2025-08-11 18:35:08 +00:00
Daniel Imms
9011842881 Fix find references in git spec
Fixes #260889
2025-08-11 03:38:09 -07:00
Daniel Imms
5134c7b41e Fix test compile 2025-08-09 05:53:26 -07:00
Daniel Imms
6e7fa81728 Prevent call stack problems with 100k+ completion items, increase timeout
Fixes #260160
2025-08-09 05:46:25 -07:00
Daniel Imms
0cead6a060 Restrict git commit history to 1000
Part of #260160
2025-08-09 05:43:53 -07:00
Daniel Imms
4baaa60c42 Move git spec out of upstream/ 2025-08-09 05:41:02 -07:00
Daniel Imms
f533a47d65 Fix commit generator hash length
Fixes #260748
2025-08-09 04:38:23 -07:00
Matt Bierner
ed71020bfc Convert extension webpack scripts to modules 2025-08-07 17:20:22 -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
Daniel Imms
d9bb6db341 Clean up 2025-08-06 06:05:05 -07:00
copilot-swe-agent[bot]
7f9d2e222b Improve debug logging for rejected shell types
Co-authored-by: Tyriar <2193314+Tyriar@users.noreply.github.com>
2025-08-05 22:17:59 +00:00
copilot-swe-agent[bot]
790b11d056 Fix terminal-suggest completions showing up in Python REPLs
Co-authored-by: Tyriar <2193314+Tyriar@users.noreply.github.com>
2025-08-05 22:16:12 +00:00
Daniel Imms
f9059d5a79 Don't refresh cached globals automatically
Fixes #259343
Fixes #256746
2025-08-03 05:15:19 -07:00
Daniel Imms
cda153f038 Merge branch 'tyriar/258512__259342' into tyriar/258512__259342__259339 2025-08-02 09:22:20 -07:00
Daniel Imms
956b5336e3 Fix case with duplicate folders in PATH 2025-08-02 09:21:20 -07:00
Daniel Imms
200c64800f Prevent duplicate getExecutablesInPath calls in parallel
Fixes #259339
2025-08-02 09:03:38 -07:00
Daniel Imms
92467d7a92 Only refresh cached path results for changes dirs
Fixes #259342
2025-08-02 08:52:20 -07:00
Daniel Imms
a143486651 Prevent exponential function call in getFigSuggestions 2025-08-02 07:30:36 -07:00
Daniel Imms
264d466bd0 Resolve path entries in parallel 2025-08-02 06:58:27 -07:00
Copilot
8e21fb0539 Fix PowerShell terminal suggestion performance by deduplicating concurrent requests (#259051) 2025-07-31 16:51:40 -04:00
Copilot
7e3b842fc1 Terminal suggest: Move storage from globalState to globalStorageUri (#255114) 2025-07-15 13:09:21 -07:00
Megan Rogge
48409cb254 use onTerminalShellIntegration for terminal suggest activation (#252329) 2025-07-08 16:17:14 -07:00
Megan Rogge
03cbd01f61 fix terminal suggest bug related to aliases (#254482)
fix #254457
2025-07-08 12:08:09 -07:00
Megan Rogge
81989afd86 ensure there's a space before reset char (#253925)
fix #253190
2025-07-04 01:08:37 +00:00
Benjamin Pasero
7f22d07626 fix tests 2025-07-03 12:35:12 +02:00
Benjamin Pasero
c59715207b Provide option to open code chat in empty workspace or existing workspace (fix #253383) 2025-07-03 12:35:12 +02:00