elementary / elementary/code

Allow existing syntax highlighting definitions to be used for other file extensions

オープン
#1,601 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る
Needs Design Priority: Wishlist
主要言語
Vala
スター
521
フォーク
118
平均マージ
1日 8時間
マージ済み PR(30日)
14

説明

### 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_

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。