Implement the ability to disable classes
* This PR adds the ability to disable classes when building. * For now it's only possible to do this via command like: `scons disable_classes=RayCast2D,Area3D` * Eventually, a proper UI will be implemented to create a build config file to do this at large scale, as well as detect what is used in the project.
This commit is contained in:
@ -101,7 +101,7 @@ void GDScriptLanguageServer::stop() {
|
||||
}
|
||||
|
||||
void register_lsp_types() {
|
||||
ClassDB::register_class<GDScriptLanguageProtocol>();
|
||||
ClassDB::register_class<GDScriptTextDocument>();
|
||||
ClassDB::register_class<GDScriptWorkspace>();
|
||||
GDREGISTER_CLASS(GDScriptLanguageProtocol);
|
||||
GDREGISTER_CLASS(GDScriptTextDocument);
|
||||
GDREGISTER_CLASS(GDScriptWorkspace);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user