Megan Rogge
e6c77857a7
define pathSeparator in ext host for terminal suggest ( #239540 )
2025-02-06 20:39:25 +00:00
Daniel Imms
a563227a21
Use fig on windows regardless of file extension
...
Fixes #237598
2025-02-05 07:23:03 -08:00
Daniel Imms
b1cf1fd151
rmdir and touch fig spec tests
2025-02-05 05:27:12 -08:00
Daniel Imms
bf3a0f0e89
rm fig spec tests, allow multiple template requests
...
Fixes #239606
2025-02-05 05:18:03 -08:00
Megan Rogge
81cbef2ccb
return files/folder completions unless specific options / args are provided ( #239384 )
...
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com >
2025-02-03 23:33:54 +01:00
Daniel Imms
c4cf1864d2
Resolve fig spec against alias definition command
2025-02-02 05:15:25 -08:00
Daniel Imms
521e89838a
Don't show fig information for aliases
...
Fixes #239425
2025-02-02 04:40:31 -08:00
Daniel Imms
53790287ce
Improve names on PathExecutableCache
2025-02-02 04:27:47 -08:00
Daniel Imms
9131925b74
Move path exe logic into class
2025-02-01 05:56:14 -08:00
Daniel Imms
7a9f62939d
Move path exe logic into own file
2025-02-01 05:45:21 -08:00
Daniel Imms
fafd6b594a
Optimize getCommandsInPath, restore cache
...
Changes:
- Fix cache mechanism as pathValue never got stored
- Cache labels instead of returning empty set
- Walking each directory in separate promise and await via Promise.all
- Don't create a promise on Windows when checking exe
Fixes #239396
2025-02-01 05:17:57 -08:00
Daniel Imms
4c3914f8b7
Merge remote-tracking branch 'origin/main' into tyriar/aliases
2025-01-31 14:38:15 -08:00
Megan Rogge
0baef06236
ensure space after command before providing options ( #239378 )
...
fix #239249
2025-01-31 23:03:21 +01:00
Daniel Imms
fee91cbff5
Share exec/spawn code between shells
2025-01-31 13:07:11 -08:00
Daniel Imms
735fde9116
Move pwsh logic into own file
2025-01-31 12:52:34 -08:00
Daniel Imms
a1f8e8d54e
Use a map over a switch statement
2025-01-31 10:35:51 -08:00
Daniel Imms
7e1c4edb76
Remove compile warning
2025-01-31 10:30:20 -08:00
Daniel Imms
02734d254f
Async fish and aliases
2025-01-31 10:29:06 -08:00
Daniel Imms
1908c617e8
zsh aliases
2025-01-31 10:24:50 -08:00
Daniel Imms
da74a77c39
Move bash logic into own file
2025-01-31 10:09:30 -08:00
Daniel Imms
999cf4704b
Pull in bash aliases, add alias kind
...
Part of #239028
2025-01-31 09:56:24 -08:00
Daniel Imms
9add868cda
Add very basic tokenizer for command line
...
Fixes #239018
2025-01-31 08:30:51 -08:00
Megan Rogge
a0a4332e9a
only return options if no args are provided ( #239247 )
...
fix #237598
2025-01-30 19:33:32 +00:00
Megan Rogge
eefe484351
Add ~/ completion ( #238727 )
...
part of #234352
2025-01-24 23:24:25 +01:00
Megan Rogge
29d525c1d3
use terminalShellType for terminal suggest ( #238381 )
2025-01-23 16:11:23 -06:00
Megan Rogge
69ce98f0d4
show spec info w priority over path ( #238408 )
2025-01-22 04:45:23 -08:00
Megan Rogge
ac0f552f56
Add documentation to completion item ( #238391 )
2025-01-21 14:03:42 -06:00
Daniel Imms
10e86c4a08
Merge branch 'main' into tyriar/238181
2025-01-21 08:08:14 -08:00
Daniel Imms
0000f9dffe
Add details for pwsh globals via get-command
...
Fixes #238181
2025-01-20 04:30:51 -08:00
Daniel Imms
09e49a5252
Fix duplicate matching and windowsExecutableExtensions setting
...
Fixes #238285
2025-01-20 03:45:21 -08:00
Megan Rogge
c2c7ab5a88
add suggest setting WindowsExecutableExtensions, default values ( #238155 )
2025-01-17 13:05:33 -08:00
Megan Rogge
cff1a6a703
add path to details for executable terminal suggestions, prevent duplication ( #238080 )
2025-01-17 19:26:37 +00:00
Megan Rogge
f1b4bb8d76
check if windows file is executable ( #238142 )
...
fix #237596
2025-01-17 18:20:10 +01:00
Daniel Imms
55c35c836f
Automate some pulling completions from upstream
2025-01-10 07:13:17 -08:00
Daniel Imms
7bfaf73501
Use terminal shell env when resolving commands in path ( #237588 )
...
---------
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
Co-authored-by: Anthony Kim <62267334+anthonykim1@users.noreply.github.com >
2025-01-10 15:05:34 +01:00
Megan Rogge
4a8978f7de
clean up terminal suggest code, fix bugs ( #237599 )
2025-01-09 21:31:20 +00:00
Daniel Imms
cbfd8ab513
Cache builtin commands and get all global commands for pwsh
...
This should make things quite a bit faster for expensive fetching of
commands. This also caches empty builtin commands so it's not attempted
every time.
Fixes #236097
Part of #235024
2024-12-19 02:50:44 -08:00
Megan Rogge
b4c9953da4
request folders/files when appropriate ( #236370 )
...
fix #236368
2024-12-17 09:10:39 -08:00
Daniel Imms
f776d0611e
Fill pwsh commands via Get-Command
...
Fixes #235024
2024-12-17 04:09:17 -08:00
Megan Rogge
e678c2e0c8
don't filter available commands in the extension ( #236101 )
2024-12-16 20:43:40 +01:00
Megan Rogge
466eb0be75
fix replacement index,length for terminal completions ( #236260 )
...
fix bugs
2024-12-16 19:24:42 +00:00
Megan Rogge
afd3f0abf0
Check whether commands are executable before including them in terminal suggestions ( #235997 )
2024-12-13 21:19:39 +01:00
Megan Rogge
1bf794adda
change condition for adding terminal completion executables ( #235994 )
...
fix #235082
2024-12-12 12:13:41 -08:00
Daniel Imms
e09971e1ed
Get terminal-suggest completions working on Windows
...
- The shell was checked without removing the extension.
- The creationOptions hack to pull the shell type was also not working.
- Added the (terminal-suggest) note to resource completions as well.
Fixes #235272
2024-12-04 06:45:38 -08:00
Megan Rogge
167b384630
fix replacement index for terminal completions ( #235172 )
...
fix #235073
2024-12-03 09:59:16 -08:00
Daniel Imms
ecff53c891
Fix order of precedence
2024-12-02 12:00:03 -08:00
Daniel Imms
38d4af02e4
Merge remote-tracking branch 'origin/main' into tyriar/234777
2024-12-02 11:53:55 -08:00
Megan Rogge
f408139c28
only show command/spec suggestions for first on the line ( #235005 )
2024-12-02 11:51:55 -08:00
Megan Rogge
0657feb3f6
fix more terminal completion issues ( #234782 )
2024-11-27 22:16:43 +00:00
Daniel Imms
02dd8489f1
Improve path separate support in windows cwd resolving
2024-11-27 12:32:45 -08:00