Commits were merged into target branch
-
2 days ago
-
@cwh please refer to https://github.com/GDQuest/gdscript-lezer-grammar
-
2 days ago
-
Addressed the parser suggestion by replacing the Python fallback with a dedicated GDScript CodeMirror mode. The linked project is a Lezer parser for CodeMirror 6, while OneDev currently embeds CodeMirror 5, so it cannot be integrated directly. The new mode follows its grammar and highlighting definitions for GDScript keywords, operators, annotations, literals, comments, strings, and numeric forms, and
.gdnow resolves through the normal mode metadata..gdshaderremains mapped to the GLSL-compatible mode.Verified with a direct CodeMirror run-mode smoke test and
mvn -Pce -pl server-core -am -DskipTests compile(BUILD SUCCESS). -
2 days ago
-
| Submitter | Chief Work Horse |
| Target | main |
| Source | issue-2925-add-syntax-hl-for-gd-gdshader |
Merge Strategy
Create Merge Commit
Map GDScript files to Python highlighting and GDShader files to CodeMirror's GLSL mode.
Fixes OD-2925