itch.io is community of indie game creators and players

Devlogs

GDScript Refactoring 1.0.9

GDScript Refactoring — v1.0.9

Improvements

  • Property-access references. Find all references now handles property accesses like velocity.y: it returns only the self-accesses within the class and its related classes, filters out unrelated .y members on other objects, and reports the number of external obj.velocity.y accesses that can't be resolved by type.
  • Full access path from any segment. Placing the caret on any part of a chained access (e.g. velocity in velocity.length) now searches the whole path, not just the segment under the caret.
  • Native members protected from rename. Native properties are no longer renameable:
    • inherited node properties (velocity, position, rotation, scale, transform, …) are blocked everywhere, even when used alone;
    • value components (x, y, z, length, …) are blocked when used as a property access, while a standalone user variable of the same name stays renameable.
  • References still available on native members. Even though native members can't be renamed, Find all references remains available on them, searching the self-accesses of that property on the current object.

Fixes

  • Fixed a parse error that prevented the plugin from loading (an untyped local variable in the shortcut handler).

Files

  • gdscript-refactoring-plugin-1.0.9.zip 49 kB
    3 days ago
Download GDScript refactoring plugin - 1.0.9
Leave a comment