297 Commits

Author SHA1 Message Date
Nathan Lovato
d55471dd02 Update changelog, simplify README 2020-05-29 14:04:56 -06:00
Nathan Lovato
8e61cf6faf Merge pull request #60 from VlachJosef/master
Hydra implementation
2020-05-29 07:50:55 -06:00
Josef Vlach
3ad2680edf Hydra implementation 2020-05-29 13:08:51 +01:00
Nathan Lovato
8d8b710ca9 Merge pull request #61 from VlachJosef/no-godot-on-path
Signal an error if godot executable can't be found
2020-05-28 15:13:27 -06:00
Josef Vlach
f94b8d209c Signal an error if godot executable can't be found 2020-05-28 21:52:49 +01:00
Nathan Lovato
36c92dff15 Add shortcuts to the README v1.2.0 2020-05-28 10:42:02 -06:00
Nathan Lovato
87ba0803e0 Update keyboard shortcuts to use mnemonic keys
Closes #58
2020-05-28 10:39:31 -06:00
Nathan Lovato
3e46706855 Make symbols pseudo-private, update README and CHANGELOG 2020-05-28 10:06:11 -06:00
Nathan Lovato
ef3f0c529f Merge pull request #57 from VlachJosef/debug-collisions
Add options to debug collisions with gdscript-godot-run-project-debug
2020-05-28 09:59:31 -06:00
Josef Vlach
194552fcb8 Option to debug collisions with gdscript-godot-run-project-debug 2020-05-27 21:12:00 +01:00
Nathan Lovato
a52e91c3a6 Make docs functions pseudo-private, update docstrings 2020-05-27 13:48:04 -06:00
Nathan Lovato
e4981f7656 Rename gdscript-documentation to gdscript-docs, update README 2020-05-27 11:06:33 -06:00
Nathan Lovato
fea2afb96d Merge pull request #56 from VlachJosef/master
Godot API browsing using eww
2020-05-27 10:58:34 -06:00
Josef Vlach
b45fa69944 eww-after-render-hook is now used directly 2020-05-27 17:49:42 +01:00
Josef Vlach
db2f50f9bf Display only main section when browsing Godot API documentation 2020-05-27 17:41:53 +01:00
Josef Vlach
59753af564 Godot API browsing using eww 2020-05-25 09:39:20 +01:00
Nathan Lovato
46c17d352f Merge pull request #55 from VlachJosef/master
Fix deindentation for elif and else keywords
2020-05-24 08:55:14 -06:00
Josef Vlach
f89d087f3a elif / else deindentation fix
This is changing `(gdscript-rx block-start)` so that elif / else
deindentation is working properly.

This is not handling `match` patterns as a blocks, so no deindentation
will work in case of nested match patterns on match branches.

To support that much bigger rewrite would be needed.
2020-05-24 14:13:13 +01:00
Nathan Lovato
b6e1f9a512 Merge pull request #54 from hristoast/gdformat-error-handling
Only replace the formatted buffer if the gdformat exits with a 0
2020-05-19 14:25:24 -06:00
Hristos N. Triantafillou
a0027df0a1 Only replace the formatted buffer if the gdformat exits with a 0 2020-05-19 13:24:37 -05:00
Nathan Lovato
6a1a894a14 Merge pull request #53 from hristoast/preserve-window-pos
format-buffer: preserve point instead of jumping to the top of the file
2020-05-16 16:01:12 -06:00
Hristos N. Triantafillou
4ddfc8edce Preserve the window pos rather than jumping to the top of the file
This inspired by how blacken.el does it:

3bdb26788e/blacken.el (L140)
2020-05-16 16:41:38 -05:00
Nathan Lovato
0718ca9b09 Merge pull request #50 from tavurth/master
Add missing built-in functions for Godot3.2
2020-04-27 09:14:26 -06:00
Will Whitty
c74e2cd77b Added missing built-in functions 2020-04-27 19:59:22 +05:45
Nathan Lovato
584d61b6aa Merge pull request #49 from tavurth/master
Add missing keywords (puppet, remotesync)
2020-04-27 06:10:41 -06:00
Will Whitty
028df8c749 Add missing keywords (remotesync puppet) 2020-04-27 12:39:29 +05:45
Nathan Lovato
9a74dd3b6c Merge pull request #46 from francogarcia/function_highlighting
Add syntax highlighting for function calls
2020-04-03 19:12:26 -06:00
Franco Eusébio Garcia
6a3e4070bb Add syntax highlighting for function calls
Closes #30.

