Commit Graph

308 Commits

Author SHA1 Message Date
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
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
Benjamin Pasero
7ce94dd09a Code chat - add option to maximize the chat panel (fix #253306) 2025-07-03 12:35:12 +02:00
Benjamin Pasero
25cc496bf7 Code chat help doesn't tell me what modes I can use (fix #253380) (#253568) 2025-07-02 08:58:52 +02:00
Daniel Imms
6a9fe8798a Fix chat fig completions tests 2025-07-01 07:35:54 -07:00
Daniel Imms
73f57748bc Fix compile issue 2025-07-01 04:18:27 -07:00
copilot-swe-agent[bot]
029d601d2e Add chat subcommand to help section for complete integration
Co-authored-by: Tyriar <2193314+Tyriar@users.noreply.github.com>
2025-06-30 17:31:36 +00:00
copilot-swe-agent[bot]
cbf326419e Add chat subcommand to Fig completion spec
Co-authored-by: Tyriar <2193314+Tyriar@users.noreply.github.com>
2025-06-30 17:25:35 +00:00
Daniel Imms
4996629093 Fix test expectations 2025-06-25 07:03:16 -07:00
Daniel Imms
c9015eb159 Update fig specs
Fixes #252314
2025-06-24 12:01:34 -07:00
Megan Rogge
2e763a8c7b cache builtin commands for shells to decrease terminal completion latency (#252232) 2025-06-23 18:18:27 -04:00
Megan Rogge
4d25f6a7d0 make fig spec consistent with current code CLI (#251945) 2025-06-19 21:12:14 +00:00
Megan Rogge
1ee09e98f0 support showing symlimk details in terminal suggest (#251296) 2025-06-13 17:36:29 +00:00
Daniel Imms
2f7cd441c0 Don't revive URI before sending from ext to main
Fixes #235331
2025-06-12 12:58:58 -07:00
Megan Rogge
d1d6762ca8 support builtin commands for git bash (#251216)
fix #248558
2025-06-11 19:24:01 +02:00
Megan Rogge
defae8c9c0 provide proper URIs for remotes so suggest works for those envs (#251129)
fix wsl suggestions
2025-06-11 17:44:31 +02:00
Megan Rogge
b1cd91be02 de-dupe terminal suggest commands for which there are specs (#251142)
fix #244918
2025-06-10 14:18:20 -07:00