-
Notifications
You must be signed in to change notification settings - Fork 22
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
How to get TAB autocomplete to work? And general confusion over how to use #50
Comments
@aguynamedben I have the same problem with |
@wojtyniak No I have not figured it out, but would like to! Along with |
I'm trying to get into VS Code and I still can't figure out how to open files purely with the keyboard. And I can't figure out how this extension does anything useful. Hitting TAB just moves the currently selected control, and does nothing in the file list. What am I doing wrong? |
@wojtyniak @todbot Took me forever to figure out https://marketplace.visualstudio.com/items?itemName=mogelbrod.quickopener In keybindings.json /**
* Emacs file open simulation using Quick Opener extension
*/
// (only if you're using emacs-mcx extension...)
// Remove emacs-mcx binding
{
"key": "ctrl+x ctrl+f",
"command": "-workbench.action.quickOpen"
},
// Add Quick Opener binding
{
"key": "ctrl+x ctrl+f",
"command": "quickOpener.show"
},
// Simulate C-l in Emacs to go "up"
{
"when": "inQuickOpener",
"command": "quickOpener.popPath",
"key": "ctrl+l"
}, With this setup you can also specify the path to a new file then hit "Cmd-N" to create a new file there, avoiding VS Code's GUI "New File" flow. |
@aguynamedben thank you! |
I was very excited to find this extension (I'm an old Emacs guy), I already like it much more than the standard VSCode file browser. But I am unclear how to get autocomplete to work. I also have the vscode-emacs-mcx extension.
The workflow I am used to: Let's say I'm after a file called
file2.txt
in a directory containingfile1.txt
,file2.txt
andadirectory
)fi
")file
")file1.txt
,file2.txt
")file2.txt
When I try the same action with this extension installed, the TAB toggles between the file select region and two other regions I don't understand. Video demo below.
Screen.Recording.2023-08-30.at.1.32.18.PM.mov
And it doesn't autocomplete the part of the filename that matches (e.g. expand "fi" to "file"). It also does not complete directory names (e.g. typing "adirectory" in the example above yields "no matching results") . Also, I would expect just pressing TAB in a blank file browser would show me all files (e.g. matching all files)
What am I doing wrong?
The text was updated successfully, but these errors were encountered: