Allow existing syntax highlighting definitions to be used for other file extensions
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 30/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 领域
- desktop-dev
调研方向
从 issue 中描述的语言下拉菜单和现有语法高亮集成入手。跟踪受支持的语言和文件扩展名是如何选择的,然后确定自定义的扩展名到语言映射可以存储和应用在哪里;当提议的 + 对话框接受扩展名和语言,并随后将该高亮应用于匹配的文件时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Problem
There are a number of requests for syntax highlighting of file formats not currently supported by Gtk.SourceView.
Such requests should properly be made upstream so all users can benefit. However, there is no guarantee that support will ensue in the near future.
As a fallback it may help some users to be able to set Code to use a sufficiently close syntax highlighting definition for a different file format (file extension).
Proposal
In the language dropdown have a button "+" that brings up a dialog to enter a file extension and a picklist of supported languages. Code would then henceforth apply the desired highlighting to that type of file.
Prior Art (Optional)
No response
- 主要语言
- Vala
- 星标
- 521
- 派生
- 119
- 平均合并
- 1 天 7 小时
- 30 天内合并 PR
- 13
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
elementary/code 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 65/100
elementary/code#1818 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 35/100
elementary/code#1813 · 2 条评论 ·
-
Needs Design Priority: Wishlist
难度 3/5 1-2 天 新手友好度 68/100
elementary/code#1786 · 3 条评论 ·
-
Needs Design Priority: Wishlist
难度 5/5 一周以上 新手友好度 45/100
elementary/code#1783 ·
-
Priority: Wishlist
难度 4/5 3-5 天 新手友好度 38/100
elementary/code#1762 · 3 条评论 ·
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
-
bug channel: beta feature: preferences feature: ui/ux
难度 2/5 1-3 小时 新手友好度 75/100
-
bug editor script-component smart items
难度 2/5 1-3 小时 新手友好度 65/100
decentraland/creator-hub#1654 ·
-
awaiting triage bug Causes friction Hop Gui P1 P2 Transforms
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 75/100