NOTE: This is for windows users.
Open regedit.exe
Navigate to this key using the tree on the right: HKEY_CLASSES_ROOT\Directory\shell\
Create a new key in the shell key with any name like: Sublime or Open with Sublime Text or Sublime Text
There will be a key with a Name: (Default) and enter the Data: Open as Sublime Project
Create a new Binary Value with Name: Icon and enter the Data: C:\Program Files\Sublime Text 3\sublime_text.exe (Make sure you change the version of the Sublime Text you are using)
Create a new key in the key name (Sublime or Open with Sublime Text or Sublime Text) with Name: command
There will be a key (in that command key) with a Name: (Default) and enter the (Choose any one of the option below)
- Data:
C:\Program Files\Sublime Text 3\sublime_text.exe -n "%1"(If you want to open the project in new sublime window) - Data:
C:\Program Files\Sublime Text 3\sublime_text.exe "%1"(If you want to open the project in sublime window, which is already running or you are currently using)
Navigate to this key using the tree on the right: HKEY_CLASSES_ROOT\*\shell\
Create a new key in the shell key with any name like: Sublime or Open with Sublime Text or Sublime Text
There will be a key with a Name: (Default) and enter the Data: Open with Sublime
Create a new Binary Value with Name: Icon and enter the Data: C:\Program Files\Sublime Text 3\sublime_text.exe (Make sure you change the version of the Sublime Text you are using)
Create a new key in the key name (Sublime or Open with Sublime Text or Sublime Text) with Name: command
There will be a key (in that command key) with a Name: (Default) and enter the (Choose any one of the option below)
- Data:
C:\Program Files\Sublime Text 3\sublime_text.exe -n "%1"(If you want to open the file in new sublime window) - Data:
C:\Program Files\Sublime Text 3\sublime_text.exe "%1"(If you want to open the file in sublime window, which is already running or you are currently using)