-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Question: Alter the Tab key behavior to keep the "/" when typing #2947
Comments
https://chrisant996.github.io/clink/clink.html#match_translate_slashes Set that to
|
Hello , Thank you very much |
@DrissBoumlik Ah, the But, You can use I think probably what you really want is something like a Would adding an |
@chrisant996 I know adding an Off topic, could you also implement something that would help with the environment variables, too? I would love it if Clink could keep a track of the env var names that were expanded, then after completion, if would change the value back to the variable. For instance, if I type |
Agreed. I'll probably go with "auto", since that's already the name used in various other Clink settings.
I've looked into that before. In some simple cases it looks desirable and looks like it would probably be easy to implement. But that's only true in simple cases -- and even in the simple cases it isn't always possible to accurately convert back to environment variables. Such a change would really have to be part of the completion handlers themselves, for them to return non-expanded completions. And that leads to compatibility problems, and makes it much more complicated for users to write their own completion handlers, and so on. Unfortunately I haven't found a way to do that both accurately and reliably. And if it isn't both accurate and reliable, then it'll just create a bunch of complaints and cost users and myself wasted time. Sorry! |
@chrisant996 Yes definitely , an |
I've also added a new command to toggle the slash type in the word at the cursor, bound to Ctrl-/ by default. I expect to publish the Clink update later tonight. |
Clink v1.6.16 is available with the |
@DrissBoumlik Please type @chrisant996 Thanks for the new feature! |
@DRSDavidSoft already did, just checked the auto option, great work, 🎊 @chrisant996 Thank you very much indeed 🥇 |
Question
When I type a path and hit the Tab key to autocomplete, it changes the
"/"
to"\"
which causes some issues,for example, in JavaScript when i run a test using Jest, it doesn't work when the path is typed with "" separator (image 1)
is there a way to change this in a config somewhere, Thank you
image 1 : Not working with
"\"
separatorimage 2 : Working with
"/"
separatorChecklist
The text was updated successfully, but these errors were encountered: