2016-03-05 57 views
1

安装后SciTE IDE for lua为什么编译,构建和运行选项被禁用。SciTE for lua编译器问题

enter image description here

怎么办,如何使这些部分

注:安装LuaForWindows_v5.1.4-46.exe我的电脑上(OS =双赢的8.1位和64位)

回答

0

您已打开文件类型为.properties的文件,但未对其定义这些操作。

尝试打开一些其他文件,例如。 .py,.lua.c并检查它们是否仍然被禁用。如果是的话,打开语言特定.properties文件,并相应修改以下键:

command.compile.filepattern= 
command.build.filepattern= 
command.go.filepattern= 
+0

感谢您的effort.Now它working.Looking一个建议,该建议IDE是最好的LUA。 – shamim

+0

我在windows中使用scite,在其他平台上使用emacs。这是你自己的选择,不管你喜欢哪一种编辑/ ide。 – hjpotter92

+0

@ hjpotter92 - 为什么在不同的平台上使用不同的编辑器?无处不在使用SciTE更方便。 –

0

这些行添加到您的“lua.properties”文件:

command.go.*.lua=C:\PathToLua\lua.exe "$(FileNameExt)" $(1) $(2) $(3) $(4) 
command.compile.*.lua=C:\PathToLua\luac.exe -s -o "$(FileName).luac" "$(FileNameExt)" 
# === or if you prefer LuaJIT === 
#command.go.*.lua=C:\PathToLuaJIT\luajit.exe -eio.stdout:setvbuf'no' "$(FileNameExt)" $(1) $(2) $(3) $(4) 
#command.compile.*.lua=C:\PathToLuaJIT\luajit.exe -b "$(FileNameExt)" "$(FileName).luac" 

calltip.lua.word.characters=.:$(word.chars.lua) 
calltip.lua.end.definition=) 
api.$(file.patterns.lua)=$(SciteDefaultHome)\lua5.api;$(SciteDefaultHome)\SciTELua.api 

使用菜单查看 - >参数设置为$值(1)... $(4)

Calltip文件需要:

+0

感谢您的回复,如何处理这些文件lua5.api和SciTELua.api。我将它下载并显示参数集值的路径。该怎么办? – shamim

+0

只需将它们复制到您的SciTE文件夹(所有.properties文件所在的位置) –