Edit of asset "Code Snippets" Accepted
Warning: Using Git tags or branches is no longer supported. Please give a full Git commit hash instead, or use the Custom download provider for GitHub Releases downloads.
If you think that this warning is incorrect, you can always open an issue.
If you think that this warning is incorrect, you can always open an issue.
Old/Current | New/Edit | |
---|---|---|
Title | Code Snippets | Code Snippets |
Description |
Use Control+T. Activating a snippet will insert it at the cursor position. - Add/edit snippets in Godot with the "Edit" button (or use your own text editor). - multiple tabstops (jumped to in numerically ascending order) - variables of the same tabstop (for example when [@2] is used multiple times in the snippet) will be mirrored - placeholders/dropdown choices (see .gif) ----------------------- See built-in help page and tooltips for more details. ----------------------- New: - added: rename, move-up and move-down buttons - added: detection for snippet file corruption... sorta. No action will be taken. It will only warn the user. - minor bugfixes/changes |
Adds code snippets to the script editor by pressing Control+Tab. Activating a snippet will insert it at the cursor position. - Add/edit snippets in Godot with the "Edit" button. - Define (multiple) "jump positions". I. e. the cursor can automatically jump to those positions when pressing the keyboard shortcut again. You can "mirror" variables. (see the built-in example). Additionally you can list all available signals of the current scene root. Activating a signal will insert the connection code at the cursor position and copy the signal method to the clipboard. See README.md for me details. Note: previously this was part of my "Command Palette" plugin. But it's now its own plugin with a dedicated keyboard shortcut for ease of use (altough the multiple jump markers are new). |
Category | Tools | Tools |
License | MIT | MIT |
Repository Provider | GitHub | GitHub |
Repository Url | https://github.com/Leleat/Godot-CodeSnippets | https://github.com/Leleat/AGodotCodeSnippetPlugin |
Issues Url | https://github.com/Leleat/Godot-CodeSnippets/issues | https://github.com/Leleat/AGodotCodeSnippetPlugin/issues |
Godot version | Godot 3.2 | Godot 3.2 |
Version String | 1.2.1 | 1.0.2 |
Download Commit | 718150ae513f0e262bb7190e744dec2b448c3915 | 1.0.2 |
Download Url (Computed) | https://github.com/Leleat/Godot-CodeSnippets/archive/718150ae513f0e262bb7190e744dec2b448c3915.zip | https://github.com/Leleat/AGodotCodeSnippetPlugin/archive/1.0.2.zip |
Icon Url |
https://raw.githubusercontent.com/Leleat/AGodotCodeSnippetPlugin/master/icon.png
|
https://raw.githubusercontent.com/Leleat/AGodotCodeSnippetPlugin/master/icon.png
|
Preview Insert | ||
---|---|---|
Type | image | |
Image/Video URL |
https://raw.githubusercontent.com/Leleat/AGodotCodeSnippetPlugin/master/preview.png
|
|
Thumbnail |
|