-
-
Notifications
You must be signed in to change notification settings - Fork 97
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
Add a "Open Terminal Here" context menu option to the FileSystem dock #6994
Comments
Notes:
Edit: I have a WIP branch at https://github.com/Calinou/godot/tree/editor-filesystem-dock-add-open-in-terminal. I couldn't figure out how to make it work on Windows though, for either PowerShell or cmd. Nothing happens when I try to |
I think this would be really useful on windows, as i remember that the use of terminals there is much more hidden. As Calinou said, retrieving terminals in linux from the default settings is usually difficult and varies a lot from a dristro to another. Even done right, this would be a duplication of a function already present of most Linux file explorers, which you can already open with "Open in file manager" and click "open a terminal here". At least from DE perspective(I tend to adhere to the Gnome philosophy of one app handling one thing, so I'm not impartial here), i find the current way of doing this in Linux super easy and quick, so maybe disabling it in linux by default (But keeping it as an option) would result in a more clean experience. |
I wouldn't disable this by default on Linux. It's better to open a "wrong" (i.e. non-default) terminal choice than not having any option for doing so at all out of the box. That said, we can probably get the choice right in most cases without too much trouble. |
This comment was marked as off-topic.
This comment was marked as off-topic.
@ZynosStudios Please don't bump issues without contributing significant new information. Use the 👍 reaction button on the first post instead. |
when in doubt, add a 'Terminal Executable' editor setting |
This is what I did in the WIP branch I linked 🙂 |
Describe the project you are working on
An action-adventure survival game
*This feature should help in the development process of any other game though*
Describe the problem or limitation you are having in your project
Every time I needed to use the terminal for whatever reason (running git or any other CLI software) I had to open the terminal manually (or simply Ctrl + Alt + T) then manually navigate to the project directory using
cd path/godot/project
(witch I most keep remembering the path) then finally do whatever I wantedDescribe the feature / enhancement and how it helps to overcome the problem or limitation
Add a shortcut or simply an option in the select menu (when pressing RMB on the file system dock) to open the terminal in the project directory quickly
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
When the user right clicks on the the file system dock show an option to
Open terminal here
beside theOpen in file manager
option which will open a new terminal in the project directoryres://
. and if the user right clicks on a folder it should open a terminal in that folder.If this enhancement will not be used often, can it be worked around with a few lines of script?
I'm sure it will be used quite often
Is there a reason why this should be core and not an add-on in the asset library?
This feature is in every file manager out of the box even in file managers that is not developer-focused (like the windows file manager)
It makes sense to add it considering it's an improvement to the editor workflow as a whole
The text was updated successfully, but these errors were encountered: