Rename the language from Dino to Rex

Files use .rex, the command is rex, and the crate, runtime prefixes,
docs, editor files and examples all use the new name.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Your NameandClaude Opus 5.5 committed 2026-11-08 13:51:23 +01:00
1 parent 2f44f09b6a
commit 7cf9727bcd
94 files changed
+858 -858

No files matched your search

+6 -6
View File
@@ -1,20 +1,20 @@
// Starts `dino lsp` and connects the editor to it. All the work is done by the compiler.
// Starts `rex lsp` and connects the editor to it. All the work is done by the compiler.
const vscode = require('vscode');
const { LanguageClient } = require('vscode-languageclient/node');
let client;
function activate() {
const command = vscode.workspace.getConfiguration('dino').get('serverPath') || 'dino';
const command = vscode.workspace.getConfiguration('rex').get('serverPath') || 'rex';
client = new LanguageClient(
'dino',
'Dino Language Server',
'rex',
'Rex Language Server',
{ command, args: ['lsp'] },
{ documentSelector: [{ scheme: 'file', language: 'dino' }] }
{ documentSelector: [{ scheme: 'file', language: 'rex' }] }
);
client.start().catch((err) => {
vscode.window.showErrorMessage(
`Could not start "${command} lsp": ${err.message}. Put the dino program on your PATH or set "dino.serverPath".`
`Could not start "${command} lsp": ${err.message}. Put the rex program on your PATH or set "rex.serverPath".`
);
});
}