[Github-comments] [geany/geany] Add GDScript file type (PR #3012)
David Yang
notifications at xxxxx
Sat Nov 20 15:23:17 UTC 2021
Godot has been doing a tour de force lately as an open source alternative to Unity. Add support for the growing [Godot](https://github.com/godotengine/godot) engine's GDScript.
Heavily borrowed from python due to GDScript's syntax being heavily borrowed from python. To note, the language is undergoing some breaking changes that will take effect when godot 4 releases, this already should account for syntactical changes and I've already classified some number of currently-keywords as builtins even though godot 4 isn't released yet.
A little test file that I used to make sure I didn't completely break it while making the changes for the things that are different between python and gdscript:
![image](https://user-images.githubusercontent.com/872968/142731745-28f24327-78ec-422e-8e79-08779ab3b135.png)
And the prerequisite upstream pull requests:
https://github.com/ScintillaOrg/lexilla/pull/41
https://github.com/universal-ctags/ctags/pull/3194
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3012
-- Commit Summary --
* Add GDScript file type
-- File Changes --
M ctags/Makefile.am (1)
A ctags/parsers/geany_gdscript.c (784)
M data/Makefile.am (1)
A data/filedefs/filetypes.gdscript (73)
M data/filetype_extensions.conf (1)
M scintilla/Makefile.am (1)
M scintilla/lexilla/include/LexicalStyles.iface (2)
M scintilla/lexilla/include/SciLexer.h (1)
A scintilla/lexilla/lexers/LexGDScript.cxx (699)
M scintilla/lexilla/src/Lexilla.cxx (3)
M scintilla/scintilla_changes.patch (1)
M src/filetypes.c (1)
M src/filetypes.h (1)
M src/highlighting.c (10)
M src/highlightingmappings.h (29)
M src/symbols.c (1)
M src/tagmanager/tm_parser.c (11)
M src/tagmanager/tm_parser.h (1)
M src/tagmanager/tm_parsers.h (3)
-- Patch Links --
https://github.com/geany/geany/pull/3012.patch
https://github.com/geany/geany/pull/3012.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3012
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20211120/bc4c455c/attachment-0001.htm>
More information about the Github-comments
mailing list