{"id":23443469,"url":"https://github.com/r-koubou/vscode-ksp","last_synced_at":"2025-04-13T12:14:09.935Z","repository":{"id":43836885,"uuid":"73004430","full_name":"r-koubou/vscode-ksp","owner":"r-koubou","description":"Visual Studio Code Extension for NI KONTAKT Script Processor (KSP)","archived":false,"fork":false,"pushed_at":"2025-04-13T11:31:59.000Z","size":9177,"stargazers_count":32,"open_issues_count":3,"forks_count":2,"subscribers_count":8,"default_branch":"v1.0-preview/develop","last_synced_at":"2025-04-13T12:14:04.009Z","etag":null,"topics":["computer-music","kontakt","ksp","native-instruments"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=rkoubou.ksp","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/r-koubou.png","metadata":{"files":{"readme":"README.ja.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"r-koubou"}},"created_at":"2016-11-06T16:43:07.000Z","updated_at":"2025-04-13T11:31:11.000Z","dependencies_parsed_at":"2023-02-01T00:30:58.006Z","dependency_job_id":"4add39ac-d997-4ed4-b548-39a49d4c311b","html_url":"https://github.com/r-koubou/vscode-ksp","commit_stats":null,"previous_names":[],"tags_count":88,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-koubou%2Fvscode-ksp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-koubou%2Fvscode-ksp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-koubou%2Fvscode-ksp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-koubou%2Fvscode-ksp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/r-koubou","download_url":"https://codeload.github.com/r-koubou/vscode-ksp/tar.gz/refs/heads/v1.0-preview/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248710448,"owners_count":21149191,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["computer-music","kontakt","ksp","native-instruments"],"created_at":"2024-12-23T18:19:32.804Z","updated_at":"2025-04-13T12:14:09.914Z","avatar_url":"https://github.com/r-koubou.png","language":"TypeScript","funding_links":["https://github.com/sponsors/r-koubou"],"categories":[],"sub_categories":[],"readme":"\u003csmall\u003e[English is here](https://github.com/r-koubou/vscode-ksp/blob/master/README.md)\u003c/small\u003e\n\n\n# Language support for NI KONTAKT(TM) Script Processor (KSP)\n\n\n## KSP互換\n\n- KONTAKT 7.x / 6.x / 5.x のKSPに対応しています\n\n## 機能\n\n* 文法解析後、スクリプトをクリップボードにコピー\n* アウトラインビュー\n* スクリプトのオブファスケートとオプティマイザ **(BETA)**\n* シンタックスハイライト\n* 補完入力\n* スニペット\n* ホバー表示\n* 宣言箇所へのジャンプ\n* スクリプト内のシンボル参照箇所の検索\n* 文法解析機能\n* リネーム機能\n\n## 動作に必要なもの\n\n* 文法解析機能\n    * Java 1.8 (or higher)\n\n\n## 文法解析後、スクリプトをクリップボードにコピー\n\n`F7` キーを押し、スクリプトの内容に問題がない場合、スクリプトをクリップボードにコピーします。\n\nまたは、コマンドパレットからも実行できます。\n\n![](https://github.com/r-koubou/vscode-ksp/raw/master/resources/readme/parse_cmd_ja.png)\n\n* 文法解析機能が使用可能である必要があります。\n* `Shift+F7` キーを押した場合、オブファスケータを実行します。\n\n## 文法解析機能 (BETA)\n\n* 文法解析\n* 意味解析（論理チェック）\n    - 配列変数宣言時の要素数をチェック\n    - コマンドや、UI変数へ渡すパラメータのチェック\n    - 未使用の変数、ユーザー定義関数の検出\n\n    など\n\n    `初期設定ではこの機能はオフになっています。`\n    使用する際は、設定画面で設定を変えて下さい。\n    (Preferences-\u003eSettings内、\"KONTAKT Script Processor (KSP)\" )\n\n## オブファスケート (BETA)\n\n**ベータ版のため、動作保証外**\n\nコマンドパレットから実行できます\n\n### [実行方法]\n\n1. スクリプファイルを開く\n2. 言語モードを'ksp'に設定する\n3. コマンドパレットを開き、'ksp' とタイプする\n4. オブファスケーターを選択する\n\n![](https://github.com/r-koubou/vscode-ksp/raw/master/resources/readme/obfuscate_01.gif)\n\nまたはエディタ内で右クリックで項目を選択\n\n![](https://github.com/r-koubou/vscode-ksp/raw/master/resources/readme/obfuscate_ctx_ja.png)\n\n### 詳細\n\n* 定数、リテラルの展開\n\n~~~\n    例：\n    [Before]\n    declare const $MAX := 100\n    declare $i\n    declare @s\n    $i := $MAX * 10\n    @a := \"MAX is\" \u0026 $MAX \u0026 \". $MAX is always 100\"\n\n    [After]\n    declare $_geug\n    declare @_sxhd\n    $_geug := 1000\n    @_sxhd := \"MAX is 100. $MAX is always 100\"\n~~~\n\n* リネーム\n    - ユーザー定義の変数名\n    - ユーザー定義の関数名\n* シュリンク\n    * どこからも使用されていない変数、関数\n\n* ユーザー定義関数のインライン展開\n\n    初期設定ではオフにしています。もし試す場合はVSCodeの設定→ **\"ksp.obfuscator.inline.function\"** を編集して下さい。\n\n\n### 文法解析機能について\n\n* この機能を使用するには Java 1.8 以上が必要です。\n* `[注意]パーサーは可能な限り多くのエラー検出を試みますが、記述されているスクリプトの文法がKSP仕様から逸脱していると、正しく機能しません。`\n\n\n## TODO\n\n* 適宜調整\n\n## ソースコード\n\n[githubリポジトリ](https://github.com/r-koubou/vscode-ksp)\n\n### ライセンス\n\n[MIT License](https://github.com/r-koubou/vscode-ksp/blob/master/LICENSE)\n\n## KSP文法解析プログラムのソースコード\n\n[githubリポジトリ](https://github.com/r-koubou/KSPSyntaxParser)\n\n## 作成者\n\nあーる\n\n* Twitter: [@rkoubou_jp](https://twitter.com/rkoubou_jp)\n* GitHub:  [https://github.com/r-koubou/](https://github.com/r-koubou/)\n\n## KONTAKT について\n\nKONTAKT is registered trademarks of Native Instruments GmbH.\n\n[https://www.native-instruments.com/](https://www.native-instruments.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr-koubou%2Fvscode-ksp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fr-koubou%2Fvscode-ksp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr-koubou%2Fvscode-ksp/lists"}