minetest-tools icon indicating copy to clipboard operation
minetest-tools copied to clipboard

Builtin Nodebox editor

Open AFCMS opened this issue 2 years ago • 4 comments
trafficstars

Using ThreeJS or some similar libraries its possible to render 3D in a VSCode webview.

AFCMS avatar Feb 19 '23 20:02 AFCMS

A nodebox viewer (allowing you to preview manually written code) would be helpful, but I don't see myself using the editing feature

LoneWolfHT avatar Feb 21 '23 07:02 LoneWolfHT

I don't see myself using the editing feature

I don't see why we couldn't make it both a previewer and editor.

GreenXenith avatar Feb 21 '23 18:02 GreenXenith

If it turns out harder than you think then feel free to abandon it in favor of other things that could be implemented. :P

LoneWolfHT avatar Feb 21 '23 19:02 LoneWolfHT

Here is a web based editor implementation:

https://github.com/LunaSquee/nodebox-editor

Editing is not a good as the original NodeBoxEditor by rubenwardy, but it can be a starting base.

I would see the integration in VSCode as a code action shown when you hover a nodebox definition.

I would suggest making a web based nodebox editor standalone and then integrate to VSCode so non-VSCode users can use it.

AFCMS avatar Jun 02 '23 09:06 AFCMS