-
Notifications
You must be signed in to change notification settings - Fork 1k
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 do I open a file in VSCodium from the terminal, and the jump to a desired line of code in it? #1928
Comments
Humm... I can't do |
so .. after a fair amount of spelunking, the only way I can make it work is to use this form: |
Reading https://code.visualstudio.com/docs/editor/command-line, and I can't find if Could it be one of your extension adding the feature? |
None of my extensions are causing this behavior; it appears to be standard for VSCode. You might want to try using the full path in your case. If you have a project open and you want to open a file from the CLI, it will open the file even if the path is relative, as shown in my initial example. |
I tried both relative and absolute, from Visual Studio Code or Terminal, I still don't have the behaviour you desire in Visual Studio Code. Are you on arm64? |
yes |
Hi there,
I can open a file from the terminal for editing, using the command
codium lib/a_file.ex
(the file extension doesn't matter) and VSCodium functions correctly. However, when I attemptcodium lib/a_file.ex:20
, VSCodium tries to create a new file with the tab displayinga_file:20
as the file name. This functionality works in VSCode, and I'm curious if I'm making a mistake or if this feature is not yet supported in VSCodium. I'm using iTerm2 on macOS, but this issue persists in Terminal as well.Thank you.
The text was updated successfully, but these errors were encountered: