.cr Codice sorgente Crystal
Testo e codice sorgente
| Tipo MIME | text/x-crystal |
|---|---|
| Descrizione | Codice sorgente Crystal |
| Categoria | Testo e codice sorgente |
| Basato su | text/plain |
Domande frequenti
Che cos’è un file .cr?
Un file .cr è un formato di tipo «Codice sorgente Crystal» (tipo MIME text/x-crystal).
Come apro un file .cr?
Con qualsiasi editor di testo: Notepad++, Visual Studio Code, oppure gedit e vim su Linux. Il file contiene testo leggibile, eventualmente codice sorgente o configurazione.
Come si riconosce un vero file .cr?
Per questo formato non è registrata una firma fissa all’inizio del file; viene riconosciuto soprattutto dall’estensione. Su Linux e macOS, file --mime-type example.cr mostra il tipo presunto.
Su quale formato si basa .cr?
Tecnicamente un file .cr è un sottotipo di «Documento in testo semplice» (text/plain), quindi i programmi per quel formato di base spesso riescono a leggerlo.
Quale tipo MIME corrisponde a .cr?
Il tipo MIME è text/x-crystal. Nel server web Apache: AddType text/x-crystal .cr; in nginx: types { text/x-crystal cr; }.