Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#1,601 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
30/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
領域
desktop-dev

調査の方向性

Issue に記載されている言語ドロップダウンと既存の構文ハイライト統合から始めます。サポートされている言語とファイル拡張子がどのように選択されるかを追跡し、次にカスタムの拡張子から言語へのマッピングをどこに保存して適用できるかを特定します。提案された + ダイアログが拡張子と言語を受け付け、その後そのハイライトを一致するファイルに適用できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Needs Design Priority: Wishlist
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

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

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

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

elementary/code のほかの issue

elementary/code の issue をすべて見る

似ている issue

Desktop Dev の issue をもっと見る

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

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