ctrl+shift+p filters: :st2 :st3 :win :osx :linux
浏览

Sublime​Linter-contrib-glua

作者 glua ST3

SublimeLinter 3插件,用于GMod Lua,使用gluac -p。

详细信息

  • 1.0.0
  • github.​com
  • github.​com
  • 10年前
  • 1小时前
  • 10年前

安装次数

  • 总计 2K
  • Win 2K
  • Mac 82
  • Linux 61
8月6日 8月5日 8月4日 8月3日 8月2日 8月1日 7月31日 7月30日 7月29日 7月28日 7月27日 7月26日 7月25日 7月24日 7月23日 7月22日 7月21日 7月20日 7月19日 7月18日 7月17日 7月16日 7月15日 7月14日 7月13日 7月12日 7月11日 7月10日 7月9日 7月8日 7月7日 7月6日 7月5日 7月4日 7月3日 7月2日 7月1日 6月30日 6月29日 6月28日 6月27日 6月26日 6月25日 6月24日 6月23日
Windows 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 1 0 0 1 0 1 0 0 1 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0
Mac 1 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
012348月6日8月3日7月31日7月28日7月25日7月22日7月19日7月16日7月13日7月10日7月7日7月4日7月1日6月28日6月25日8月6日 Linux: 0 Mac: 1 Windows: 08月5日 Linux: 0 Mac: 1 Windows: 08月4日 Linux: 0 Mac: 0 Windows: 08月3日 Linux: 0 Mac: 0 Windows: 08月2日 Linux: 0 Mac: 0 Windows: 08月1日 Linux: 0 Mac: 0 Windows: 07月31日 Linux: 0 Mac: 0 Windows: 07月30日 Linux: 0 Mac: 0 Windows: 07月29日 Linux: 0 Mac: 1 Windows: 07月28日 Linux: 0 Mac: 0 Windows: 07月27日 Linux: 0 Mac: 0 Windows: 07月26日 Linux: 0 Mac: 0 Windows: 17月25日 Linux: 0 Mac: 0 Windows: 07月24日 Linux: 0 Mac: 0 Windows: 07月23日 Linux: 0 Mac: 0 Windows: 17月22日 Linux: 0 Mac: 0 Windows: 07月21日 Linux: 0 Mac: 0 Windows: 07月20日 Linux: 0 Mac: 0 Windows: 07月19日 Linux: 0 Mac: 0 Windows: 07月18日 Linux: 0 Mac: 0 Windows: 07月17日 Linux: 0 Mac: 0 Windows: 17月16日 Linux: 0 Mac: 0 Windows: 07月15日 Linux: 0 Mac: 0 Windows: 07月14日 Linux: 0 Mac: 0 Windows: 17月13日 Linux: 0 Mac: 0 Windows: 07月12日 Linux: 0 Mac: 0 Windows: 17月11日 Linux: 0 Mac: 0 Windows: 07月10日 Linux: 0 Mac: 0 Windows: 07月9日 Linux: 0 Mac: 0 Windows: 17月8日 Linux: 0 Mac: 0 Windows: 07月7日 Linux: 0 Mac: 0 Windows: 07月6日 Linux: 0 Mac: 0 Windows: 07月5日 Linux: 0 Mac: 0 Windows: 07月4日 Linux: 0 Mac: 0 Windows: 07月3日 Linux: 0 Mac: 0 Windows: 17月2日 Linux: 0 Mac: 0 Windows: 07月1日 Linux: 0 Mac: 0 Windows: 16月30日 Linux: 0 Mac: 0 Windows: 06月29日 Linux: 0 Mac: 0 Windows: 06月28日 Linux: 0 Mac: 0 Windows: 06月27日 Linux: 0 Mac: 0 Windows: 06月26日 Linux: 0 Mac: 0 Windows: 06月25日 Linux: 0 Mac: 0 Windows: 06月24日 Linux: 0 Mac: 0 Windows: 06月23日 Linux: 0 Mac: 0 Windows: 08月6日 Linux: 0 Mac: 1 Windows: 08月5日 Linux: 0 Mac: 1 Windows: 08月4日 Linux: 0 Mac: 0 Windows: 08月3日 Linux: 0 Mac: 0 Windows: 08月2日 Linux: 0 Mac: 0 Windows: 08月1日 Linux: 0 Mac: 0 Windows: 07月31日 Linux: 0 Mac: 0 Windows: 07月30日 Linux: 0 Mac: 0 Windows: 07月29日 Linux: 0 Mac: 1 Windows: 07月28日 Linux: 0 Mac: 0 Windows: 07月27日 Linux: 0 Mac: 0 Windows: 07月26日 Linux: 0 Mac: 0 Windows: 17月25日 Linux: 0 Mac: 0 Windows: 07月24日 Linux: 0 Mac: 0 Windows: 07月23日 Linux: 0 Mac: 0 Windows: 17月22日 Linux: 0 Mac: 0 Windows: 07月21日 Linux: 0 Mac: 0 Windows: 07月20日 Linux: 0 Mac: 0 Windows: 07月19日 Linux: 0 Mac: 0 Windows: 07月18日 Linux: 0 Mac: 0 Windows: 07月17日 Linux: 0 Mac: 0 Windows: 17月16日 Linux: 0 Mac: 0 Windows: 07月15日 Linux: 0 Mac: 0 Windows: 07月14日 Linux: 0 Mac: 0 Windows: 17月13日 Linux: 0 Mac: 0 Windows: 07月12日 Linux: 0 Mac: 0 Windows: 17月11日 Linux: 0 Mac: 0 Windows: 07月10日 Linux: 0 Mac: 0 Windows: 07月9日 Linux: 0 Mac: 0 Windows: 17月8日 Linux: 0 Mac: 0 Windows: 07月7日 Linux: 0 Mac: 0 Windows: 07月6日 Linux: 0 Mac: 0 Windows: 07月5日 Linux: 0 Mac: 0 Windows: 07月4日 Linux: 0 Mac: 0 Windows: 07月3日 Linux: 0 Mac: 0 Windows: 17月2日 Linux: 0 Mac: 0 Windows: 07月1日 Linux: 0 Mac: 0 Windows: 16月30日 Linux: 0 Mac: 0 Windows: 06月29日 Linux: 0 Mac: 0 Windows: 06月28日 Linux: 0 Mac: 0 Windows: 06月27日 Linux: 0 Mac: 0 Windows: 06月26日 Linux: 0 Mac: 0 Windows: 06月25日 Linux: 0 Mac: 0 Windows: 06月24日 Linux: 0 Mac: 0 Windows: 06月23日 Linux: 0 Mac: 0 Windows: 08月6日 Linux: 0 Mac: 1 Windows: 08月5日 Linux: 0 Mac: 1 Windows: 08月4日 Linux: 0 Mac: 0 Windows: 08月3日 Linux: 0 Mac: 0 Windows: 08月2日 Linux: 0 Mac: 0 Windows: 08月1日 Linux: 0 Mac: 0 Windows: 07月31日 Linux: 0 Mac: 0 Windows: 07月30日 Linux: 0 Mac: 0 Windows: 07月29日 Linux: 0 Mac: 1 Windows: 07月28日 Linux: 0 Mac: 0 Windows: 07月27日 Linux: 0 Mac: 0 Windows: 07月26日 Linux: 0 Mac: 0 Windows: 17月25日 Linux: 0 Mac: 0 Windows: 07月24日 Linux: 0 Mac: 0 Windows: 07月23日 Linux: 0 Mac: 0 Windows: 17月22日 Linux: 0 Mac: 0 Windows: 07月21日 Linux: 0 Mac: 0 Windows: 07月20日 Linux: 0 Mac: 0 Windows: 07月19日 Linux: 0 Mac: 0 Windows: 07月18日 Linux: 0 Mac: 0 Windows: 07月17日 Linux: 0 Mac: 0 Windows: 17月16日 Linux: 0 Mac: 0 Windows: 07月15日 Linux: 0 Mac: 0 Windows: 07月14日 Linux: 0 Mac: 0 Windows: 17月13日 Linux: 0 Mac: 0 Windows: 07月12日 Linux: 0 Mac: 0 Windows: 17月11日 Linux: 0 Mac: 0 Windows: 07月10日 Linux: 0 Mac: 0 Windows: 07月9日 Linux: 0 Mac: 0 Windows: 17月8日 Linux: 0 Mac: 0 Windows: 07月7日 Linux: 0 Mac: 0 Windows: 07月6日 Linux: 0 Mac: 0 Windows: 07月5日 Linux: 0 Mac: 0 Windows: 07月4日 Linux: 0 Mac: 0 Windows: 07月3日 Linux: 0 Mac: 0 Windows: 17月2日 Linux: 0 Mac: 0 Windows: 07月1日 Linux: 0 Mac: 0 Windows: 16月30日 Linux: 0 Mac: 0 Windows: 06月29日 Linux: 0 Mac: 0 Windows: 06月28日 Linux: 0 Mac: 0 Windows: 06月27日 Linux: 0 Mac: 0 Windows: 06月26日 Linux: 0 Mac: 0 Windows: 06月25日 Linux: 0 Mac: 0 Windows: 06月24日 Linux: 0 Mac: 0 Windows: 06月23日 Linux: 0 Mac: 0 Windows: 0

