Can you remove base nodes (eg. spatial and node2d) without recompiling the editor (as a gdscript plugin)?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Snail0259

Hi, I am (for some reason) trying to remove the base types from the editor using a plugin. I am trying to rewrite the nodes that I often need to use, and remove the ones I never use (like ARVR). I have already tried doing something like this:

extends EditorPlugin

func _enter_tree():

func _exit_tree():

What I want to be left with is just the Node node, and nothing else, so that I can rewrite the rest. If someone knows how to do something like this/what I am doing wrong, I would be eternally grateful.

Thank you.

:bust_in_silhouette: Reply From: Snail0259

The solution is to go into Editor -> Manage Editor Features and create two profiles: default and edited, which has the selected nodes removed.