`/info` endpoint via editor api
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 52/100
Research direction
Start by locating the editor API routes and the existing /eval handler, then compare them with the engine’s /info endpoint mentioned in the issue. Define which editor and running-game details the API can provide, and add an endpoint that exposes them; done means external editors can query this information without a game running.
Written by the indexing model from the issue text.
Description
Is your feature request related to a problem? Please describe (REQUIRED):
I'd like to be able to query certain editor information (e.g. the engine version) for the use in external editors. This could be used for various things like querying the correct Lua annotations and enabling/disabling certain features like for instance the new debugger functionality, or well notifying the user that they're using an unsupported version of Defold (as far as I'm concerned) instead of showing them an error because something doesn't work (as I might expect a newer version or something)
The engine seems to have an /info endpoint that kinda already does this, but this can't be queried unless a game is running
Describe the solution you'd like (REQUIRED):
The editor api should provide an /info endpoint providing useful information like the editor version, projects root directory (game.project), the project instance index, infos about whetever or not a game is running (and its pid / engine port etc). At least these are infos that would be very useful to me :).
Describe alternatives you've considered (REQUIRED):
This is technically currently possible via /eval and this is also what I'm using
- Dominant language
- C++
- Stars
- 6.5k
- Forks
- 470
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 172
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from defold/defold
-
Misleading WARNING "Failed to find resource type wavc, couldn't enable for streaming" when the WAVOpenbug triage
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Maintainers usually reply within 1 day
-
feature request triage
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
HTML5: KEY_RCTRL, KEY_RSHIFT and KEY_RALT are never triggeredPossibly taken @britzl claimed this 5 days ago. Openbug engine gltf input
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
defold/defold#13745 · 1 assignee ·
Maintainers usually reply within 1 day
-
bug documentation engine quick win?
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
defold/defold#12215 · 2 comments ·
Maintainers usually reply within 1 day
-
documentation ios task
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
defold/defold#8333 · 2 comments · 1 reaction ·
Maintainers usually reply within 1 day
Similar issues
-
launcher: settings are never saved on macOS — QSettings SystemScope points to /Library/PreferencesOpen
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 82/100
supercollider/supercollider#7872 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
NVIDIA-RTX/ShaderMake#29 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
yetanotherbrowser/yab#1062 ·
Maintainers usually reply within 1 day