right click > open folder as sublime text 2 project

malanjutkan beberapa post sebelumnya mengenai sublime,,  sebenernya lebih jadi catatan tersendiri untuk saya kalau nanti lupa caranya,, karena cukup tricky🙂.

sekarang kita akan bahas mengenai fitur klik kanan > open folder as sublime text 2 project

Untitled

 

 

 

 

 

 

 

 

oke ga perlu babibu karena caranya sama persis seperti post saya sebelumnya untuk menambahkan klik kanan > edit with mari kita buka sublime text 2,,

mohon maaf kalau banyak tulisan yang copas post sebelumnya.

1. tekan kombinasi tombol ctrl+n untuk buka new file di sublime lalu kita buat file registry a.k.a .reg

kalo sudah copas perintah berikut ke sublime text masing2
=================copas start here=========================
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\sublime]
@=”Open Folder as &Sublime Project”

[HKEY_CLASSES_ROOT\Directory\shell\sublime\command]
@=”\”C:\\Program Files\\Sublime Text 2\\sublime_text.exe\” \”%1\””

[HKEY_CLASSES_ROOT\Directory\Background\shell\sublime]
@=”Open Folder as &Sublime Project”

[HKEY_CLASSES_ROOT\Directory\Background\shell\sublime\command]
@=”\”C:\\Program Files\\Sublime Text 2\\sublime_text.exe\” \”%V\””

=================copas end here==========================
warn : perhatikan di baris yang di bold,, path harus disesuaikan dengan nama folder instalasi sublime text 2,,
yang saya pakai disini path default instalasi sublime text 2

2. tekan ctrl+s atau save file tadi dengan nama sublime2.reg

3. buka folder penyimpanan file sublime2.reg > double click dan yes yes yes lah apapun dialognya :)) (insyaalloh aman ini script)

4. silahkan sicoba untuk klik kanan file yang mau diedit dengan editor,,

happy coding🙂

One thought on “right click > open folder as sublime text 2 project

  1. So I decided to write a script to fill some of this gap in Sublime Text 2. The script simply scans through a specified directory and creates a json formatted sublime-completions file from all the functions it finds.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s