![sublime text windows right click sublime text windows right click](https://i.stack.imgur.com/x7EqV.png)
What I thought would be a simple thing turned out to be fairly difficult for me and a lot of DuckDuckGo later, I am here. This post came from my own desire to add Sublime Text 3 to the Windows context menu and open it in any folder I wanted. If you want the position to be at the bottom."C:\Program Files\Sublime Text\sublime_text.exe" Set it to the same value as the path you set above in Step 5. Right click on the key you created, not command. Now find any folder you wish and right click inside of it to test it out.Īnd this is as far as you need to go, you can now open Sublime Text 3 (or any program you want really) with the right click context menu.
#Sublime text windows right click full
I know my screen shot above isn't very clear but adding the full stop as a flag tells windows to open this folder/directory in Sublime Text 3. When you have the path you need to add it to the value like so:Īnd one very important thing to add at the end of: For me it is:Ĭ:\Program Files\Sublime Text\sublime_text.exe Now you need to add the system path for your computers version of Sublime Text 3. Now double click (Default) or right click Modify to edit the data value of this new key. Now make another new key inside of this and call it: "command" Lets add a new key to it.Ĭall it: "Open with Sublime Text 3" (or whatever you'd like to call it) HKEY_CLASSES_ROOT\Directory\Background and it should take you right there. You may notice it's with a a lot of other folders so for speed I recommend typing/copy pasting into the address bar at the top:
![sublime text windows right click sublime text windows right click](https://i0.wp.com/bungeshea.com/wp-content/uploads/open-with-sublime-text-noicon.jpg)
In your Registry Editor lets navigate to a folder called: And there was many times I wanted that option. This isn't provided to you by default or on install. You cannot open a folder of your choice with Sublime Text 3. But there is a limit to this "Open with Sublime Text 3" option, that I hope to resolve. Because yes it would seem pointless to edit something for your benefit that is already there. "That's great John, but why should I bother editing something that is already installed by Sublime Text 3?" To see what this does, look for a file on your computer and right click on it you should see something like this:Īs a test you can edit this file/registry key to change the name and see the change on your right click menu. If you have Sublime Text 3 installed, there should be a folder already here for you to see. These should be different for you, depending on what you have installed on your computer. Now you will see a list of different folders.
![sublime text windows right click sublime text windows right click](https://static.packt-cdn.com/products/9781849698429/graphics/8429_01_03.jpg)
This should be at the very top of your Registry Editor window. You now need to navigate to/look for a folder called: Now with your fancy new backup, you can edit your registry with glee. Thankfully to make a back up is fairly easy.įile > Export > and save the file with what ever name you'd like. So please take care from this point forward, and make a back up in case something goes wrong. ⚠️ WARNING⚠️ Editing the Windows Registry incorrectly could do damage to your computer's operating system. Once you run "regedit.exe" you will have a new window appear in front of you. You can also use WIN+R keyboard shortcut to access "run.exe". You will need to open/start the Windows "run.exe" and search for the "regedit.exe" in the input field. So begin by going to the bottom left of your taskbar and click: You will need edit the Windows Registry to change a setting/registry key for your Windows operating system. In order to edit or add a new item to your right click menu. P.S A more detailed version of this TL DR with images can be seen at Step 5. The full stop as a flag tells windows to open this folder/directory in Sublime Text 3. Make sure to have a full stop at the end.
![sublime text windows right click sublime text windows right click](https://programmerah.com/wp-content/uploads/2021/02/20190815181225732.png)
For me it is:Ĭ:\Program Files\Sublime Text\sublime_text.exe. Put the path for your computers version of Sublime Text 3. Modify the key to edit the data value of this new key.Make another new key inside of this and call it: "command".Inside the shell folder, create a new key and call it: "Open with Sublime Text 3" (or whatever you'd like to call it).copy pasting into the address bar at the top:.In this tutorial I am using Windows 10, but you should be able to achieve the same result in Windows 8/8.1 and 7. In this tutorial I will be adding Sublime Text 3 to your right click menu (Context menu), so you can open files/folders in Sublime Text 3, just like you would with VScode.