pycharm配置lua编译环境

目的

  lua嵌入式脚本在window下编写测试。

http://www.lua.org/home.html

插件

pychamr-->setttings-->plugins--->lua   ###安装lua插件,安装完毕重启pycharm

lua-window

https://github.com/rjpcomputing/luaforwindows/releases

https://github.com/rjpcomputing/luaforwindows/releases/download/v5.1.5-52/LuaForWindows_v5.1.5-52.exe

注意:请根据你需要的lua版本下载对应的

配置

新建目录,当做lua项目的家目录

新建xxx.lua脚本,写入  print('hello'),运行,弹出配置lua

###配置lua解释器interpreter

运行

ctrl + shift + f10 ###运行lua脚本

猜你喜欢

转载自www.cnblogs.com/xiaochina/p/12340718.html
今日推荐