:idea-plugin (com.nexustools.knode.idea, KNode Multiplatform SDK) is an open-by-design IntelliJ Platform plugin providing standalone KNode project scaffolding and target management, and serving as the extensible base for GenericUI's IntelliJ IDEA plugin.
Defined in plugin.xml and implemented by KNodePluginActions and KNodeProjectManagerService:
com.nexustools.knode.idea.NewProject(New KNode Project...): OpensKNodeNewProjectWizardDialog(Swing) or runsexecuteNewProject(...)headlessly.com.nexustools.knode.idea.ManageTargets(Manage KNode Targets & Modules...): OpensKNodeManageTargetsDialogto inspect and update an existing project'sbuild.gradle.ktsandgradle.properties.KNodeProjectManagerService: CoordinatesKNodeGradleScriptGenerator,KNodeBuildFileInspector, andKNodeStarterSourceGeneratorto generate or updatesettings.gradle.kts,gradle.properties,build.gradle.kts, and starter sources.
- Project Templates (
KNodeProjectTemplateType):NODEJS_CLI(CLI & System Utility)MULTIPLATFORM_SERVER(HTTP & Realtime Server)FULLSTACK_WEB_NODE(Full-Stack Web + Node.js App)MOBILE_BRIDGE(Mobile & Desktop KNode App)LIBRARY(KNode Reusable Library)
- Target Backends (
KNodeTargetBackend):JVM,WINDOWS,MACOS,LINUX,ANDROID(enablesknode.android.companion.*properties),IOS,IPADOS,WEB,NODEJS. - Extensions (
KNodeExtensionModule):ipc,binaryCodecs,htmlparser,websockets,websocketsServer,socketIo,socketIoServer,ftp,ftpServer,smtp,imap,pop3,mysql, with automatic dependency expansion (expandDependencies) and target compatibility filtering (KNodeExtensionCheckboxPanel). - Lazy Mode Toggle:
KNodeNewProjectWizardDialogandKNodeManageTargetsDialogdefaultlazyLoadModules = false(immediate consumer loading) while letting host/NJS projects opt in.
All model, generator, service, and UI classes (KNodeProjectManagerService, KNodeGradleScriptGenerator, KNodeBuildFileInspector, KNodeStarterSourceGenerator, KNodeNewProjectWizardDialog, KNodeManageTargetsDialog, KNodeTargetCheckboxPanel, KNodeExtensionCheckboxPanel) are open so GenericUI's IDEA plugin can subclass and extend them with GUI-framework templates and extension panels without duplicating KNode build generation logic.