-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enable directory completion for \exec command #305
base: master
Are you sure you want to change the base?
Conversation
Directory completion works fine already for me, if you want it to fill in the contents on tab with more than 1 result, that is not consistent with the rest of completion code and this introduces a specific behavior only for FS related completion. Do not enter a slash in dedicated server, unnecessary fwiw. |
I haven't been able to get this to work. I tried on Mac/windows/linux dedicated servers and on Mac/windows clients. I created a file I downloaded the latest release for all of them. Curiously though, the dates are different between the OSes. On windows, it reports |
Are you putting a SPACE after |
As for the difference release dates, I think that is due to the fact that runners are borked or the compile date didnt get encoded right? macOS needs new runner images now so it may not have done those. |
no space after Here's what I see on the client when I press tab after only typing ]\exec c
capt.cfg
cash.cfg
cfg-maps/oxodm108a_b2.cfg
cfg-viewcam/viewcam-ne_duel.cfg
cracky.cfg then I type ]\exec configs/test.cfg
execing configs/test.cfg
TEST
] The I ran |
As a test, does it change the behavior in vanilla if the configs are in a pk3 with the desired folder structure for you. Pretty sure it only works for files in pk3s thats the difference I'm seeing. |
Also, fwiw Sys_ListFiles with extension "/" does directories of path. Pretty sure some mods have introduced behavior of listing demos in menus with this and loops, but you cannot recurse infinitely. |
It does work for files in pk3s.
I noticed that. From what I gather it's the same behavior as passing in an empty/null extension with a wantsubs set to true. |
enable directory completion to allow TAB-ing into subdirectories to find configs.