Pattern: identifier optional_spaces open_parenthesis

The implementation uses `"("` instead `(syntax open-parenthesis)` as
`open-parenthesis` is defined from `(open-paren (or "{" "[" "("))`. As a result,
the regular expression would also highlight array and dictionary variables.

The regular expression does highlight signal definitions with parameters,
though, as they follow the same pattern of function calls. This could be avoided
by ignoring expressions started with "signal" (or by adding a custom rule to
highlight signal definitions).
2020-04-03 15:22:52 -03:00
Nathan Lovato
753f4e6be6 Update CHANGELOG 2020-04-02 18:53:07 -06:00
Nathan Lovato
94645632c5 Merge pull request #45 from francogarcia/format-region
Format buffer and region.
2020-04-02 18:49:30 -06:00
Franco Eusébio Garcia
b4d2bec304 Format buffer and region.
Closes #38.

The implementation was simplified. Moreover, it is now possible to customize the
path to the `gdformat` executable.
2020-04-02 20:12:54 -03:00
Nathan Lovato
7b45e32e8d Update the CHANGELOG 2020-03-31 21:37:20 -06:00
Nathan Lovato
2752ab4ad3 Require projectile without throwing errors to fix linter warnings 2020-03-31 21:35:29 -06:00
Nathan Lovato
9f64525155 Merge pull request #44 from francogarcia/insert_file_path_at_point
Added a command to insert a file path at point using Projectile
2020-03-31 21:34:13 -06:00
Franco Eusébio Garcia
dc2100f9f4 Fallback to built-in read-file-name when Projectile is not available 2020-03-31 13:32:24 -03:00
Franco Eusébio Garcia
68c425b57f Added a command to insert a file path at point using Projectile.
Closes #36.
2020-03-30 21:36:48 -03:00
Nathan Lovato
2e0468b4b9 Rename gdscript-run-command to make it private 2020-03-30 10:52:57 -06:00
Nathan Lovato
bdf31f54d5 Merge pull request #43 from francogarcia/run_in_godot_fixes
Address omissions from fa26dd5 refactor
2020-03-30 10:51:26 -06:00
Franco Eusébio Garcia
e30e890d62 Address omissions from fa26dd5 refactor. 2020-03-30 13:36:30 -03:00
Nathan Lovato
86577f81dc Update the changelog for the 1.1.0 release v1.1.0 2020-03-30 08:38:09 -06:00
Nathan Lovato
7e6eef308e Explain how to use godot commands in the README 2020-03-30 08:32:05 -06:00
Nathan Lovato
fa26dd5676 Refactor commands to open files in Godot
Closes #11
2020-03-30 08:15:28 -06:00
Franco Eusébio Garcia
beac587761 Add commands to open and run files in Godot
Closes #11 and #13.
2020-03-30 08:15:28 -06:00
Nathan Lovato
56a864ecff Merge pull request #41 from francogarcia/indent_variables
Fix the names of variables that control indentation.
2020-03-29 11:58:06 -06:00
Franco Eusébio Garcia
2e6e1aad90 Fix the names of variables that control indentation.
These are the correct names of the variables defined at
`gdscript-customization.el`.
2020-03-29 10:24:41 -03:00
Nathan Lovato
427b6761eb Fix ppss argument not being a list
Should close #34 but needs testing
2020-03-28 12:20:02 -06:00
Nathan Lovato
994fb62206 Fix error concatenating lists of keywords
Fix #39
2020-03-28 11:56:27 -06:00
Nathan Lovato
13a84a0193 Use cl-lib and cl-concatenate instead of seq-concatenate 2020-03-28 11:03:16 -06:00
Nathan Lovato
246cad5890 Add manual install instructions to README, apply auto-formatting 2020-03-28 10:53:29 -06:00
Nathan Lovato
a36a3e775b Update install instructions to install from MELPA 2020-03-27 21:22:10 -06:00