Blog

Scite Preferences

Scite preferences can be opened and edited by selecting Options->Open Global Options File

Some preferences you may wish to change are:

check.if.already.open=1
This will cause all new files opened to open in the current instance of Scite. If this line is set to equal 0 or it is commented out (#) opening a new file will start a new instance of Scite. Since I often find myself editing tens of files I prefer to keep them in a single instance.
# Indentation
tabsize=8
indent.size=8
use.tabs=1
#indent.auto=1
indent.automatic=1
indent.opening=0
indent.closing=0
#tab.indents=0
#backspace.unindents=0

There is an entire section on tabbing behavior. For some reason many programmers are very specific on exactly how their tabbing is done. The default works for me.

# Scripting
ext.lua.startup.script=E:\UTIL\wscite\SciTEStartup.lua

Use this setting to set a start up script that holds all your own functions. This is the file that contains the functions that are described on the rest of this site.

statusbar.visible=1

Setting this value to 1 or un-commenting it will make the status bar display at start up.

# Status Bar
statusbar.number=4
statusbar.text.1=\
li=$(LineNumber) co=$(ColumnNumber) $(OverType) ($(EOLMode)) $(FileAttr)
statusbar.text.2=\
$(BufferLength) chars in $(NbOfLines) lines. Sel: $(SelLength) chars.
statusbar.text.3=\
Now is: Date=$(CurrentDate) Time=$(CurrentTime)
statusbar.text.4=\
$(FileNameExt) : $(FileDate) - $(FileTime) | $(FileAttr)

if PLAT_WIN
    command.scite.help="file://$(SciteDefaultHome)\SciTEDoc.html"
    command.scite.help.subsystem=2
if PLAT_GTK
    command.print.*=a2ps "$(FileNameExt)"
    command.scite.help=netscape "file://$(SciteDefaultHome)/SciTEDoc.html"

You can also change what the status bar displays under the # Status Bar section. Note that on windows you can click the status bar to cycle through different displays.

xml.auto.close.tags=1

This setting is found under html.properties and auto closes tags when you press ">" (there by deprecating my Tag Complete script.

save.session=1

Setting this to 1 and un-commenting it will cause Scite to open the previous file sit had open last session. If you start Scite by double clicking a file it will only open that file and discard the previous session state.

default.file.ext=.cxx

before a file is saved (or a language is chosen) Scite does not know what language the file will be. Use this setting to set its default language. Since I primarily use Scite for HTML/XML I set mine to HTML.