doomemacs/modules/lang/gdscript/README.org

79 lines
2.4 KiB
Org Mode
Raw Normal View History

#+title: :lang gdscript
#+subtitle: the language you waited for
#+created: June 01, 2020
#+since: 21.12.0 (#3239)
* Description :unfold:
2020-06-06 18:16:25 -04:00
This module adds support for GDScript, the scripting language of the [[http://godotengine.org/][Godot]] game
engine, to Doom Emacs, powered by [[https://github.com/GDQuest/emacs-gdscript-mode][gdscript-mode]].
2020-05-27 15:16:16 -06:00
** Maintainers
*This module needs a maintainer.* [[doom-contrib-maintainer:][Become a maintainer?]]
** Module flags
- +lsp ::
2022-09-26 02:19:42 +08:00
Enable LSP support for ~gdscript-mode~. Requires [[doom-module::tools lsp]] and a langserver
(Godot ~3.2.1~ or newer).
** Packages
2022-09-26 02:19:42 +08:00
- [[doom-package:gdscript-mode]]
2020-05-27 15:16:16 -06:00
** Hacks
/No hacks documented for this module./
2020-05-27 15:16:16 -06:00
** TODO Changelog
# This section will be machine generated. Don't edit it by hand.
/This module does not have a changelog yet./
2020-05-27 15:16:16 -06:00
* Installation
[[id:01cffea4-3329-45e2-a892-95a384ab2338][Enable this module in your ~doom!~ block.]]
This module requires Godot 3.2.1+ to be installed to make use of any of its
features (beyond syntax highlighting).
To format your GDScript code, you will need [[https://github.com/Scony/godot-gdscript-toolkit/][gdtoolkit]]:
#+begin_src sh
2020-05-27 15:16:16 -06:00
# On Windows
pip install gdtoolkit
# On MacOS and Linux
pip3 install gdtoolkit
#+end_src
* TODO Usage
#+begin_quote
󱌣 /This module's usage documentation is incomplete./ [[doom-contrib-module:][Complete it?]]
#+end_quote
2020-05-27 15:16:16 -06:00
** LSP support
2020-06-06 18:16:25 -04:00
The language server support for GDScript is built into by lsp-mode. As long as
2022-09-26 02:19:42 +08:00
you have [[doom-module:+lsp]] and [[doom-module::tools lsp]] enabled, and Godot 3.2.1+ installed, it should work
out of the box.
2020-05-27 15:16:16 -06:00
2020-06-06 18:16:25 -04:00
Godot's language server is built into the game engine, so you need to open your
project in Godot ~3.2.1~ or above for the GDScript language server to be
available.
2020-05-27 15:16:16 -06:00
** Commands
Press the localleader key ([[kbd:][SPC m]] for evil users, [[kbd:][C-c l]] otherwise) to explore
available commands.
2020-05-27 15:16:16 -06:00
* TODO Configuration
#+begin_quote
󱌣 This module has no configuration documentation yet. [[doom-contrib-module:][Write some?]]
#+end_quote
2020-05-27 15:16:16 -06:00
* Troubleshooting
[[doom-report:][Report an issue?]]
- The GDScript language server has known issues causing some errors with
2022-09-26 02:19:42 +08:00
[[doom-package:lsp-mode]]. They should be addressed in future releases.
* Frequently asked questions
/This module has no FAQs yet./ [[doom-suggest-faq:][Ask one?]]
* TODO Appendix
#+begin_quote
󱌣 This module has no appendix yet. [[doom-contrib-module:][Write one?]]
#+end_quote