Commit Graph

345 Commits

Author SHA1 Message Date
Matt Bierner 2648263d3e Run our build scripts directly as typescript (#277567)
* Run our build scripts directly as typescript #277567

Follow up on #276864
For #277526

* Remove a few more ts-node references

* Fix linux and script reference

* Remove `_build-script` ref

* Fix script missing closing quote

* use type only import

* Fix export

* Make sure to run copy-policy-dto

* Make sure we run the copy-policy-dto script

* Enable `verbatimModuleSyntax`

* Pipelines fixes

* Try adding explicit ext to path

* Fix bad edit

* Revert extra `--`

---------

Co-authored-by: João Moreno <joaomoreno@users.noreply.github.com>
2025-11-21 14:56:00 +01:00
JeffreyCA 94755ed1c2 Terminal suggest - include persistent options in suggestions and improve suggestion grouping (#276409)
* Add support for persistent options in Fig suggestions

* Group arguments together

* Group symlink files/folders together

* Update test

* Fix test

* Use helper function
2025-11-10 17:03:12 -05:00
Benjamin Pasero 5e5ba2f2f2 terminal suggest - adopt vscode.fs watcher (#276477)
* terminal suggest - adopt `vscode.fs` watcher

* Update extensions/terminal-suggest/src/env/pathExecutableCache.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* clean it up

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-10 18:01:59 +01:00
Megan Rogge 6293b5452c undo finalization of terminal completion provider API (#276174)
addresses #276142 in main
2025-11-07 13:05:48 -08:00
Megan Rogge f18faf63f2 use extension identifier for terminal suggest id (#275635) 2025-11-05 10:34:59 -08:00
Daniel Imms 279df68391 Fix git remote suggest descriptions
Fixes #264754
2025-11-02 02:37:53 -08:00
Daniel Imms 9e00493a2d Remove finalized terminal completions proposal from package.json 2025-10-31 02:49:40 -07:00
Copilot 6cf95b098d Show latest commit message for branch in terminal suggest widget details view (#272296) 2025-10-27 14:53:44 +00:00
Daniel Imms b808edabcf Add basic copilot fig spec
Fixes #272921
2025-10-25 03:42:19 -07:00
Megan Rogge a1b4ecaa32 finalize terminal completion provider API (#271338) 2025-10-23 08:57:05 -07:00
Daniel Imms 43ce6485c5 Merge pull request #272348 from JeffreyCA/fig-spec-azd
Add Fig spec for Azure Developer CLI (azd)
2025-10-23 06:53:21 -07:00
Jeffrey Chen 69490ecae7 Add azd fig spec 2025-10-20 14:01:17 -07:00
Dmitriy Vasyura 900c09271d Add back descriptions, remove settings fetch since it had no effect. 2025-10-20 11:28:09 -07:00
Matt Bierner 1c35a4d05c Enforce single quote string usage in extension tests
Single quoted string usage is already enforced everywhere except our tests. Having this inconsistent style can confuse contributors and code generation

Starting with converting over tests in the `extensions` dir
2025-10-15 01:51:43 -07:00
Raymond Zhao f13a27eac8 chore: fix tag versions (#271166) 2025-10-14 15:58:41 +00:00
Matt Bierner d2af782f2e Fix terminal-suggest not running npm install 2025-10-13 13:31:58 -07:00
Matt Bierner a357cc798b Call out explicit list of types for terminal suggest 2025-10-13 11:34:07 -07:00
Matt Bierner 016689b572 Remove duplicate 2025-10-13 11:05:52 -07:00
Matt Bierner 98b069c041 Work towards getting isolated built-in extension compiles
For #271167

This makes it so our built-in extensions can mostly be built using `tsc` on the command line. Previously the extensions were picking up a lot of typing info from the root `node_modules` that meant they weren't truly independent
2025-10-13 11:03:20 -07:00
Copilot efdc6b1042 Add package.json contribution for terminal completion provider descriptions (#270597) 2025-10-09 16:02:28 -04:00
Daniel Imms 98078684c7 Merge pull request #269985 from microsoft/tyriar/more_terminal_any
Remove more as any from terminal
2025-10-08 13:18:01 +09:00
Megan Rogge d1d275ca09 address terminal completion provider API feedback (#270249)
commit api feedback
2025-10-07 11:41:36 -07:00
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