After install SciTE IDE for lua why Compile,Build and run option are disabled.
What to do,how to enable those portions
Note: Installed LuaForWindows_v5.1.4-46.exe on my PC(OS=win-8.1 and 64 bit)
After install SciTE IDE for lua why Compile,Build and run option are disabled.
What to do,how to enable those portions
Note: Installed LuaForWindows_v5.1.4-46.exe on my PC(OS=win-8.1 and 64 bit)
You've opened the .properties
type of file, for which those actions are not defined.
Try opening some other file, for eg. .py
, .lua
or .c
and check whether they are still disabled. If so, open the language specific .properties
file and edit the following keys accordingly:
command.compile.filepattern=
command.build.filepattern=
command.go.filepattern=
Add these lines to your "lua.properties" file:
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
Use menu View -> Parameters to set values for $(1)...$(4)
Calltip files you need: