Its been a while that I used Scite as my default source code editor.  It has been my default IDE for 2 years and now I am trying to use Notepad++, eclipse and RapidPHP but I am so uncomfortable using them.  Now, I am running windows 7 ultimate 32 bit on my machine and installed Scite but can’t get it to be on the default programs because windows 7 treats Scite and notepad as one.  To solve my problem I tweaked my registry and added scite to my context menu instead so every time I want to open a PHP file I always have the choice to open it on my favorite source code editor which is Scite.  What I did was a simple tweak on the registry, its simple and straight. 

scite on registry

  1. Open Regedit by typing Regedit on the search box in windows 7
  2. Navigate to HKEY_CLASSES_ROOT\*\shell
  3. Create a new Key(Right click on shell > new > Key) and name it “Open with Scite”
  4. Create a new key under the folder “Open with Scite” and name it command
  5. On the right pane you can edit default by double clicking it and add the value C:\Program Files\SciTE Source Code Editor\SciTE.exe %1 or you can have the path to where you installed scite and just add %1 to get it working. 
  6. Click ok and everything is ready.

Below is what I had after doing the tweak:

context menu

Hope this helped you in using scite on widows 7 platform.

Technorati Tags: