Allow existing syntax highlighting definitions to be used for other file extensions
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 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時間
- マージ済み PR(30日)
- 13
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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 1週間以上 初心者へのやさしさ 45/100
elementary/code#1783 ·
-
Priority: Wishlist
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
elementary/code#1762 · コメント 3 件 ·
elementary/code の issue をすべて見る
似ている issue
-
awaiting triage bug Causes friction Hop Gui P1 P2 Transforms
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
objective-see/LuLu#925 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
farion1231/cc-switch#7638 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
PolyMeilex/rfd#334 ·