Skip to content

extension_api.json is missing @gdscript class global constants/methods/etc #107824

Closed
@van800

Description

@van800

Tested versions

4.4.1

System information

MACOSX

Issue description

https://github.com/godotengine/godot-cpp/blob/master/gdextension/extension_api.json
or the the one generated with
godot --dump-extension-api-with-docs

doesn't mention "PI", "TAU", etc global constants from https://docs.godotengine.org/en/stable/classes/class_@gdscript.html
assert method is also not described.

I am working on a Rider integration for Godot GDScript and I have got a suggestion to use extension_api.json as a source of truth about the built-in types.
godotengine/godot-proposals#12641

Steps to reproduce

extension_api.json

Minimal reproduction project (MRP)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions