GDScript Quality of Life - Plugin
A downloadable plugin
Just to be crystal clear about it:
This plugin has MIT license, this means it is basically as free as it can get. You can use it, modify, distribute, do whatever you want with it paying nothing for it.
But, if you enjoyed the plugin and want to buy me a piece of cake for the efforts for bringing it to life, you can donate to me through this page and I will be very gratefull.
You can also download it from the Github page, and soon from godot's asset store.
-----------------------------------------
GDScript Quality of Life (or GDSQoL) brings to you more quality of life and speed while programming in Godot.
For now, only Godot 4.2+!
Here is a list of features from this plugin:
Type var_name = value
tovar var_name: Type = value
var_number++
tovar_number += 1
(also works with --)var_number++ 2
tovar_number += 2
(also works with -- and any float)var_bool!
tovar_bool = !var_bool
class?
toif class:
class?method()
toif class: class.method()
method() cd
tomethod.call_deferred()
my_var = value sd
toset_deferred("my_var", value)
await 1
toawait get_tree().create_timer(1).timeout
(any float is valid)- Declare multiple variables in the same line
- Auto correct indentation from pasted blocks to match the line above
- Auto replace set keywords to any line set by you at
Editor -> Editor Settings -> GDScript QoL -> Change To
- Auto remove one indentation after
return
,break
andcontinue
- On delete line, auto remove remaining indentation from middle of the line
- Auto add
:
at the end ofif
statements if they are not closed - Auto find
if
above to match indentation when writeelse
orelif
- Auto complete
match
with enum list if any - Auto complete methods if write
func method_name
- Optionally you can write the method return type and/or parameters, like
func name(param) Type
- Auto create method from selection when shortcut is pressed (default is
Ctrl + M
) - Update the line when
Enter
or the shortcut is pressed (default shortcut isCtrl + U
)
You may change or disable some of these settings at Editor -> Editor Settings -> GDScript QoL
For a full tutorial, please visit the github page.
If you like it, and wish to buy me a piece of cake (I don't drink coffee), it would be greatly appreciated, thank you!
Here's some examples:
Status | Released |
Category | Tool |
Author | Herbherth |
Made with | Godot |
Tags | Godot |
Code license | MIT License |
Links | Source code |
Purchase
In order to download this plugin you must purchase it at or above the minimum price of $1 USD. You will get access to the following files:
Comments
Log in with itch.io to leave a comment.
Wow this looks super cool!
Thank you, I hope you enjoy :D
I've just updated to version 1.0.2 to solve some minor bugs