I need a list with all the properties like max_value of VScrollBar, but the doc page (https://docs.godotengine.org/en/4.1/classes/class_vscrollbar.html#properties) do not include max_value and probably omit others, too.
So where is the documentation / list of really all the properties?!

This comes from situations where I see a property being used in a tutorial but need to compare against a list to find...

  • that a property is NOT in the list, like "scroll_vertical", which is instead a property of ScrollContainer. I want to do a Ctrl-F search or a grep or similar automated fast search through the whole list to quickly see: OK, scroll_vertical is not part of VScrollBar at all, I have to check my assumptions.

  • maybe also to find the current name of a property in my current Godot version (tutorial uses an older version. and there have been changes like .instance() vs. .instantiate()), which I would probably eyeball quickly in a list

I sorted these example out, so I am not asking for help there, but for similar situations in the future I want to be faster and check against the complete list of properties.

What I already tried/found:

  • Auto-Completion includes max_value, but I do not feel certain that any one probing of autocomplete really shows me all of them that I need to see, at the given moment, as it is just a short list where other stuff is mixed in. I want to check against the complete list of properties.

  • I realized that I could check all classes that VScrollBar inherits from and find max_value under the Range class, but that is not only tedious (search through many web pages, especially when I search a property that is not part of it at all like the scroll_vertical example) but that gets abstract und uncertain fast (maximum value of what exactly now?).

I started with Godot today, so I hope I am missing something that many already know.

If the docs do not offer what I want, then a coder's way to list all properties?

Thanks in advance!

    KlausThorn Object::get_property_list() should return an array of all properties. Sadly afaik the documentation has no ability to display flat class reference. You can try to make a request for this on Godot's github, if someone already didn't do it.

    But tbh so far I did not find it all that tedious to go through the inheritance chain when looking up properties.

    KlausThorn it doesn't fix your problem, but this could make it less tedious:
    a lot of Godot's official documentation is built inside the Godot executable/build/whatever real programmers call it. you don't need to wait for a request to some server online or go through a web browser.
    all you have to do is one of the following:

    1. hit F1 and search for the class/property/method by name
    2. ctrl+L-click a class/property/method in your code Godot can recognize

    in this case, if you wanted to learn about max_value, you'd type it into the F1 help box, and you'll notice two instances of that property exist, one for curve(i have no clue what that is) and one for range, the class that vscrollbar inherits that property from.
    you could also go directly to vscrollbar's page, and go through chain of inheritance to find a property like you would online if for some reason there is an overwhelming amount of max_value properties built into the engine.

    if you want to take the time, it pays to take an hour or two to go through your commonly used nodes and classes and read all their properties and documentation.
    a lot of times some really ugly GDscript turns out to already exist in the form of a single function already built into the engine. written in C++.

    edit: the above is how i learned the reason why getting the x-axis on a vector2 as a float never looks like a normal float. vector2 floats are stored in 32-bit. float floats are stored in 64-bit.
    reading the docs is also how i learned you can use snappedf to make the problem i just described a non-issue.

    thanks, @xyz and @packrat ! I will try F1-searching for the property name next time. And if that does not work, I can try .get_property_list()