SciTE的配置之一---常用设置
2009-05-30 08:05 youthjiang 阅读(3055) 评论(0) 收藏 举报
主要是SciTE的常用配置。
主要用SciTe来运行C/C++、VBS、Python等语言工具。该软件比较轻巧、灵便以及很适合日常使用。
该常用设置主要是User Option Files 的设置。
1. 具体步骤
- 下载SCITE。点击这里。
- 解压缩。
- 创建快捷方式到桌面。
- 运行SciTE。
- Copy Global Properties到User Properties.
- 重点是对User的属性进行修改。
2. User Properties进行修改
如果打头是Gene:就是我修改的文件。
1
# Global initialisation file for SciTE2
# For Linux, place in $prefix/share/scite3
# For Windows, place in same directory as SciTE.EXE (or Sc1.EXE)4
# Documentation at http://www.scintilla.org/SciTEDoc.html5

6
# Globals 7

8
# Window sizes and visibility9
if PLAT_WIN10
position.left=011
position.top=012
if PLAT_GTK13
position.left=514
position.top=2215
position.width=57616
position.height=740 17

18
#Gene:打开scite的时候最大化19
position.maximize=1 20

21
#position.tile=122
#full.screen.hides.menu=1 23

24
#Gene: 最小化到右下角25
#minimize.to.tray=1 26

27
#Gene: 输出窗口的设置28
split.vertical=029
output.horizontal.size=20030
output.vertical.size=6031
output.initial.hide=1 32

33
#horizontal.scrollbar=034
#horizontal.scroll.width=1000035
#horizontal.scroll.width.tracking=036
#output.horizontal.scrollbar=037
#output.horizontal.scroll.width=1000038
#output.horizontal.scroll.width.tracking=039
#output.scroll=0 40

41
#Gene: 编译错误,定位到源代码42
error.select.line=143
end.at.last.line=0 44

45
#Gene: 多标签文档栏可见46
tabbar.visible=1 47

48
#Gene: 如果只有一个文档,隐藏它49
#tabbar.hide.one=150
#tabbar.multiline=1 51

52
#Gene: 工具栏可见53
toolbar.visible=1 54

55
#toolbar.detachable=156
#toolbar.usestockicons=157
#menubar.detachable=158
#undo.redo.lazy=159
#statusbar.visible=160
#fileselector.width=80061
#fileselector.height=60062
#fileselector.show.hidden=163
#magnification=-164
#output.magnification=-1 65

66
# Sizes and visibility in edit pane:Gene:编辑区外观设置67
line.margin.visible=168
line.margin.width=469
margin.width=1670
#fold.margin.width=1671
#fold.margin.colour=#FF000072
#fold.margin.highlight.colour=#0000FF73
#blank.margin.left=474
#blank.margin.right=475
buffered.draw=176
#two.phase.draw=077
use.palette=0 78

79
# END_Window sizes and visibility 80

81
# Element styles82
#view.eol=183
#control.char.symbol=.84
caret.period=50085
view.whitespace=086
view.indentation.whitespace=187
view.indentation.guides=188
view.indentation.examine=389
highlight.indentation.guides=190
#caret.fore=#FF000091
#caret.width=2 92

93
#Gene: 当前行的颜色94
#caret.line.back=#FFFED895
#caret.line.back.alpha=6396
edge.column=20097
edge.mode=098
edge.colour=#C0DCC099
braces.check=1100
braces.sloppy=1101
#Gene:选中文字的颜色102
selection.fore=#FFFFFF 103

104
# DADADA used as background because it yields standard silver C0C0C0105
# on low colour displays and a reasonable light grey on higher bit depths106
if PLAT_WINNT107
selection.alpha=30108
selection.back=#000000109
if PLAT_WIN95110
selection.back=#DADADA111
if PLAT_GTK112
selection.alpha=30113
selection.back=#000000114
#whitespace.fore=#FF0000115
#whitespace.back=#FFF0F0116
#error.marker.fore=#0000A0117
#error.marker.back=#DADAFF118
#bookmark.fore=#808000119
#bookmark.back=#FFFFA0120
#bookmark.alpha=121
#Gene:找到文字的颜色122
find.mark=#0000FF 123

124
# Scripting125
#ext.lua.startup.script=126
#ext.lua.auto.reload=1127
#ext.lua.reset=1 128

