Open VS Code/Insiders directly within any folder in Linux

In Windows operating system, we prefer to enable the context menu option of Visual Studio Code or Visual Studio Code Insiders so that we can open the VS Code/Insiders within any folder we want.

If I simply zoom in the image a little bit, then we can …


This content originally appeared on DEV Community and was authored by Md. Fahim Bin Amin

In Windows operating system, we prefer to enable the context menu option of Visual Studio Code or Visual Studio Code Insiders so that we can open the VS Code/Insiders within any folder we want.
VS Code Context Menu in Windows 11
If I simply zoom in the image a little bit, then we can get a clear view of that. Although I am providing the visual glimpse on a Windows 11 machine, it works similarly in Windows 7, 8, 8.1, 10 as well.
Zoom in WIndows 11
When using Linux Operating System, sometimes we want to open the VS Code/Insiders directly within a folder by using the right mouse button clicking context menu. Sadly, it does not appear there by default. Don't worry, we can enable that feature in any Linux distribution based operating system as well. You can do that by following two simple tricks, but I will show you the most simple trick I always use.

  • Open the terminal / konsole.
  • Copy and paste the following command:
wget -qO- https://raw.githubusercontent.com/harry-cpp/code-nautilus/master/install.sh | bash
  • Press on the Enter key. Provide the password as well if it asks for that.
  • Optional: Run an update and upgrade of the system. You can do that using the terminal as well. Like, for the debian based distributions, you can use the following command.
sudo apt update && sudo apt upgrade -y

Change the necessary command (sudo dnf / pamac) if you are on other distributions (Arch/RPM/etc.).

  • Now you are good to go. The feature has been enabled globally.

Open with code

Thanks for reading this entire article. You may follow me on GitHub, LinkedIn, Twitter, YouTube as well. Have a nice day!


This content originally appeared on DEV Community and was authored by Md. Fahim Bin Amin


Print Share Comment Cite Upload Translate Updates
APA

Md. Fahim Bin Amin | Sciencx (2021-11-05T18:12:20+00:00) Open VS Code/Insiders directly within any folder in Linux. Retrieved from https://www.scien.cx/2021/11/05/open-vs-code-insiders-directly-within-any-folder-in-linux/

MLA
" » Open VS Code/Insiders directly within any folder in Linux." Md. Fahim Bin Amin | Sciencx - Friday November 5, 2021, https://www.scien.cx/2021/11/05/open-vs-code-insiders-directly-within-any-folder-in-linux/
HARVARD
Md. Fahim Bin Amin | Sciencx Friday November 5, 2021 » Open VS Code/Insiders directly within any folder in Linux., viewed ,<https://www.scien.cx/2021/11/05/open-vs-code-insiders-directly-within-any-folder-in-linux/>
VANCOUVER
Md. Fahim Bin Amin | Sciencx - » Open VS Code/Insiders directly within any folder in Linux. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/11/05/open-vs-code-insiders-directly-within-any-folder-in-linux/
CHICAGO
" » Open VS Code/Insiders directly within any folder in Linux." Md. Fahim Bin Amin | Sciencx - Accessed . https://www.scien.cx/2021/11/05/open-vs-code-insiders-directly-within-any-folder-in-linux/
IEEE
" » Open VS Code/Insiders directly within any folder in Linux." Md. Fahim Bin Amin | Sciencx [Online]. Available: https://www.scien.cx/2021/11/05/open-vs-code-insiders-directly-within-any-folder-in-linux/. [Accessed: ]
rf:citation
» Open VS Code/Insiders directly within any folder in Linux | Md. Fahim Bin Amin | Sciencx | https://www.scien.cx/2021/11/05/open-vs-code-insiders-directly-within-any-folder-in-linux/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.