Overview Version History Q & A Rating & Review
日本語はコチラ
Language support for NI KONTAKT(TM) Script Processor (KSP)
KSP Compatibility
Features
Syntax check and script copy to clipboard
Outline view
Obfuscate and Optimize a Script (BETA)
Syntax highlighting
Autocomplete
Snippet
Hover
Go to Definition
Find symbols and find references in script
Syntax validation
Rename Identifiers
Requirements
Syntax check and script copy to clipboard
If F7
key pressed and your script has no problem, your script will copy to clip board.
or run from command palette.
You need to ready for "Syntax validation" function.
If Shift F7
pressed, run obfuscator.
Syntax validation (BETA)
Obfuscate a Script (BETA)
OUT OF WARRANTY because it is BETA version.
Run from command palet
[How to Run]
Open a Script file
Set language mode to 'ksp'
Open command palette and type 'ksp'
Select Obfuscator
or Run from context menu in editor.
Detail
Expand constant variable / literal
e.g.
[Before]
declare const $MAX := 100
declare $i
declare @s
$i := $MAX * 10
@a := "MAX is" & $MAX & ". $MAX is always 100"
[After]
declare $_geug
declare @_sxhd
$_geug := 1000
@_sxhd := "MAX is 100. $MAX is always 100"
About Syntax validation
You need to install Java 1.8 (or higher).
[NOTE] Although the parser will attempt as much error detection as possible, if the grammar of the your script content deviates from the KSP specification, it will not function properly.
TODO
Tweak / bug fix if needed
Source Code
github repository
License
MIT License
Source Code of KSP Syntax Parser Program
github repository
Author
R-Koubou
About KONTAKT
KONTAKT is registered trademarks of Native Instruments GmbH.
https://www.native-instruments.com/