Commit Graph

240 Commits

Author SHA1 Message Date
Daniel Imms
f9c6ef598f Adjust test expectations to include detail 2025-03-17 12:30:15 -07:00
Daniel Imms
5261445258 Merge remote-tracking branch 'origin/main' into tyriar/241970 2025-03-17 11:53:51 -07:00
Anthony Kim
bf36be9c61 Finalize Shell API (#243274)
* Adopt terminal suggest to shell api change

* Internally bring string enum for terminal suggest to prevent Typos

* Better word description under api description

* Remove shell proposed api against vscode.d.ts

* Update `shell` description after looking at feedbacks.

* Update docs

* Change to a Map<TerminalShellTye, string[]>

* One last typo

---------

Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com>
2025-03-15 15:28:19 -07:00
Daniel Imms
ec8da3f5d0 Add argument with optional indicator to right of label
Fixes #241970
2025-03-15 04:21:26 -07:00
Megan Rogge
da8479d178 timeout if terminal completion provider takes too long (#243487)
fix #243355
2025-03-14 19:53:07 +00:00
Megan Rogge
8bbbc45f4f add builtin fish arg/description/documentation to suggestion (#243271) 2025-03-13 22:28:50 +00:00
Daniel Imms
d9b76ec948 Fix extension host locking up when using terminal suggest 2025-03-11 13:35:18 -07:00
Megan Rogge
393f929eff add getInstalledExtensions generators (#242704) 2025-03-10 20:48:00 +00:00
Daniel Imms
4c1fe96dde Fix git aliases not completing
Fixes #240374
2025-03-10 06:15:49 -07:00
Daniel Imms
6c1afa4f7d Remove compile workarounds in upstream specs
Part of #242795
2025-03-08 06:51:01 -08:00
Daniel Imms
e98b8e124e Remove tsconfig changes and amend specs 2025-03-06 05:21:21 -08:00
Daniel Imms
4215782c25 Fix indentation mapping 2025-03-06 04:31:53 -08:00
Daniel Imms
2c3b007405 Move all upstream fig spec modifications into scripts
Part of #242798
2025-03-06 04:25:33 -08:00
Megan Rogge
0b257aaeb4 add --locate-shell-integration-path to code spec with suggestions (#242708)
fix #242467
2025-03-05 18:41:09 +00:00
Megan Rogge
bfafb935b2 Merge pull request #242585 from microsoft/embarrassing-snail
ensure alias value is used for spec when generating completions
2025-03-05 15:41:49 +01:00
Megan Rogge
04a1f0815a get aliases via login shell for mac (#242588)
fixes #241824
2025-03-04 11:16:49 -08:00
Daniel Imms
82519eb1c9 Merge pull request #242208 from microsoft/merogge/update-comment
update comment
2025-03-03 15:02:27 -08:00
Megan Rogge
94e7fe385c add terminal completion debug logs (#242517)
fix #242076
2025-03-04 00:00:44 +01:00
Megan Rogge
12dafaf7b5 fix terminal suggest bug where unexpected completions are returned (#242363) 2025-03-03 22:56:30 +00:00
meganrogge
acbcb2b7ec update comment 2025-02-27 11:09:47 -06:00
Daniel Imms
8b0f80c492 Merge pull request #242117 from microsoft/tyriar/241702_2
Remove cwd fallback, ensuring we don't suggest non-existent folders
2025-02-26 13:37:11 -08:00
Daniel Imms
c25c5e8612 Remove cwd fallback, ensuring we don't suggest non-existent folders
Fixes #241702
2025-02-26 13:09:49 -08:00
Daniel Imms
5090a351b1 Make option item kind check stricter
Fixes #241825
2025-02-26 12:38:20 -08:00
Megan Rogge
2dbfd1e50a save zsh builtin command descriptions to ts file vs json (#241967) 2025-02-25 23:54:35 +01:00
Megan Rogge
42c5863214 remove info log (#241671) 2025-02-24 06:40:09 -08:00
Daniel Imms
57109e1039 Merge pull request #241395 from microsoft/tyriar/241392
Differentiate flags/options, add option value type
2025-02-23 20:59:07 -08:00
Daniel Imms
0ce83659a3 Merge pull request #241584 from microsoft/tyriar/set_location
Add set-location spec for pwsh
2025-02-23 20:57:45 -08:00
Daniel Imms
2e43cb8fe6 Merge pull request #241582 from microsoft/tyriar/reduce
Reduce changes in fig specs
2025-02-23 20:56:08 -08:00
Daniel Imms
7cc14fc51c Handle no environment reporting properly
We need to differentiate undefined (no env reporting ever) and an empty
environment (env was reported, but maybe incomplete).

Fixes #241504
2025-02-22 08:33:48 -08:00
Daniel Imms
42f728419c Clean up adding items and classifying options and option values 2025-02-22 08:02:17 -08:00
Daniel Imms
edfcc410ed Correct flag -> method completion kind 2025-02-22 07:43:53 -08:00
Daniel Imms
f26d973b5a Merge remote-tracking branch 'origin/main' into tyriar/241392 2025-02-22 07:42:16 -08:00
Daniel Imms
2a96971a95 Explain cd -/+ in set-location better 2025-02-22 07:27:46 -08:00
Daniel Imms
29b0e1fe3a Add set-location spec for pwsh
Without this, there are no file/folder completions when the quickSuggestions
setting has unknown as off (default).

Fixes #241583
2025-02-22 07:26:18 -08:00
Daniel Imms
3331655f53 Replace imports on update-specs 2025-02-22 06:50:27 -08:00
Daniel Imms
08bdd93450 Add python3 spec 2025-02-22 06:50:22 -08:00
Megan Rogge
cde4b9f62c Merge pull request #241543 from microsoft/merogge/filepaths
add `fileExtensions` to terminal completion resource request config
2025-02-22 15:29:26 +01:00
Daniel Imms
cfd8f54e65 Merge remote-tracking branch 'origin/tyriar/239706' into tyriar/241392 2025-02-21 09:50:45 -08:00
Megan Rogge
b1368c3fe1 rm a log in generators (#241396) 2025-02-20 22:47:45 +01:00
Daniel Imms
a536cedb50 Merge remote-tracking branch 'origin/main' into tyriar/241392 2025-02-20 13:02:58 -08:00
Daniel Imms
b49aaf3634 Differentiate flags/options, add option value type
This also fixes an issue where option values stopped working recently.

Fixes #241392
2025-02-20 13:00:13 -08:00
Megan Rogge
28903d1a47 add tests for script/custom generators (#241376) 2025-02-20 20:23:30 +01:00
Anthony Kim
f99c5c64bc Expose shell's environment - fish shell (#240971)
* start working on fish, save progress, still lots TODO

* modify proposed.terminalShellEnv.d.ts

* remember we dont have acccess to nonce in .fish script

* save progress, adding isTrusted

* two arrays approach in fish

* provide EnvClear for fish, other shell as well.

* fix tests

* REMOVE TWO ARRAYS METHOD, always send all env

* remove deprecated comments

* remove junk get ready for review

* dont import vscode in terminal/common/capabilities.ts

* take feedback => pass in Clear as part of EnvSingleStart

* add env clear argument to SI.zsh

* update one more place to prevent vscode import

* mandatory flag description?? discuss this

* make things right
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com>

* comment out test code

* use mapsStrictEqualIgnoreOrder instead of equals

* ready to go
2025-02-20 19:42:48 +01:00
Megan Rogge
1e2f34a9a5 ensure zsh version >= last version used to generate zsh command descriptions (#241357)
fix #241235
2025-02-20 16:55:45 +01:00
Daniel Imms
0c45832d09 Merge remote-tracking branch 'origin/main' into tyriar/241128__better_parse 2025-02-20 06:05:11 -08:00
Daniel Imms
002798ac49 Add missing short descriptions 2025-02-20 06:04:48 -08:00
Daniel Imms
f6569ac921 Detect more command format cases: 2025-02-20 05:51:05 -08:00
Daniel Imms
f07376dcff Improve formatting of backtick single quote code blocks 2025-02-20 05:44:32 -08:00
Megan Rogge
5ffa9a30cb use builtin over spec if it has more command properties (#241238)
fix #241220

Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com>
2025-02-20 00:09:37 +01:00
Daniel Imms
d8eccebbc9 Merge remote-tracking branch 'origin/merogge/markdown-string' into tyriar/241128__better_parse 2025-02-19 14:08:52 -08:00