2008-06-04

SciTE - text Editor

Setelah beberapa lama mencari pengganti ultraedit, akhirnya ketemu juga editor yang lumayan handal dan ringan (tapi tetep kalah jauh sama ultraedit :) ). Namanya SciTE, ini bsa didonlod di www.scintilla.org .Cukupan lah editor ini, dan kalo donlod asik banget, cman 890K yang versi zip dan 770K yg versi tgz. user ubuntu mah tinggal apt-get scite selesei.
Berhubung editor kecil nan ringan, resikonya ndak ada apa2nya, tp yang mantab, scite bisa dimodifikasi; contohnya bisa dibikin calltips. setelah sekian lama jadi dot programmer, calltips ini jadi smacam kharusan heuheuhe..
Kebetulan aku pake scite ini buat edit php pages yang ada, jd aku butuh calltips buat php. Yang musti dikunjungi adalah http://www.scintilla.org/SciTEExtras.html dan copy yang berhubungan dgn php. Kalo mau bikin calltips untuk bahasa lain jg bisa tinggal donlot.

Kemudian hasil donlot-an tersebut copy ke direktori scite, di ubuntuku ada di /usr/share/scite
Trus buka SciTE, klik di Option, kmudian Klik Open User Options File trus paste disitu teks ini :

# Load the PHP api file

api.$(file.patterns.php)=$(SciteDefaultHome)/php.api

# Call Tips settings

calltip.hypertext.end.definition=)

calltip.hypertext.word.characters=->_$(chars.alpha)

calltip.hypertext.ignorecase=1

# Autocomplete settings

autocomplete.hypertext.start.characters=$->(chars.alpha)

autocomplete.hypertext.ignorecase=1

# File open filters

open.filter=All Files|*.*|PHP Files|*.php

#default.file.ext=.php

# Display line numbers on the left hand side

line.margin.visible=1

line.margin.width=3+

# Shows the currently selected file name in the title bar.

title.full.path=1

title.show.buffers=1

# Saves the session for next time it is open.

save.recent=1

save.session=1

load.on.activate=1

# Allows up to 25 tabs to be open at once

buffers=25

# Move the message pane

split.vertical=0


simpen dan reload SciTE, selese dah.

sumber : http://www.spodesabode.com/discussion/70/-googleadsectionstart-scite-for-php-development-googleadsectionend-/

Tidak ada komentar: