elementary / elementary/code

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

Abierto
#1,601 2 comentarios 1 reacción 0 asignados Ver en GitHub
Needs Design Priority: Wishlist
Lenguaje dominante
Vala
Estrellas
521
Forks
118
Merge medio
1 d 8 h
PR fusionados (30 d)
14

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.