Packages
3,023
Stars
—
Forks
0
Watchers
—
Open Issues
待补全
许可证
Shell
语言
—
创建时间
最近更新
项目能做什么
Sublime Text 和 Sublime Merge 内置的语法高亮配置文件包。
来源:AI 基于仓库事实生成
· 内容以仓库实际 README 为准
使用说明 查看原始 README 原仓库文档
中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
# Sublime Packages ## Requirements These packages are developed against the latest build of Sublime Text in the [`dev` channel](https://www.sublimetext.com/dev). The latest release of Packages shipped with Sublime Text should be tagged via git in this repository. You can find a list at <https://github.com/sublimehq/Packages/tags>. Bugs may exist on older builds and the format used is **not compatible** with builds older than Build 4095. ## Installation To make changes to these packages and test them locally, fork this repository. Then symlink the changed packages into your [`Packages`][packages] folder. (Replace `Python` in the following commands with the name of the syntax to install.) ### OS X ```bash $ git clone https://github.com/sublimehq/Packages.git $ ln -s `pwd`/Packages/Python ~/Library/Application\ Support/Sublime\ Text/Packages/ ``` ### Linux ```bash $ git clone https://github.com/sublimehq/Packages.git $ ln -s `pwd`/Packages/Python ~/.config/sublime-text/Packages/ ``` ### Windows On Windows, you can use directory junctions instead of symlinks (symlinks require administrative rights; directory junctions don't): ```powershell # Using PowerShell PS> git clone https://github.com/sublimehq/Packages.git PS> cmd /c mklink /J "$env:APPDATA/Sublime Text/Packages/Python" (convert-path ./Packages/Python) ``` Alternatively, download the portable version and clone this repository directly as a subdirectory of the `Data` folder. ### ⚠️ Things to keep in mind After you've finished, keep in mind that you're now overriding a default package. - If other people make upstream changes to an overridden package, yours will be out-of-date when Sublime Text updates to a new version. To get the latest version, pull the changes from this repository. - If you delete/rename files, but they still exist in the package version that was shipped with the build of Sublime Text you are using, those original files will still be picked up by Sublime, unless you replace the entire shipped package with an installed package of the same name. For example, if your build of Sublime has a `syntax_test_sql.sql` file inside the root of `<ST Installation Dir>/Packages/SQL.sublime-package`, then you symlink the SQL folder from this repository to `<ST User Data Dir>/Packages/SQL`, move that file to a `tests` subfolder, and then run all syntax tests, the old syntax test file will still get picked up in addition to the new one. To prevent this, you can create an empty zip file in your `<ST User Data Dir>/Installed Packages` directory like `SQL.sublime-package` and that will cause ST to load this one in place of the shipped one. In the end, you are just overriding an empty package instead of merging new files into an existing package. A quick way to create such an empty zip file is via: ```bash $ printf "PK\x05\x06\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" > empty.zip # or $ touch d阅读完整原文
项目深度分析 AI 生成
跨编辑器语法转换与验证工具(SaaS/CLI)
| 产品构想 | 基于 Sublime Syntax 标准,构建将 .sublime-syntax 转换为 TextMate (VS Code)、Tree-sitter 或 PrismJS 等多平台通用格式的转换与自动化测试平台。 |
| 核心功能 | 语法解析器转换引擎、自动化语法回归测试套件、语法高亮在线预览器。 |
| 目标用户 | 维护多端 IDE/代码编辑器语法插件的语言设计者、开源维护团队(推测)。 |
| 难度/周期 | 高 · 3-6个月 · 成本:服务器成本、多引擎兼容适配开发成本(极低硬件成本)。 |
| 收费模式 | 免费开源基础 CLI,云端测试及多格式同步托管采用订阅制/Freemium。 |
| 竞争风险 | Sublime Syntax 基于自定义 YAML/正则状态机,Tree-sitter 采用更复杂的 AST 解析,两者转换存在技术天花板与边界歧义。 |
| 依据 | AI推测 |
企业私有 DSL 语法高亮与开发体验定制服务
| 产品构想 | 为企业内部专属配置语言、自研 DSL 提供符合 Sublime Text、VS Code 标准的语法定义文件编写与维护咨询服务。 |
| 核心功能 | 定制化 .sublime-syntax 开发、自动化测试用例构建、代码片段与补全规则配套编写。 |
| 目标用户 | 自研内部配置系统的大型企业、金融与自动化测试领域的技术团队(推测)。 |
| 难度/周期 | 中等 · 按项目交付,单次1-3周 · 成本:人力工时成本。 |
| 收费模式 | 项目制咨询与交付服务费。 |
| 竞争风险 | Sublime Text 用户基数受 VS Code / JetBrains 挤压,单纯针对 Sublime 的定制需求规模较小。 |
| 依据 | 尚需验证的假设 |
基于精细语法的静态代码渲染与导出 API
| 产品构想 | 利用 Sublime Syntax 高性能、极精细的词法 Scope 定义(如 scope_naming 规范),提供服务端极速生成矢量 SVG、代码高亮图片或富文本的 API 服务。 |
| 核心功能 | 基于 Sublime 语法引擎的服务端渲染 API、精美主题定制、高分辨率矢量导出。 |
| 目标用户 | 技术博客平台、文档工具开发者、技术书籍出版商(推测)。 |
| 难度/周期 | 中等 · 1-2个月 · 成本:轻量云服务器与带宽费用。 |
| 收费模式 | 按 API 调用量计费,或按月订阅。 |
| 竞争风险 | 市场上有成熟开源方案(如 Shiki、Prism、Chroma),替代品多且主流方案生态更完善。 |
| 依据 | AI推测 |
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心
竞品与相似项目 GitHub Search 真实检索
相似项目数据正在完善中,暂不展示(避免误导)
项目优势与风险
| 技术成熟度 | 创建时间待补全,最近推送 |
| 社区活跃 | Star 3,023 / Fork 0 / Issue 0(数据支持,可自行核实) |
| 许可证 | 未检测到(需人工确认) |
| 主要风险 | 上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价 |
安装与使用
此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。