Giter Site home page Giter Site logo

open-folders-in-vscode's Introduction

Open Folders in Visual Studio Code

Often, beginners struggle when opening folders in Vscode. For one, the idea of opening a 'folder' might seem unintuitive to those used only to opening files.

As it turns out, there is a way to open folders by right clicking on them in Windows and Mac OS X. Read below for more!

Windows 10/11 (i.e. Windows Explorer)

In order to open folders in Vscode by right clicking, you will have to download and merge the registry file linked here, as shown below.

Merge registry file

Note that the action above requires elevated privileges.

Once merged, any folder can be opened in Vscode from the context menu as shown below.

Open folder in Vscode in Explorer

Mac OS X (i.e. Finder)

This text is quoted from the second answer in this stack overflow article.

The simplest solution is to create a Quick Action with Open Finder Items: This way you don't need a shell script that might break with an OS update or Vscode update.

  1. Launch Automator and select Quick Action or File > New > Quick Action If Automator is already open.
  2. Set Quick Action receives selected to files or folders and in to Finder.
  3. Choose an Image (icon) select Choose.. and double click Visual Studio Code in the window that pops up, this will set your quick action icon to the same as VS Code.
  4. Add Open Finder Items, Choose open with as Other.. select Visual Studio Code and save your Quick Action as Open in VSCode optionally choose an Image for your Quick Action job done.

Comments? Suggestions?

Please do not hesitate to create an issue for this repository and I will address it at my earliest convenience.

open-folders-in-vscode's People

Contributors

diraneyya avatar

Watchers

 avatar

open-folders-in-vscode's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.