script-ide icon indicating copy to clipboard operation
script-ide copied to clipboard

[Feature Request] Group members by code regions.

Open GersonFeDutra opened this issue 1 year ago • 1 comments

My initial idea is to allow for members to be grouped in a tree-like fashion using the gdscript code-region comments as reference:

var idk  # not under region


#region This is a code region
var foo


func bar():
  pass
#endregion


var idk_rlly  # not under region

May be extended to something else, like custom filters for the tree.

GersonFeDutra avatar Jan 26 '25 10:01 GersonFeDutra

This is not possible right now, as I don't know where the regions are, e.g. Godot does not tell me that information, I only can parse it myself, which is a lot more work.

Also, a big refactoring is needed since the ItemList need to be changed to a Tree. So for now, this is not planned. You can already hide private members (starting with a _), which already helps to reduce clutter if needed.

Maran23 avatar Jan 29 '25 13:01 Maran23

I'm closing this as I think this is not possible without manually parsing the source code. I also don't think that this is implemented in any other major IDE, so I don't know how much value this will give us.

Maran23 avatar Nov 19 '25 09:11 Maran23