129
# Checking130
#Gene:关闭时,提示保存131
are.you.sure=1132
#are.you.sure.for.build=1133
#save.all.for.build=1134
#quit.on.close.last=1135
#load.on.activate=1136
#save.on.deactivate=1137
#are.you.sure.on.reload=1138
#reload.preserves.undo=1139
#check.if.already.open=1140
default.file.ext=.cxx141
#source.default.extensions=.h|.cxx|.bat142
#Gene:窗口标题显示文档的完整路径143
title.full.path=1144
#title.show.buffers=1145
#save.recent=1146
#save.session=1147
#session.bookmarks=1148
#session.folds=1149
#save.position=1150
#open.dialog.in.file.directory=1151
#strip.trailing.spaces=1152
#ensure.final.line.end=1153
#ensure.consistent.line.ends=1154
#save.deletes.first=1155
buffers=10156
#buffers.zorder.switching=1157
#api.*.cxx=d:\api\w.api158
#win95.death.delay=1000159
#locale.properties=locale.de.properties160
#translation.missing=***161
#read.only=1162
#max.file.size=1 163

164
# Indentation165
tabsize=4166
indent.size=4167
use.tabs=1168
indent.auto=1169
indent.automatic=1170
indent.opening=0171
indent.closing=0172
#tab.indents=0173
#backspace.unindents=0 174

175
# Wrapping of long lines176
#wrap=1177
#wrap.style=2178
#cache.layout=3179
#output.wrap=1180
#output.cache.layout=3181
#wrap.visual.flags=3182
#wrap.visual.flags.location=3183
#wrap.visual.startindent=4 184

185
# Folding186
# enable folding, and show lines below when collapsed.187
fold=1188
fold.compact=1189
fold.flags=16190
fold.symbols=1191
#fold.on.open=1192
fold.comment=1193
fold.preprocessor=1 194

195
# Find and Replace196
# Internal search always available with recursive capability so use in preference to external tool197
find.command=198
# findstr is available on recent versions of Windows including 2000199
#if PLAT_WIN200
# find.command=findstr /n /s $(find.what) $(find.files)201
#find.input=$(find.what)202
#if PLAT_GTK203
# find.command=grep --line-number "$(find.what)" $(find.files)204
find.files=*.c *.cxx *.h205
#find.in.files.close.on.find=0206
#find.in.dot=1207
#find.in.binary=1208
#find.replace.matchcase=1209
#find.replace.escapes=1210
#find.replace.regexp=1211
#find.replace.regexp.posix=1212
#find.replace.wrap=0213
#find.replacewith.focus=0214
#find.replace.advanced=1 215

216
# Behaviour217
#eol.mode=LF218
eol.auto=1219
clear.before.execute=0220
#vc.home.key=1221
#wrap.aware.home.end.keys=1222
#autocompleteword.automatic=1223
#autocomplete.choose.single=1224
caret.policy.xslop=1225
caret.policy.width=20226
caret.policy.xstrict=0227
caret.policy.xeven=0228
caret.policy.xjumps=0229
caret.policy.yslop=1230
caret.policy.lines=1231
caret.policy.ystrict=1232
caret.policy.yeven=1233
caret.policy.yjumps=0234
#visible.policy.strict=1235
#visible.policy.slop=1236
#visible.policy.lines=4237
#time.commands=1238
#caret.sticky=1239
#properties.directory.enable=1 240

241
# Status Bar242
statusbar.number=4243
statusbar.text.1=\244
li=$(LineNumber) co=$(ColumnNumber) $(OverType) ($(EOLMode)) $(FileAttr)245
statusbar.text.2=\246
$(BufferLength) chars in $(NbOfLines) lines. Sel: $(SelLength) chars.247
statusbar.text.3=\248
Now is: Date=$(CurrentDate) Time=$(CurrentTime)249
statusbar.text.4=\250
$(FileNameExt) : $(FileDate) - $(FileTime) | $(FileAttr) 251

252
if PLAT_WIN253
command.scite.help="file://$(SciteDefaultHome)\SciTEDoc.html"254
command.scite.help.subsystem=2255
if PLAT_GTK256
command.print.*=a2ps "$(FileNameExt)"257
command.scite.help=netscape "file://$(SciteDefaultHome)/SciTEDoc.html" 258

259
# Internationalisation260
# Japanese input code page 932 and ShiftJIS character set 128261
#code.page=932262
#character.set=128263
# Unicode264
#code.page=65001265
#Gene:输入添加中文支持266
code.page=936267
#character.set=204268
# Required for Unicode to work on GTK+:269
#LC_CTYPE=en_US.UTF-8270
#output.code.page=65001271
#Gene:输出时添加中文支持272
output.code.page=936 273

274
# Export275
#export.keep.ext=1276
export.html.wysiwyg=1277
#export.html.tabs=1278
#export.html.folding=1279
export.html.styleused=1280
#export.html.title.fullpath=1281
#export.rtf.tabs=1282
#export.rtf.font.face=Arial283
#export.rtf.font.size=9284
#export.rtf.tabsize=8285
#export.rtf.wysiwyg=0286
#export.tex.title.fullpath=1287
# Magnification (added to default screen font size)288
export.pdf.magnification=0289
# Font: Courier, Helvetica or Times (Courier line-wraps)290
export.pdf.font=Helvetica291
# Page size (in points): width, height292
# E.g. Letter 612,792; A4 595,842; maximum 14400,14400293
export.pdf.pagesize=595,842294
# Margins (in points): left, right, top, bottom295
export.pdf.margins=72,72,72,72296
export.xml.collapse.spaces=1297
export.xml.collapse.lines=1 298

299
# Define values for use in the imported properties files300
#Gene:常用字符列表301
chars.alpha=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ302
chars.numeric=0123456789303
#chars.accented=姎寽?类玲骡勉匿佩奇晴辱砷赎穗天晚晤巷叙疡因芋贼挣重?304
# This is a better set for Russian:305
#chars.accented=类玲骡勉匿佩ǜ奇晴辱砷赎穗天晚晤巷叙疡因芋贼挣嘱作伉蠃邡埯茳蔟撖? 306

307
# The open.filter setting is only used on Windows where the file selector has a menu of filters to apply308
# to the types of files seen when opening.309
# There is a limit (possibly 256 characters) to the length of a filter,310
# so not all source extensions can be in this setting.311
source.files=*.asm;*.c;*.cc;*.cpp;*.cxx;*.cs;*.h;*.hh;*.hxx;*.hpp;\312
*.idl;*.odl;*.rc;*.rc2;*.dlg;*.def;\313
*.vb;*.vbs;*.bas;*.frm;*.cls;*.ctl;\314
*.java;*.js;*.py;*.pl;*.rb;*.cgi;*.lua;*.conf;\315
make*;*.mak;\316
*.properties;*.html;*.xml;*.iface;*.bat;*.e 317

318
if PLAT_WIN319
all.files=All Files (*.*)|*.*|320
if PLAT_GTK321
all.files=All Files (*)|*|Hidden Files (.*)|.*|322
open.filter=\323
All Source|$(source.files)|\324
$(all.files)\325
$(filter.ada)\326
$(filter.conf)\327
$(filter.asm)\328
$(filter.asn1)\329
$(filter.ave)\330
$(filter.baan)\331
$(filter.bash)\332
$(filter.caml)\333
$(filter.cmake)\334
$(filter.cpp)\335
#$(filter.ch)\336
$(filter.css)\337
$(filter.d)\338
$(filter.eiffel)\339
$(filter.erlang)\340
$(filter.fortran)\341
$(filter.gap)\342
$(filter.idl)\343
$(filter.inno)\344
$(filter.java)\345
$(filter.js)\346
$(filter.kix)\347
$(filter.lout)\348
$(filter.lua)\349
$(filter.matlab)\350
$(filter.metapost)\351
$(filter.mmixal)\352
$(filter.nncrontab)\353
$(filter.nsis)\354
$(filter.opal)\355
$(filter.pascal)\356
$(filter.perl)\357
$(filter.php)\358
$(filter.pov)\359
$(filter.powershell)\360
$(filter.prg)\361
$(filter.properties)\362
$(filter.ps)\363
$(filter.python)\364
$(filter.r)\365
$(filter.ruby)\366
$(filter.sql)\367
$(filter.specman)\368
$(filter.tcl)\369
$(filter.tex)\370
$(filter.text)\371
$(filter.vb)\372
$(filter.web)\373
$(filter.yaml)\374
$(filter.verilog)\375
$(filter.vhdl) 376

377
# Give symbolic names to the set of fonts used in the standard styles.378
if PLAT_WIN379
font.base=font:Verdana,size:10380
font.small=font:Verdana,size:8381
font.comment=font:Comic Sans MS,size:9382
font.code.comment.box=$(font.comment)383
font.code.comment.line=$(font.comment)384
font.code.comment.doc=$(font.comment)385
font.code.comment.nested=$(font.comment)386
font.text=font:Times New Roman,size:11387
font.text.comment=font:Verdana,size:9388
font.embedded.base=font:Verdana,size:9389
font.embedded.comment=font:Comic Sans MS,size:8390
font.monospace=font:Courier New,size:10391
font.vbs=font:Lucida Sans Unicode,size:10392
if PLAT_GTK393
font.base=font:!Bitstream Vera Sans,size:9394
font.small=font:!Bitstream Vera Sans,size:8395
font.comment=font:!Bitstream Vera Serif,size:9396
font.code.comment.box=$(font.comment)397
font.code.comment.line=$(font.comment)398
font.code.comment.doc=$(font.comment)399
font.code.comment.nested=$(font.comment)400
font.text=font:!Bitstream Charter,size:10401
font.text.comment=font:!Serif,size:9402
font.embedded.base=font:!Serif,size:9403
font.embedded.comment=font:!Serif,size:9404
font.monospace=font:!Bitstream Vera Sans Mono,size:9405
font.vbs=font:!Bitstream Vera Sans Mono,size:9406
font.js=$(font.comment) 407

408
# Old GTK+ font settings are faster but not antialiased409
#~ font.base=font:lucidatypewriter,size:12410
#~ font.small=font:lucidatypewriter,size:10411
#~ font.comment=font:new century schoolbook,size:12412
#~ font.code.comment.box=$(font.comment)413
#~ font.code.comment.line=$(font.comment)414
#~ font.code.comment.doc=$(font.comment)415
#~ font.text=font:times,size:14416
#~ font.text.comment=font:lucidatypewriter,size:10417
#~ font.embedded.base=font:lucidatypewriter,size:12418
#~ font.embedded.comment=font:lucidatypewriter,size:12419
#~ font.monospace=font:courier,size:12420
#~ font.vbs=font:new century schoolbook,size:12 421

422
# Give symbolic names to the set of colours used in the standard styles.423
colour.code.comment.box=fore:#007F00424
colour.code.comment.line=fore:#007F00425
colour.code.comment.doc=fore:#3F703F426
colour.code.comment.nested=fore:#A0C0A0427
colour.text.comment=fore:#0000FF,back:#D0F0D0428
colour.other.comment=fore:#007F00429
colour.embedded.comment=back:#E0EEFF430
colour.embedded.js=back:#F0F0FF431
colour.notused=back:#FF0000 432

433
colour.number=fore:#007F7F434
#Gene:改变关键字的颜色435
#colour.keyword=fore:#00007F436
colour.keyword=fore:#0000FF 437
colour.string=fore:#7F007F438
colour.char=fore:#7F007F439
colour.operator=fore:#000000440
#Gene:修改预处理文件的眼色441
#colour.preproc=fore:#7F7F00442
colour.preproc=fore:#660000 443
colour.error=fore:#FFFF00,back:#FF0000 444

445
# Global default styles for all languages446
# Default447
#Gene:用等宽的字体,前景色和背景色448
#style.*.32=$(font.base)449
style.*.32=$(font.monospace),size:11,back:#A8A8A8 450

451
# Line number452
style.*.33=back:#C0C0C0,$(font.base)453
# Brace highlight454
style.*.34=fore:#0000FF,bold455
# Brace incomplete highlight456
style.*.35=fore:#FF0000,bold457
# Control characters458
style.*.36=fore:#0000FF,bold459
# Indentation guides460
style.*.37=fore:#C0C0C0,back:#FFFFFF 461

462
# Printing - only works on Windows463
if PLAT_WIN464
#print.colour.mode=1465
print.magnification=-1466
# Setup: left, right, top, bottom margins, in local units:467
# hundredths of millimeters or thousandths of inches468
print.margins=1500,1000,1000,1500469
# Header/footer:470
# && = &; &p = current page471
# &f = file name; &F = full path472
# &d = file date; &D = current date473
# &t = file time; &T = full time474
print.header.format=$(FileNameExt) ?Printed on $(CurrentDate), $(CurrentTime) ?Page $(CurrentPage)475
print.footer.format=$(FilePath) ?File date: $(FileDate) ?File time: $(FileTime)476
# Header/footer style477
print.header.style=font:Arial,size:12,bold478
print.footer.style=font:Arial Narrow,size:10,italics 479

480
# Warnings - only works on Windows and needs to be pointed at files on machine481
#if PLAT_WIN482
# warning.findwrapped=100,E:\Windows\Media\SFX\Boing.wav483
# warning.notfound=0,Effect.wav484
# warning.wrongfile=0,Glass.wav485
# warning.executeok=0,Fanfare.wav486
# warning.executeko=100,GlassBreak.wav487
# warning.nootherbookmark=100,Boing2.wav 488

489
# Define the Lexer menu,490
# Each item contains three parts: menu string | file extension | key491
# The only keys allowed currently are based on F-keys and alphabetic keys and look like492
# [Ctrl+][Shift+][Fn|a] such as F12 or Ctrl+Shift+D.493
# A '&' may be placed before a letter to be used as an accelerator. This does not work on GTK+.494
menu.language=\495
#FreeBasic|bas||\496
Text|txt|Shift+F11|\497
Ada|ads||\498
#Apache Confi&g|conf||\499
Assembler|asm||\500
#ASN.1|asn1||\501
#Avenue|ave||\502
#Baan|bc||\503
&Batch|bat||\504
#Bullant|ant||\505
&C / C++|c||\506
#CMake|cmake||\507
C&#|cs||\508
#Csound|orc||\509
CSS|css||\510
D|d||\511
&Difference|diff||\512
#&Eiffel|e||\513
#Erlang|erl||\514
&Errorlist|err||\515
#FlagShip|prg||\516
#Forth|forth||\517
&Fortran|f90||\518
#Gap|g||\519
H&ypertext|html|F12|\520
#&InnoSetup|iss||\521
&Java|java||\522
Java&Script|js||\523
#&Kix|kix||\524
TeX|tex||\525
Lisp|lisp||\526
#Lot|lot||\527
#Lout|lt||\528
Lu&a|lua||\529
Matlab|m.matlab||\530
&Makefile|mak|Ctrl+Shift+F11|\531
#MetaPost|mp||\532
#MMIXAL|mms||\533
#&nnCron crontab|tab||\534
#NSIS|nsis||\535
#Objective Caml|ml||\536
#Octave|m.octave||\537
#Opal|impl||\538
Pascal|pas||\539
Pe&rl|pl||\540
P&HP|php||\541
#P&LSQL|spec||\542
#P&ostScript|ps||\543
#P&OV-Ray SDL|pov||\544
#PowerShell|ps1||\545
#PowerPro|powerpro||\546
&Properties|properties||\547
Pytho&n|py||\548
#R|R||\549
#Reso&urce|rc||\550
Ruby|rb||\551
Shell|sh||\552
S&QL|sql||\553
#Specman|e||\554
&TCL|tcl||\555
&VB|vb||\556
VBScr&ipt|vbs||\557
#Verilog|v||\558
#VHDL|vhd||\559
&XML|xml|Shift+F12|\560
YAML|yaml|| 561

562
# User defined key commands563
user.shortcuts=\564
Ctrl+Shift+V|IDM_PASTEANDDOWN|\565
Ctrl+PageUp|IDM_PREVFILE|\566
Ctrl+PageDown|IDM_NEXTFILE| 567

568
#KeypadPlus|IDM_EXPAND|\569
#KeypadMinus|IDM_BLOCK_COMMENT| 570

571
#user.context.menu=\572
#||\573
#Next File|IDM_NEXTFILE|\574
#Prev File|IDM_PREVFILE| 575

576
# Import all the language specific properties files577
#import abaqus578
import ada579
import asm580
#import asn1581
#import au3582
import ave583
import baan584
#import freebasic585
#import blitzbasic586
#import bullant587
import caml588
import conf589
import cpp590
#import cmake591
import d592
#import csound593
import css594
import eiffel595
import erlang596
import escript597
#import flagship598
#import forth599
import fortran600
#import gap601
import html602
#import inno603
#import kix604
import lisp605
import lot606
#import lout607
import lua608
import matlab609
import metapost610
import mmixal611
#import nimrod612
#import nncrontab613
#import nsis614
#import opal615
import others616
import pascal617
import perl618
import pov619
#import powerpro620
#import powershell621
import ps622
#import purebasic623
import python624
#import r625
#import rebol626
import ruby627
#import scriptol628
#import smalltalk629
#import spice630
import sql631
#import specman632
import tcl633
import tex634
import vb635
import yaml636
#import verilog637
#import vhdl 638

浙公网安备 33010602011771号