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

Zig 编程语言

ziglang 全部

Zig 编程语言对 Sublime Text 的支持

标签 语言语法

详细信息

  • 1.5.0
  • github.com
  • github.com
  • 3年前
  • 2小时前
  • 6年前

安装量

  • 总数 7K
  • Win 3K
  • Mac 2K
  • Linux 2K
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日 6月22日
Windows 3 1 1 2 1 4 1 6 1 3 0 4 1 4 2 3 5 3 1 4 5 2 2 1 5 5 3 3 1 0 1 3 1 5 1 1 0 2 3 3 3 1 2 2 4 5
Mac 2 1 2 3 2 2 1 1 1 1 1 0 2 3 1 1 3 1 0 0 0 1 1 1 2 2 5 1 3 1 1 0 2 1 0 2 4 1 3 2 2 1 2 2 2 1
Linux 2 2 3 2 2 0 2 1 2 2 1 0 1 1 3 4 3 3 1 1 3 4 3 5 1 1 2 1 5 2 2 1 1 6 1 3 0 0 3 2 1 4 0 5 4 4
05108月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日6月22日8月6日 Linux: 2 Mac: 2 Windows: 38月5日 Linux: 2 Mac: 1 Windows: 18月4日 Linux: 3 Mac: 2 Windows: 18月3日 Linux: 2 Mac: 3 Windows: 28月2日 Linux: 2 Mac: 2 Windows: 18月1日 Linux: 0 Mac: 2 Windows: 47月31日 Linux: 2 Mac: 1 Windows: 17月30日 Linux: 1 Mac: 1 Windows: 67月29日 Linux: 2 Mac: 1 Windows: 17月28日 Linux: 2 Mac: 1 Windows: 37月27日 Linux: 1 Mac: 1 Windows: 07月26日 Linux: 0 Mac: 0 Windows: 47月25日 Linux: 1 Mac: 2 Windows: 17月24日 Linux: 1 Mac: 3 Windows: 47月23日 Linux: 3 Mac: 1 Windows: 27月22日 Linux: 4 Mac: 1 Windows: 37月21日 Linux: 3 Mac: 3 Windows: 57月20日 Linux: 3 Mac: 1 Windows: 37月19日 Linux: 1 Mac: 0 Windows: 17月18日 Linux: 1 Mac: 0 Windows: 47月17日 Linux: 3 Mac: 0 Windows: 57月16日 Linux: 4 Mac: 1 Windows: 27月15日 Linux: 3 Mac: 1 Windows: 27月14日 Linux: 5 Mac: 1 Windows: 17月13日 Linux: 1 Mac: 2 Windows: 57月12日 Linux: 1 Mac: 2 Windows: 57月11日 Linux: 2 Mac: 5 Windows: 37月10日 Linux: 1 Mac: 1 Windows: 37月9日 Linux: 5 Mac: 3 Windows: 17月8日 Linux: 2 Mac: 1 Windows: 07月7日 Linux: 2 Mac: 1 Windows: 17月6日 Linux: 1 Mac: 0 Windows: 37月5日 Linux: 1 Mac: 2 Windows: 17月4日 Linux: 6 Mac: 1 Windows: 57月3日 Linux: 1 Mac: 0 Windows: 17月2日 Linux: 3 Mac: 2 Windows: 17月1日 Linux: 0 Mac: 4 Windows: 06月30日 Linux: 0 Mac: 1 Windows: 26月29日 Linux: 3 Mac: 3 Windows: 36月28日 Linux: 2 Mac: 2 Windows: 36月27日 Linux: 1 Mac: 2 Windows: 36月26日 Linux: 4 Mac: 1 Windows: 16月25日 Linux: 0 Mac: 2 Windows: 26月24日 Linux: 5 Mac: 2 Windows: 26月23日 Linux: 4 Mac: 2 Windows: 46月22日 Linux: 4 Mac: 1 Windows: 58月6日 Linux: 2 Mac: 2 Windows: 38月5日 Linux: 2 Mac: 1 Windows: 18月4日 Linux: 3 Mac: 2 Windows: 18月3日 Linux: 2 Mac: 3 Windows: 28月2日 Linux: 2 Mac: 2 Windows: 18月1日 Linux: 0 Mac: 2 Windows: 47月31日 Linux: 2 Mac: 1 Windows: 17月30日 Linux: 1 Mac: 1 Windows: 67月29日 Linux: 2 Mac: 1 Windows: 17月28日 Linux: 2 Mac: 1 Windows: 37月27日 Linux: 1 Mac: 1 Windows: 07月26日 Linux: 0 Mac: 0 Windows: 47月25日 Linux: 1 Mac: 2 Windows: 17月24日 Linux: 1 Mac: 3 Windows: 47月23日 Linux: 3 Mac: 1 Windows: 27月22日 Linux: 4 Mac: 1 Windows: 37月21日 Linux: 3 Mac: 3 Windows: 57月20日 Linux: 3 Mac: 1 Windows: 37月19日 Linux: 1 Mac: 0 Windows: 17月18日 Linux: 1 Mac: 0 Windows: 47月17日 Linux: 3 Mac: 0 Windows: 57月16日 Linux: 4 Mac: 1 Windows: 27月15日 Linux: 3 Mac: 1 Windows: 27月14日 Linux: 5 Mac: 1 Windows: 17月13日 Linux: 1 Mac: 2 Windows: 57月12日 Linux: 1 Mac: 2 Windows: 57月11日 Linux: 2 Mac: 5 Windows: 37月10日 Linux: 1 Mac: 1 Windows: 37月9日 Linux: 5 Mac: 3 Windows: 17月8日 Linux: 2 Mac: 1 Windows: 07月7日 Linux: 2 Mac: 1 Windows: 17月6日 Linux: 1 Mac: 0 Windows: 37月5日 Linux: 1 Mac: 2 Windows: 17月4日 Linux: 6 Mac: 1 Windows: 57月3日 Linux: 1 Mac: 0 Windows: 17月2日 Linux: 3 Mac: 2 Windows: 17月1日 Linux: 0 Mac: 4 Windows: 06月30日 Linux: 0 Mac: 1 Windows: 26月29日 Linux: 3 Mac: 3 Windows: 36月28日 Linux: 2 Mac: 2 Windows: 36月27日 Linux: 1 Mac: 2 Windows: 36月26日 Linux: 4 Mac: 1 Windows: 16月25日 Linux: 0 Mac: 2 Windows: 26月24日 Linux: 5 Mac: 2 Windows: 26月23日 Linux: 4 Mac: 2 Windows: 46月22日 Linux: 4 Mac: 1 Windows: 58月6日 Linux: 2 Mac: 2 Windows: 38月5日 Linux: 2 Mac: 1 Windows: 18月4日 Linux: 3 Mac: 2 Windows: 18月3日 Linux: 2 Mac: 3 Windows: 28月2日 Linux: 2 Mac: 2 Windows: 18月1日 Linux: 0 Mac: 2 Windows: 47月31日 Linux: 2 Mac: 1 Windows: 17月30日 Linux: 1 Mac: 1 Windows: 67月29日 Linux: 2 Mac: 1 Windows: 17月28日 Linux: 2 Mac: 1 Windows: 37月27日 Linux: 1 Mac: 1 Windows: 07月26日 Linux: 0 Mac: 0 Windows: 47月25日 Linux: 1 Mac: 2 Windows: 17月24日 Linux: 1 Mac: 3 Windows: 47月23日 Linux: 3 Mac: 1 Windows: 27月22日 Linux: 4 Mac: 1 Windows: 37月21日 Linux: 3 Mac: 3 Windows: 57月20日 Linux: 3 Mac: 1 Windows: 37月19日 Linux: 1 Mac: 0 Windows: 17月18日 Linux: 1 Mac: 0 Windows: 47月17日 Linux: 3 Mac: 0 Windows: 57月16日 Linux: 4 Mac: 1 Windows: 27月15日 Linux: 3 Mac: 1 Windows: 27月14日 Linux: 5 Mac: 1 Windows: 17月13日 Linux: 1 Mac: 2 Windows: 57月12日 Linux: 1 Mac: 2 Windows: 57月11日 Linux: 2 Mac: 5 Windows: 37月10日 Linux: 1 Mac: 1 Windows: 37月9日 Linux: 5 Mac: 3 Windows: 17月8日 Linux: 2 Mac: 1 Windows: 07月7日 Linux: 2 Mac: 1 Windows: 17月6日 Linux: 1 Mac: 0 Windows: 37月5日 Linux: 1 Mac: 2 Windows: 17月4日 Linux: 6 Mac: 1 Windows: 57月3日 Linux: 1 Mac: 0 Windows: 17月2日 Linux: 3 Mac: 2 Windows: 17月1日 Linux: 0 Mac: 4 Windows: 06月30日 Linux: 0 Mac: 1 Windows: 26月29日 Linux: 3 Mac: 3 Windows: 36月28日 Linux: 2 Mac: 2 Windows: 36月27日 Linux: 1 Mac: 2 Windows: 36月26日 Linux: 4 Mac: 1 Windows: 16月25日 Linux: 0 Mac: 2 Windows: 26月24日 Linux: 5 Mac: 2 Windows: 26月23日 Linux: 4 Mac: 2 Windows: 46月22日 Linux: 4 Mac: 1 Windows: 5

读我

源码
raw.githubusercontent.com

Zig 编程语言

Zig 提供语法高亮。

此仓库既是 github/linguist(GitHub 站点全局语法高亮)的语法,也是独立的 Sublime Text 包。

真理之源是 Zig.YAML-tmLanguage。此文件由 linguist 直接读取,并用作从 Sublime 中的 PackageDev 编译到 Zig.tmLanguage 的源。请勿直接编辑 Zig.tmLanguage

安装

使用 Package control

或将 Zig.tmLanguage 添加到包目录。在 macOS 上通常是

~/Library/Application\ Support/Sublime\ Text\ 3/Packages/

但要找到您机器上的路径,请从 Sublime Text 中转到 首选项 > 浏览包

TextMate 安装

此语言也兼容 TextMate 的 .tmBundle 格式。要在 TextMate 中安装,克隆或下载此存储库。然后,将存储库目录重命名为 Zig.tmBundle 并双击它以将其安装到 TextMate。但是,请参阅 Zig.tmbundle 以获取专用的 TextMate 支持。

本地开发

安装 https://github.com/SublimeText/PackageDev

将存储库克隆或复制到您的本地 Sublime Text 文件夹中。例如。

git clone https://github.com/ziglang/sublime-zig-language.git "/Users/$USER/Library/Application Support/Sublime Text 3/Packages/Zig Language"

编辑 YAML 条目,并使用 转换 (YAML,JSON,PList) 到... 命令生成其他条目。Sublime Text 将自动重新加载插件,显示编译系统、语法高亮等更改。

在 Linux 上,这位于 ~/.config/sublime-text-3/ 之下。

构建系统

包含的 Sublime Text 构建系统提供了一些配置和定义您自己的构建目标选项。有关更多信息,请参阅 此处

许可协议

根据 MIT 许可协议提供