Maran23 / script-ide

Script-IDE is a plugin for Godot. It transforms the Script UI into an IDE like UI. Tabs are used for navigating between scripts. The default Outline got an overhaul and now shows all members of the script (not just methods) with unique icons for faster navigation.
MIT License
365 stars 16 forks source link

Display in original order #61

Open Pastque opened 2 weeks ago

Pastque commented 2 weeks ago

Is it possible to add a list that is sorted in its original order, alternating from time to time in the script "const class const class ", for example,

const EVENT_CARD_END: StringName = "Event_Card_End_Class"
class Event_Card_End_Class extends ecs_event:
    func _init(c_battle, card):
        _data = {
            "c_battle": c_battle,
            "card": card,
        }

const EVENT_UNIT_DEATH: StringName = "Event_Unit_Death_Class"
class Event_Unit_Death_Class extends ecs_event:
    func _init(c_battle, unit):
        _data = {
            "c_battle": c_battle,
            "unit": unit,
        }

Thank you the plugin is really great. It would be much clearer if we could choose to display the list in its original order.