Commit Graph

240 Commits

Author SHA1 Message Date
meganrogge
bed98fd7ed use markdown string in zsh/bash 2025-02-19 16:07:53 -06:00
Daniel Imms
2112c13627 Return documentation as a markdown string 2025-02-19 11:40:37 -08:00
Daniel Imms
bf9d645830 Regen and remove log 2025-02-19 11:38:49 -08:00
Daniel Imms
1112d5ffa6 Use pacdoc to convert man to markdown 2025-02-19 11:25:54 -08:00
Daniel Imms
d0370c1027 Null command -> No effect 2025-02-19 10:16:12 -08:00
Daniel Imms
fb77d99dff Update cache 2025-02-19 09:49:03 -08:00
Daniel Imms
ba568fd26c Fill in zsh short descriptions
Fixes #241128
2025-02-19 09:48:12 -08:00
Megan Rogge
780e17b48f fix duplicate suggestion bug (#241225)
fix #241224
2025-02-19 18:12:40 +01:00
Megan Rogge
edac0c5a27 ensure spec commands show up before misc ones (#240724)
fix #239977
2025-02-19 02:58:47 +01:00
Daniel Imms
17411566af Allow boolean quickSuggestions during transition 2025-02-15 04:34:23 -08:00
Daniel Imms
250fd8bbb0 Expand terminal suggest quickSuggestions setting
This moves from a simple boolean to an object that allows customizing whether
completions are provided for commands and arguments, and whether fallback
suggestions are allowed.

The default is on for commands and arguments and off for unknown (fallback).

Fixes #240226
Fixes #239978
2025-02-15 04:23:11 -08:00
Megan Rogge
6a627b0918 ensure unique capture group names for terminal suggest aliases regex (#240813)
fix #240786

Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com>
2025-02-14 09:00:07 -08:00
Megan Rogge
2b4ca40a0c only trigger generators for completions once (#240721)
fix #240394
2025-02-13 22:45:09 +01:00
Daniel Imms
8ad7a1522b Correct cgmanifest link 2025-02-11 11:15:26 -08:00
Daniel Imms
52efdd765a Merge pull request #240135 from microsoft/tyriar/239515__fig_generators
Integrate with fig's generator code
2025-02-10 14:20:19 -08:00
Megan Rogge
3e5674c608 filter out builtin . as we provide it in resolveResources (#240287)
fix #234362
2025-02-10 22:59:45 +01:00
Daniel Imms
0d8104a311 Merge remote-tracking branch 'origin/main' into tyriar/239515__fig_generators 2025-02-10 13:32:21 -08:00
Daniel Imms
5dc187602c Bring hasCurrentArg back 2025-02-10 13:28:49 -08:00
Megan Rogge
14b1516869 do not allow duplicate flags (#240292) 2025-02-10 22:22:53 +01:00
Daniel Imms
a182f1fdee Merge branch 'main' into tyriar/239515__fig_generators 2025-02-10 13:02:31 -08:00
Megan Rogge
331d7defed uncomment test cases (#240285)
fix #239713
2025-02-10 11:29:02 -08:00
Daniel Imms
015b23f485 Merge remote-tracking branch 'origin/main' into tyriar/239515__fig_generators 2025-02-10 08:33:03 -08:00
Megan Rogge
397e48745c don't request files/folders when on an arg for terminal suggest (#240257)
fix #240033
2025-02-10 16:33:46 +01:00
Daniel Imms
ce523e8520 Merge branch 'main' into tyriar/239515__fig_generators 2025-02-10 06:56:26 -08:00
Daniel Imms
c2e0bcbc86 Merge pull request #240094 from microsoft/tyriar/239022_tilde_completions
Terminal suggest: Tilde relative path support, share logic between absolute/relative
2025-02-10 06:27:33 -08:00
Daniel Imms
c40c7e52de Add brew spec 2025-02-10 05:32:13 -08:00
Daniel Imms
23b9790313 Add executable bit to terminal-suggest scripts 2025-02-10 05:30:30 -08:00
Daniel Imms
fc8285a7e4 Pass env in shell context to generators 2025-02-09 09:10:26 -08:00
Daniel Imms
148fd5164a Move more dealing with fig into figInterface.ts 2025-02-09 08:35:20 -08:00
Daniel Imms
06f5342e22 Pull most of dealing with fig into separate file 2025-02-09 08:26:59 -08:00
Daniel Imms
3769b1f4ba Get custom generators working 2025-02-09 08:05:13 -08:00
Daniel Imms
d4d0883aea Integrate with fig's script generator code
Part of #239519
Fixes #240131
2025-02-09 07:31:46 -08:00
Daniel Imms
a83c032c03 Remove tilde test from cd spec 2025-02-09 05:47:54 -08:00
Daniel Imms
7f07efc83f Add more fig specs
Fixes #239515
2025-02-08 14:24:21 -08:00
Daniel Imms
e964419838 Move simple tilde completion into TerminalCompletionService 2025-02-08 11:07:54 -08:00
Megan Rogge
6dbde2a3ed leverage Fig's shell parser, add git spec (#240001)
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com>
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com>
2025-02-08 15:40:33 +00:00
Megan Rogge
e6c77857a7 define pathSeparator in ext host for terminal suggest (#239540) 2025-02-06 20:39:25 +00:00
Daniel Imms
2035725aca Add generic fig tests
Part of #239515
2025-02-05 10:50:04 -08: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
Daniel Imms
77f6745f42 mkdir fig spec tests 2025-02-04 07:04:49 -08:00
Daniel Imms
ad0173f59a echo fig spec tests 2025-02-04 07:00:38 -08:00
Daniel Imms
4e364a5c7b Add issue references 2025-02-04 06:51:27 -08:00
Daniel Imms
6d43829c8d ls spec unit tests 2025-02-04 06:39:02 -08:00
Daniel Imms
d35f9482c0 Move tests fig spec tests into folder per spec
Part of #239515
2025-02-04 06:23:06 -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
16c8cfecf6 Merge branch 'main' into tyriar/239396_speedup__fig_alias_def 2025-02-03 07:57:56 -08:00
Daniel Imms
65bcaaf218 Merge pull request #239398 from microsoft/tyriar/239396_speedup
Optimize getCommandsInPath, restore cache, clean up cache lifecycle, add test
2025-02-03 07:56:21 -08:00
Daniel Imms
4f587d78c2 Pull alias parsing into helper 2025-02-02 05:18:45 -08:00