From fb7d3e6061be148b98e985acabb5a64a63edf994 Mon Sep 17 00:00:00 2001 From: przeq piciel Date: Sat, 14 Sep 2024 17:34:32 +0000 Subject: [PATCH] added dictionary --- .../TextEditor/LanguageSelector/languages.tsx | 73 +++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 app/components/TextEditor/LanguageSelector/languages.tsx diff --git a/app/components/TextEditor/LanguageSelector/languages.tsx b/app/components/TextEditor/LanguageSelector/languages.tsx new file mode 100644 index 0000000..14ea3f9 --- /dev/null +++ b/app/components/TextEditor/LanguageSelector/languages.tsx @@ -0,0 +1,73 @@ +// interface of supported languages what are available at https://github.com/microsoft/monaco-editor/tree/main/src/basic-languages +export const languages = { + abap: "ABAP", + apex: "Apex", + azcli: "Azure CLI", + bat: "Batch", + cameligo: "Cameligo", + clojure: "Clojure", + coffee: "CoffeeScript", + cpp: "C++", + csharp: "C#", + csp: "CSP", + css: "CSS", + dart: "Dart", + dockerfile: "Dockerfile", + ebnf: "EBNF", + fsharp: "F#", + go: "Go", + graphql: "GraphQL", + handlebars: "Handlebars", + hcl: "HCL", + html: "HTML", + ini: "INI", + java: "Java", + javascript: "JavaScript", + json: "JSON", + julia: "Julia", + kotlin: "Kotlin", + less: "Less", + lexon: "Lexon", + lua: "Lua", + markdown: "Markdown", + mips: "MIPS", + msdax: "MSDAX", + mysql: "MySQL", + objectivec: "Objective-C", + pascal: "Pascal", + pascaligo: "Pascaligo", + perl: "Perl", + pgsql: "PL/pgSQL", + php: "PHP", + plaintext: "Plain Text", + postiats: "Postiats", + powerquery: "Power Query", + powershell: "PowerShell", + pug: "Pug", + python: "Python", + r: "R", + razor: "Razor", + redis: "Redis", + redshift: "Redshift", + restructuredtext: "reStructuredText", + ruby: "Ruby", + rust: "Rust", + sb: "SB", + scala: "Scala", + scheme: "Scheme", + scss: "SCSS", + shell: "Shell", + solidity: "Solidity", + sql: "SQL", + st: "ST", + swift: "Swift", + systemverilog: "SystemVerilog", + tcl: "Tcl", + twig: "Twig", + typescript: "TypeScript", + vb: "VB", + vba: "VBA", + verilog: "Verilog", + xml: "XML", + yaml: "YAML", +};