mirror of
https://github.com/godotengine/emacs-gdscript-mode.git
synced 2026-01-04 18:09:55 +03:00
Godot API browsing using eww
This commit is contained in:
13
README.md
13
README.md
@@ -148,6 +148,19 @@ command in your shell to install it:
|
||||
pip3 install gdtoolkit
|
||||
```
|
||||
|
||||
### Browsing Godot API with [eww](https://www.gnu.org/software/emacs/manual/html_node/emacs/EWW.html)
|
||||
|
||||
With a point on build-in class you can press `C-c C-r C-o` to open [eww](https://www.gnu.org/software/emacs/manual/html_node/emacs/EWW.html) browser with an api documentation for that class.
|
||||
|
||||
Using `C-c C-r C-a` opens main Godot API page in eww.
|
||||
|
||||
For convenience add `gdscript-documentation-rename-eww-buffer` to `eww-after-render-hook`. This will rename eww buffer(s) visiting Godot documentation from generic name to one which contains page title.
|
||||
|
||||
```
|
||||
(use-package gdscript-mode
|
||||
:hook ((eww-after-render . gdscript-documentation-rename-eww-buffer)))
|
||||
```
|
||||
|
||||
## Customization
|
||||
|
||||
To find all GDScript-mode settings, press `M-x customize` and search for "gdscript".
|
||||
|
||||
Reference in New Issue
Block a user