oni2
oni2 copied to clipboard
How to autocomplete?
-
In vscode it's usually
ctrl + space
, for example if I'm importing<TextField />
in order to see all available props, I would be inside a component then hitctrl + space
. -
Another thing is how do I move from editor view to file explorer similar to nerdTree? In nerdtree you can navigate through key input j for moving down and k for up. Creating as well deleting files. It would be nice if the current file explorer supported right clicking for creating files like vscode
-
Is the a way configuring keyboard layout, If I want to have my own mapping?
Hi @guledali ,
In vscode it's usually ctrl + space, for example if I'm importing <TextField /> in order to see all available props, I would be inside a component then hit ctrl + space.
We support ctrl
+space
as well (and then control+n
to cycle, tab
to complete) - sounds like a bug that it's not showing up. Is the file you're testing on open-source? Or one we can check out?
Another thing is how do I move from editor view to file explorer similar to nerdTree?
Unfortunately we're missing vim-keybinding navigation for the explorer (tracking in #528 and #2123 ) - we want to implement this for this milestone (0.6.0), though
Is the a way configuring keyboard layout, If I want to have my own mapping?
There is some information here: https://onivim.github.io/docs/configuration/key-bindings - let me know if you have further questions. We'd also like to support vim mappings for this milestone.
would be nice if the current file explorer supported right clicking for creating files like vscode
@bryphe What’s the recommended way of creating files and folder, especially being deep inside a folder structure. Do I manually have to type the path
ctrl + space
not working for me, I can confirm it I'm on TypeScript file. Is there a way of manually setting that up with keybindings?
I don't know why it does not work for me, I'm on a different keyboard layout.
@bryphe Here is screen recording from me hitting ctrl + space
and control+n
multiple times and nothing is happening
Another thing, simple thing like uninstalling the software. How to completely removing it or resetting. Should be in the documentation
@bryphe What do you think?
Thanks for the screen recording, @guledali ! Was a bug blocking the manual invocation - we were trying to find a 'meet' based on the trigger characters... but that wouldn't work right on an empty line. Fixing in #2321 to improve the manual-invoke scenario.
It would be nice if the current file explorer supported right clicking for creating files like vscode
For sure - I opened #2322 to track this.
How do you upgrade? Or does it happen automatically, if that's case shouldn't you be notified?
Has this issue been resolved? I have an identical problem with auto suggestions not showing up unless I type at least one character. I'd expect the editor to show me objects properties without any user input. Just pressing <Ctrl-Space>
in VSCode works this way.
Version 0.5.9-nightly, Manjaro Linux
I have the same problem, that I cannot trigger the auto suggestion manually with Ctrl-Space
Can confirm this still an issue.
Any updates on this? It is still not working. I tried reinstalling the Editor and also setting a manual command for it in the keybindings file like this:
{
"key": "<C-Space>",
"command": "editor.action.triggerSuggest",
"when": "(normalMode || insertMode) && editorTextFocus && !suggestWidgetAvailable"
}