You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"files in selection" command creates a blank buffer instead of opening the file under cursor.
What actually takes me to the file under cursor is go to definition ('gd').
helix --health cpp:
Configured language server: clangd
Binary for language server: D:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\Llvm\x64\bin\clangd.exe
Configured debug adapter: lldb-vscode
Binary for debug adapter: D:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\Llvm\x64\bin\lldb-vscode.exe
Highlight queries: ✓
Textobject queries: ✓
Indent queries: ✓
Reproduction Steps
I tried this:
hx
Open a c++ project
Out the cursor over a included file
Hit gf
I expected this to happen:
Open the file under the cursor.
Instead, this happened:
Open a new buffer with the name of the file under the cursor.
This is expected behavior. gf is intended for opening a file at the highlighted path. C++ includes can be resolved to a host of different paths, all of which helix doesn't know about so this has to be a LSP command (gd handles this). There is some LSP based capabilities to open paths, that feature is tracked in #1472
Summary
"files in selection" command creates a blank buffer instead of opening the file under cursor.
What actually takes me to the file under cursor is go to definition ('gd').
helix --health cpp
:Configured language server: clangd
Binary for language server: D:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\Llvm\x64\bin\clangd.exe
Configured debug adapter: lldb-vscode
Binary for debug adapter: D:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\Llvm\x64\bin\lldb-vscode.exe
Highlight queries: ✓
Textobject queries: ✓
Indent queries: ✓
Reproduction Steps
I tried this:
hx
gf
I expected this to happen:
Open the file under the cursor.
Instead, this happened:
Open a new buffer with the name of the file under the cursor.
Helix log
~/.cache/helix/helix.log
Platform
Windows
Terminal Emulator
Windows Powershell
Helix Version
22.12
The text was updated successfully, but these errors were encountered: