
如何使用scite编程C++?
展开全部
下载解压后直接使用
就下载可执行文件的zip压缩包,includes the SciTE executable, any required DLLs, configuration files and documentation.
After downloading the file, unzip it, and run SciTE.EXE.
The files required to run SciTE are SciTE.EXE, SciLexer.DLL, and SciTEGlobal.properties and these are best located in one directory on the path.
添加SciTE到右键菜单
2.添加SciTE到右键菜单,方便右键直接打开文档。
把以下内容拷到任意以.reg结尾的文件中,后执行即可。
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\SciTE]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\SciTE\command]
@="D:\\Program Files\\wscite\\SciTE.exe %1"
----------------------------------------------------------------------
设置user options file
3. 设置user options file.
不要修改全局文件,global is for the default settings with new versions - it is overwritten. Scite user is not and therefore makes it easier to retain the settings between version updates.
user options file 在用户的home目录下面,即环境变量 %USERPROFILE% 所对应的目录。
把下面的内容拷贝到user options file, 菜单Options->Open User options file.
---------------------------------------
# 多数情况,值设成1表示启用某个功能,设成0表示不启用某个功能.
# "#"开头的行是注释,scite在解析时会忽略。
# Internationalisation
# Chinese input code page 936 and ShiftJIS character set 134
code.page=936
character.set=134
output.code.page=936
# Required for Unicode to work on GTK+:
#LC_CTYPE=en_US.UTF-8
# Wrapping of long lines
#Chooses between word wrapping (1, the default) and character wrapping (2). Character wrapping is a better choice for Asian languages with no spaces between words.
wrap=0
wrap.style=2
#窗口大小
position.width=640
position.height=600
#编辑区两边的留空
blank.margin.left=0
blank.margin.right=0
# 初始化时编辑区左边,显示行号列右侧的边距,书签标志就在这里
margin.width=8
#工具栏,状态栏可见
toolbar.visible=1
statusbar.visible=1
#显示最近打开的文档
save.recent=1
# 如果设置成1,当输入一个词,如果文档只有这个词以该字符开始,就会显示一个自动完成选择框,按Tab键就能完成自动输入。
autocompleteword.automatic=1
# Indentation
tabsize=4
indent.size=4
# Sizes and visibility in edit pane
line.margin.visible=1
line.margin.width=2+
# 输出区的位置及启动scite文本编辑器时输出区是否隐藏
split.vertical=0
output.initial.hide=1
# 标题栏显示信息,0为文件名,1为全路径,2为显示文件名和目录名。
title.full.path=1
## 当前文件被外部修改时自动重新载入
load.on.activate=1
# scite失去焦点时自动保存文档。在某些时候这个选项很有用,比如切换到另外的程序去查看文档编辑效果。
#save.on.deactivate=1
# 当load.on.activate=1时,启用这个选项,重新载入时会先询问你
are.you.sure.on.reload=1
# 重新载入文档时保留还原信息
reload.preserves.undo=1
#自动缩进
tabsize=4
indent.size=4
use.tabs=1
indent.auto=1
indent.automatic=1
indent.opening=1
indent.closing=1
tab.indents=1
backspace.unindents=1
#Check
check.if.already.open=1
#设置语法提示的路径, Ctrl+I
api.*.pl=$(SciteDefaultHome)\perl.api
#api.*.cxx=d:\api\w.api
#默认设置中,光标在文件最后一行时垂直滑动条无法再向下滚动,不符合使用习惯
end.at.last.line=0
---------------------------------------
修改perl.propertie
4. Perl语言的语法高亮太难看了,修改perl.properties下几行:
# Scalars: $var
#~ style.perl.12=fore:#000000,back:#FFE0E0
style.perl.12=fore:#0011FF
# Array: @var
#~ style.perl.13=fore:#000000,back:#FFFFE0
style.perl.13=$(style.perl.12)
# Hash: %var
#~ style.perl.14=fore:#000000,back:#FFE0FF
style.perl.14=$(style.perl.12)
# Symbol table: *var
#~ style.perl.15=fore:#000000,back:#E0E0E0
style.perl.15=$(style.perl.12)
# Regex: /re/ or m{re}
#style.perl.17=fore:#000000,back:#A0FFA0
style.perl.17=fore:#DD11BB
# Substitution: s/re/ore/
#~ style.perl.18=fore:#000000,back:#F0E080
style.perl.18=$(style.perl.17)
#-------------------------------------------------
百度的,你看对你有没有帮助
就下载可执行文件的zip压缩包,includes the SciTE executable, any required DLLs, configuration files and documentation.
After downloading the file, unzip it, and run SciTE.EXE.
The files required to run SciTE are SciTE.EXE, SciLexer.DLL, and SciTEGlobal.properties and these are best located in one directory on the path.
添加SciTE到右键菜单
2.添加SciTE到右键菜单,方便右键直接打开文档。
把以下内容拷到任意以.reg结尾的文件中,后执行即可。
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\SciTE]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\SciTE\command]
@="D:\\Program Files\\wscite\\SciTE.exe %1"
----------------------------------------------------------------------
设置user options file
3. 设置user options file.
不要修改全局文件,global is for the default settings with new versions - it is overwritten. Scite user is not and therefore makes it easier to retain the settings between version updates.
user options file 在用户的home目录下面,即环境变量 %USERPROFILE% 所对应的目录。
把下面的内容拷贝到user options file, 菜单Options->Open User options file.
---------------------------------------
# 多数情况,值设成1表示启用某个功能,设成0表示不启用某个功能.
# "#"开头的行是注释,scite在解析时会忽略。
# Internationalisation
# Chinese input code page 936 and ShiftJIS character set 134
code.page=936
character.set=134
output.code.page=936
# Required for Unicode to work on GTK+:
#LC_CTYPE=en_US.UTF-8
# Wrapping of long lines
#Chooses between word wrapping (1, the default) and character wrapping (2). Character wrapping is a better choice for Asian languages with no spaces between words.
wrap=0
wrap.style=2
#窗口大小
position.width=640
position.height=600
#编辑区两边的留空
blank.margin.left=0
blank.margin.right=0
# 初始化时编辑区左边,显示行号列右侧的边距,书签标志就在这里
margin.width=8
#工具栏,状态栏可见
toolbar.visible=1
statusbar.visible=1
#显示最近打开的文档
save.recent=1
# 如果设置成1,当输入一个词,如果文档只有这个词以该字符开始,就会显示一个自动完成选择框,按Tab键就能完成自动输入。
autocompleteword.automatic=1
# Indentation
tabsize=4
indent.size=4
# Sizes and visibility in edit pane
line.margin.visible=1
line.margin.width=2+
# 输出区的位置及启动scite文本编辑器时输出区是否隐藏
split.vertical=0
output.initial.hide=1
# 标题栏显示信息,0为文件名,1为全路径,2为显示文件名和目录名。
title.full.path=1
## 当前文件被外部修改时自动重新载入
load.on.activate=1
# scite失去焦点时自动保存文档。在某些时候这个选项很有用,比如切换到另外的程序去查看文档编辑效果。
#save.on.deactivate=1
# 当load.on.activate=1时,启用这个选项,重新载入时会先询问你
are.you.sure.on.reload=1
# 重新载入文档时保留还原信息
reload.preserves.undo=1
#自动缩进
tabsize=4
indent.size=4
use.tabs=1
indent.auto=1
indent.automatic=1
indent.opening=1
indent.closing=1
tab.indents=1
backspace.unindents=1
#Check
check.if.already.open=1
#设置语法提示的路径, Ctrl+I
api.*.pl=$(SciteDefaultHome)\perl.api
#api.*.cxx=d:\api\w.api
#默认设置中,光标在文件最后一行时垂直滑动条无法再向下滚动,不符合使用习惯
end.at.last.line=0
---------------------------------------
修改perl.propertie
4. Perl语言的语法高亮太难看了,修改perl.properties下几行:
# Scalars: $var
#~ style.perl.12=fore:#000000,back:#FFE0E0
style.perl.12=fore:#0011FF
# Array: @var
#~ style.perl.13=fore:#000000,back:#FFFFE0
style.perl.13=$(style.perl.12)
# Hash: %var
#~ style.perl.14=fore:#000000,back:#FFE0FF
style.perl.14=$(style.perl.12)
# Symbol table: *var
#~ style.perl.15=fore:#000000,back:#E0E0E0
style.perl.15=$(style.perl.12)
# Regex: /re/ or m{re}
#style.perl.17=fore:#000000,back:#A0FFA0
style.perl.17=fore:#DD11BB
# Substitution: s/re/ore/
#~ style.perl.18=fore:#000000,back:#F0E080
style.perl.18=$(style.perl.17)
#-------------------------------------------------
百度的,你看对你有没有帮助
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询