说明文档

源代码
raw.​githubusercontent.​com

SublimeLinter-contrib-glua

此代码检查插件为SublimeLinter提供一个用于gluac -p的接口。它将用于具有“Lua”语法的文件。

安装

必须安装SublimeLinter 3才能使用此插件。如果未安装SublimeLinter 3,请按照此处的说明进行操作。

代码检查安装

在使用此插件之前,必须确保您的系统上已安装gluac。可以在其版本发布页面找到gluac可执行文件。您必须确保gluac位于系统PATH中。如果您不熟悉此过程,可以在此处查看各种Windows版本的教程

注意:gluac依赖lua_shared.dlltier0.dll。这些文件必须要么位于您的PATH中,要么位于gluac可执行文件的旁边。这些文件可以在您的SteamApps/common/GarrysMod/garrysmod/binSteamApps/common/GarrysMod/bin文件夹中找到。

代码检查配置

为了能让SublimeLinter执行gluac,您必须确保其路径对SublimeLinter是可用的。在继续之前,请阅读并遵循文档中的“Finding a linter executable”部分中提到的步骤,“Validating your PATH”部分。

插件安装

请使用Package Control安装代码检查插件。这将确保插件在可用新版本时自动更新。如果您想要从源代码安装以便修改源代码,那么您可能已经知道您在做什么,所以这里不会进行介绍。

通过Package Control安装,请按照以下步骤操作

  1. 在Sublime Text中,打开命令面板并输入install。你应当看到命令列表中出现Package Control: Install Package。如果该命令没有高亮显示,请使用键盘或鼠标选择它。Package Control将暂停几秒钟来获取插件列表。

  2. 当插件列表出现时,输入lua。列表中应当出现SublimeLinter-contrib-glua。如果该条目没有高亮显示,请使用键盘或鼠标选择它。

设置

有关SublimeLinter设置的一般信息,请参阅设置。有关通用linter设置的信息,请参阅Linter 设置

除了标准SublimeLinter设置之外,SublimeLinter-contrib-glua还提供了自己的设置。标记为“行内设置”或“行内覆盖”的设置也可以行内使用

贡献

如果你希望对插件进行改进或修复,请按照以下步骤操作

  1. 从插件仓库Fork。
  2. 在从最新master分支创建的单独分支上开发。
  3. 提交并推送主题分支。
  4. 发起拉取请求。
  5. 请耐心等待。 ;-)

请注意,修改应遵循以下编码规范

  • 缩进为4个空格。
  • 代码应通过flake8和pep257 linter检查。
  • 垂直空白有助于提高可读性,不要害怕使用它。

谢谢你帮忙!