Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Python Scripting Editor

The scripting editor dialog for the Python scripting nodes.

Recommended IDE Setup

VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).

Project Setup

npm install

Link the @knime/scripting-editor dependency

To use local changes to the @knime/scripting-editor package it has to be linked with npm-link.

Compile and Hot-Reload for Development

If linked with @knime/scripting-editor, automatically build changes in @knime/scripting-editor with

npm run build-watch  # pwd: .../knime-core-ui/js-src/packages/scripting-editor/

Mocked Browser Preview

npm run dev:browser

KNIME Dialog Development Mode

Start KNIME Analytics Platform with the arguments

-Dchromium.remote_debugging_port=8988
-Dorg.knime.ui.dev.node.dialog.url=http://localhost:5173/

Run the development server

npm run dev:knime

Type-Check, Compile and Minify for Production

npm run build

Run Unit Tests with Vitest

npm run test:unit

Lint with ESLint

npm run lint