Skip to content
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

Open in VS Code in Nautilus context menu. #17

Open
simonmika opened this issue Feb 12, 2016 · 3 comments
Open

Open in VS Code in Nautilus context menu. #17

simonmika opened this issue Feb 12, 2016 · 3 comments

Comments

@simonmika
Copy link
Contributor

Today I tend to only need to use the terminal for two kinds of tasks:

  1. Start VS Code.
  2. Git usage:
    1. Start caching git credentials so that I can do the remaining git tasks in Code.
    2. Handling git submodules.
    3. Other advanced git usage.

The first point can be solved using the way described in:
http://askubuntu.com/questions/21953/how-do-i-customize-the-context-menu-in-nautilus

Is it possible to in the scripts include an automatic way of doing it?

@thomasfanell
Copy link
Contributor

I gave that some thought some months ago, but since it ends up in an ugly Scripts sub menu, I opted not to include it.

A better solution would probably be to add a .desktop file in ~/.local/share/applications. VS Code would then be available in the standard Open with... menu. The tiny downside for this solution is that one would have to perform a few extra clicks the first time using it: right-click -> open with... -> other -> show other applications -> VS Code. After that, VS Code would be available directly from the Open with menu

@simonmika
Copy link
Contributor Author

I like having it on the folder itself. This is what I have been able to configure manually
skarmbild fran 2016-02-12 16-11-01

@ghost
Copy link

ghost commented Feb 15, 2016

There is a setting in Nautilus-Actions that turns off the root Nautilus-Actions item : http://www.howtogeek.com/116807/how-to-easily-add-custom-right-click-options-to-ubuntus-file-manager/

If you don’t like the submenu, click the Preferences button in the Nautilus-Actions Configuration Tool > window and uncheck the “Create a root ‘Nautilus-Actions’ menu” option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants