{"id":19723931,"url":"https://github.com/wraith13/wandbox-vscode","last_synced_at":"2025-04-29T22:31:09.371Z","repository":{"id":41407109,"uuid":"79653740","full_name":"wraith13/wandbox-vscode","owner":"wraith13","description":"Wandbox Extension for Visual Studio Code. http://melpon.org/wandbox/","archived":false,"fork":false,"pushed_at":"2023-04-17T20:45:31.000Z","size":489,"stargazers_count":30,"open_issues_count":4,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T20:05:24.272Z","etag":null,"topics":["visual-studio-code","vscode","vscode-extension","wandbox"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=wraith13.wandbox-vscode","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wraith13.png","metadata":{"files":{"readme":"README.ja.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE_1_0.txt","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}},"created_at":"2017-01-21T15:24:45.000Z","updated_at":"2023-09-23T15:51:01.000Z","dependencies_parsed_at":"2024-11-11T23:28:02.871Z","dependency_job_id":"d23713a7-7f6f-4335-aab0-409f98e1a04f","html_url":"https://github.com/wraith13/wandbox-vscode","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wraith13%2Fwandbox-vscode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wraith13%2Fwandbox-vscode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wraith13%2Fwandbox-vscode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wraith13%2Fwandbox-vscode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wraith13","download_url":"https://codeload.github.com/wraith13/wandbox-vscode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251592993,"owners_count":21614453,"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":["visual-studio-code","vscode","vscode-extension","wandbox"],"created_at":"2024-11-11T23:23:59.040Z","updated_at":"2025-04-29T22:31:08.780Z","avatar_url":"https://github.com/wraith13.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wandbox-vscode ( [🇬🇧 English](https://github.com/wraith13/wandbox-vscode/blob/master/README.md) )\n\n[![Visual Studio Marketplace](https://vsmarketplacebadge.apphb.com/version/wraith13.wandbox-vscode.svg) ![installs](https://vsmarketplacebadge.apphb.com/installs/wraith13.wandbox-vscode.svg) ![rating](https://vsmarketplacebadge.apphb.com/rating/wraith13.wandbox-vscode.svg)](https://marketplace.visualstudio.com/items?itemName=wraith13.wandbox-vscode)\n\n[Wandbox](https://wandbox.org)([GitHub](https://github.com/melpon/wandbox/)) はソーシャルコンパレーションサービスです。このエクステンションは Visual Studio Code の為の Wandbox フロントエンドです。\n\n\u003e Wandbox は [@melpon](https://github.com/melpon)( 🐕 犬) が個人的に無償(自腹)で提供しているサービスです。\n\u003e このサービスが提供され続ける為、このサービスに高負荷をかけないようにしてください。\n\u003e [あなたはスポンサーになることもできます。](https://gist.github.com/melpon/8f5d7a8e991ed466d09cf887bd8d92ce)\n\n## 機能\n\nwandbox-vscode はコンパイル、実行、シェアを行う為のいくつかのコマンドをコマンドパレット上で提供します。\n\n\u003e コマンドパレットはキーボードショートカットで表示できます。\n\u003e\n\u003e Mac: \u003ckbd\u003eF1\u003c/kbd\u003e or \u003ckbd\u003eShift\u003c/kbd\u003e+\u003ckbd\u003eCommand\u003c/kbd\u003e+\u003ckbd\u003eP\u003c/kbd\u003e\n\u003e\n\u003e Windows and Linux: \u003ckbd\u003eF1\u003c/kbd\u003e or \u003ckbd\u003eShift\u003c/kbd\u003e+\u003ckbd\u003eCtrl\u003c/kbd\u003e+\u003ckbd\u003eP\u003c/kbd\u003e\n\n現在 wandbox で利用可能な言語 :\nBash script, C, C#, C++, CoffeeScript, CPP, Crystal, D, Elixir, Erlang, Go, Groovy, Haskell, Java, JavaScript, Lazy K, Lisp, Lua, Nim, OCaml, Pascal, Perl, PHP, Pony, Python, Rill, Ruby, Rust, Scala, SQL, Apple Swift, Vim script\n\n## チュートリアル\n\n### 0. ⬇️ wandbox-vscodeのインストール:\n\nVS Code の拡張サイドバーを出して(Mac:\u003ckbd\u003eCommand\u003c/kbd\u003e+\u003ckbd\u003eShift\u003c/kbd\u003e+\u003ckbd\u003eX\u003c/kbd\u003e, Windows and Linux: \u003ckbd\u003eCtrl\u003c/kbd\u003e+\u003ckbd\u003eShift\u003c/kbd\u003e+\u003ckbd\u003eX\u003c/kbd\u003e)、 `wandbox-vscode` とタイプし \u003ckbd\u003eEnter\u003c/kbd\u003e キーを押下し、\u003ckbd\u003eInstall\u003c/kbd\u003e をクリックします。インストールが終わったら VS Code を再起動してください。\n\n### 1. ✨️ 新規\"Hello, World!\"を開く:\n\nコマンドパレットを出して(Mac:\u003ckbd\u003eF1\u003c/kbd\u003e or \u003ckbd\u003eShift\u003c/kbd\u003e+\u003ckbd\u003eCommand\u003c/kbd\u003e+\u003ckbd\u003eP\u003c/kbd\u003e, Windows and Linux: \u003ckbd\u003eF1\u003c/kbd\u003e or \u003ckbd\u003eShift\u003c/kbd\u003e+\u003ckbd\u003eCtrl\u003c/kbd\u003e+\u003ckbd\u003eP\u003c/kbd\u003e)、 `Wandbox: New` コマンドを実行し、適当な \"Hello, World!\" コードを選択します。\n\n\u003e 👉 その他の方法で開いたファイルでも構いません。\n\n### 2. 🚀 wandbox上でのコンパイルと実行:\n\nまたコマンドパレットを出して、 `Wandbox: Run` コマンドを実行します。\n\n### 3. 🔗 シェアURLの作成:\n\nコマンドパレットから `Wandbox: Share` コマンドを実行します。\n\n\u003e 👉 自動的にシェアURLを開く挙動は `wandbox.autoOpenShareUrl` の設定で無効化できます。\n\n### 4. 📅 シェアURLの履歴表示:\n\nコマンドパレットから `Wandbox: History` コマンドを実行します。\n\n\u003e 👉 `wandbox.maxHistorySize` の設定で保存する履歴の数を指定できます。\n\n### 5. 🔧 次のステップ:\n\n`Wandbox: Set Compiler` コマンドでコンパイラを変更できますし、 `Wandbox: Set Options` コマンドで様々なコンパイルオプションを指定できまのでいろいろ試してみてください。\n\n\u003e 👉 オプションの内容は選択されているコンパイラによって大幅に変わります。\n\nまた settings.json で wandbox-vscode の[各種設定](#エクステンションの設定)を変更したり、 keybindings.json で wandbox-vscode のコマンドに[キーボードショートカット](#キーボードショートカットの設定)を割り当てる事もできます。\n\n## スクリーンショット\n\n### コマンドリスト\n\n![](https://wraith13.github.io/wandbox-vscode/screenshots/command.list.png)\n\n### 言語\n\n![](https://wraith13.github.io/wandbox-vscode/screenshots/languages.png)\n![](https://wraith13.github.io/wandbox-vscode/screenshots/languages2.png)\n\n### コンパイラ\n\n![](https://wraith13.github.io/wandbox-vscode/screenshots/compilers.png)\n\n### オプション\n\n![](https://wraith13.github.io/wandbox-vscode/screenshots/options.png)\n![](https://wraith13.github.io/wandbox-vscode/screenshots/options2.png)\n\n## メインコマンド\n\n* `Wandbox: Run` : カレントのドキュメントを wandbox で実行します\n* `Wandbox: Share` : シェアURLを作成します\n\n\u003e 👉 自動的にシェアURLを開く挙動は `wandbox.autoOpenShareUrl` の設定で無効化できます。\n\n* `Wandbox: New` : 新規 \"Hello, World!\" を開きます\n* `Wandbox: Hello` : 新規 \"Hello, World!\" を開きます\n\n\u003e ⚠️ 本家 Wandbox が同機能に対応した為、`Wandbox: New` を新設し `Wandbox: Hello` は非推奨となりました。\n\n## 表示コマンド\n\n* `Wandbox: Show Raw JSON` : wandbox の仕様情報を生の JSON で表示します\n\n\u003e 👉 参照： [Wandbox API Reference](https://github.com/melpon/wandbox/blob/master/kennel2/API.rst)\n\n* `Wandbox: Show Web Site` : wandbox web サイトを開きます\n* `Wandbox: Show Settings` : wandbox-vscode の全ての設定表示します。\n* `Wandbox: Show History` : シェア履歴を表示します。\n\n\u003e 👉 `wandbox.maxHistorySize` の設定で保存する履歴の数を指定できます。\n\n## 消去コマンド\n\n* `Wandbox: Clear History` : シェア履歴を消去します。\n\n## 設定コマンド\n\n全ての設定コマンドはカレントのドキュメントに対して行われます。\n全ての設定コマンドの効果は Visual Studio Code を次回起動した時には消えています。\n\n* `Wandbox: Set Server` : wandboxサーバーURLを設定します。\n\n\u003e 👉 [`https://wandbox.fetus.jp/`](https://wandbox.fetus.jp/) を使うこともできます。この Wandbox サーバーには非常に多くの PHP コンパイラがあります。\n\u003e Wandbox は [@fetus-hina](https://github.com/fetus-hina) が個人的に無償(自腹)で提供しているサービスです。\n\u003e このサービスが提供され続ける為、このサービスに高負荷をかけないようにしてください。\n\n* `Wandbox: Set Compiler` : コンパイラを設定します。\n* `Wandbox: Set Options` : コンパイルオプションを設定します。\n* `Wandbox: Set Settings JSON` : JSON で一時的な設定をします。\n* `Wandbox: Reset Settings` : 全ての一時的な設定をリセットします。\n\n\n## エクステンションの設定\n\n[`settings.json`](https://code.visualstudio.com/docs/customization/userandworkspace#_creating-user-and-workspace-settings)( Mac: \u003ckbd\u003eCommand\u003c/kbd\u003e+\u003ckbd\u003e,\u003c/kbd\u003e, Windows / Linux: \u003ckbd\u003eファイル\u003c/kbd\u003e → \u003ckbd\u003e基本設定\u003c/kbd\u003e → \u003ckbd\u003e設定\u003c/kbd\u003e ) で次の設定ができます。\n\n* `wandbox.Servers`: wandboxサーバーURLリスト ( 最初のURLがデフォルト wandboxサーバーURLになります。 )\n* `wandbox.simplifyPostData`: postデータを表示の際に簡素化します\n* `wandbox.autoOpenShareUrl`: シェアURL作成時に自動的にそのURLを開きます\n* `wandbox.outputChannelName`: 出力チャンネル名\n* `wandbox.languageMapping`: vscodeでの言語に対しwandboxでの言語を設定します\n* `wandbox.languageCompilerMapping`: 言語に対してコンパイラを設定します\n* `wandbox.extensionLanguageMapping`: ファイル拡張子に対して言語を設定します\n* `wandbox.extensionCompilerMapping`: ファイル拡張子に対してコンパイラを設定します\n* `wandbox.options`: コンパイラに対してオプションを設定します\n* `wandbox.compilerOptionRaw`: コンパイラに対して生のオプションを設定します\n* `wandbox.runtimeOptionRaw`: コンパイラに対して生の実行時オプションを設定します\n* `wandbox.helloWolrdFiles`: hello world ファイルを設定\n* `wandbox.maxHistorySize`: 最大履歴サイズを設定\n* `wandbox.emoji`: 絵文字を設定\n\n\u003e 👉 あなたの環境のフォントが貧相な場合は次のような設定にしてください。\n\u003e```json\n\u003e    \"wandbox.emoji\": {\n\u003e        \"stamp\": null,\n\u003e        \"error\": null,\n\u003e        \"warning\": null,\n\u003e        \"hint\": null,\n\u003e        \"signal\": null,\n\u003e        \"link\": null,\n\u003e        \"lap\": null,\n\u003e        \"new\": null,\n\u003e        \"checkedBox\": \"[o]\",\n\u003e        \"uncheckedBox\": \"[_]\",\n\u003e        \"checkedRadio\": \"(o)\",\n\u003e        \"uncheckedRadio\": \"(_)\",\n\u003e        \"edit\": null,\n\u003e        \"menuSeparator\": \"---------------------------------------------\"\n\u003e    }\n\u003e```\n\u003e\n\u003e Mac での `wandbox.emoji` 設定のスクリーンショット ( 参考用 )\n\u003e\n\u003e ![](https://wraith13.github.io/wandbox-vscode/screenshots/emoji.png?!)\n\n## キーボードショートカットの設定\n\nwandbox-vscode のコマンドには初期状態ではキーボードショートカットが割り当てられていませんが、\n[`keybindings.json`](https://code.visualstudio.com/docs/customization/keybindings#_customizing-shortcuts)( Mac: \u003ckbd\u003eCode\u003c/kbd\u003e → \u003ckbd\u003e基本設定\u003c/kbd\u003e → \u003ckbd\u003eキーボード ショートカット\u003c/kbd\u003e, Windows / Linux: \u003ckbd\u003eファイル\u003c/kbd\u003e → \u003ckbd\u003e基本設定\u003c/kbd\u003e → \u003ckbd\u003eキーボード ショートカット\u003c/kbd\u003e) でキーボードショートカットを割り当てる事ができます。\n\n`keybindings.json` で指定するコマンド名はコマンドパレット上で入力する名前は異なりますので、下の対応表を見て設定してください。\n\n|コマンドパレット上|keybindings.json上|\n|-|-|\n|`Wandbox: Run`|`wandbox.run`|\n|`Wandbox: Share`|`wandbox.share`|\n|`Wandbox: Hello`|`wandbox.hello`|\n|`Wandbox: Show Raw JSON`|`wandbox.showListJson`|\n|`Wandbox: Show Web Site`|`wandbox.showWeb`|\n|`Wandbox: Show Settings`|`wandbox.showSettings`|\n|`Wandbox: Show History`|`wandbox.showHistory`|\n|`Wandbox: Clear History`|`wandbox.clearHistory`|\n|`Wandbox: Set Server`|`wandbox.setFileServer`|\n|`Wandbox: Set Compiler`|`wandbox.setFileCompiler`|\n|`Wandbox: Set Options`|`wandbox.setFileOptions`|\n|`Wandbox: Set Settings JSON`|`wandbox.setFileSettingJson`|\n|`Wandbox: Reset Settings`|`wandbox.resetFileSettings`|\n\n\u003e ⚠️ `extention.*` のようなコマンド名は非推奨となりました。\n\n## リリースノート\n\n[marketplace](https://marketplace.visualstudio.com/items/wraith13.wandbox-vscode/changelog) あるいは [github](https://github.com/wraith13/wandbox-vscode/blob/master/CHANGELOG.md) の ChangLog を参照してください。\n\n\n## \"Wandbox に俺の好きなコンパイラがないぞ！\"\n\n問題ありません！　あなたは [wandbox](https://github.com/melpon/wandbox/) にプルリクエストを投げることができます！\n\n\u003e [wandbox-builder](https://github.com/melpon/wandbox-builder) も参照してください。\n\n## サポート\n\n[GitHub Issues](https://github.com/wraith13/wandbox-vscode/issues)\n\n## ライセンス\n\n[Boost Software License](https://github.com/wraith13/wandbox-vscode/blob/master/LICENSE_1_0.txt)\n\n## 謝辞\n\nThanks [@melpon](https://github.com/melpon)( 🐕 犬) and [@kikairoya](https://github.com/kikairoya)( 🐂 牛) for awesome compilation service!\n\nThanks [@fetus-hina](https://github.com/fetus-hina)( 👶 baby) for a PHP specialized wandbox service!\n\nThanks [@rhysd](https://github.com/rhysd)( 🐕 犬) for your support in TypeScript!\n\nThanks [@chomado](https://github.com/chomado)( 👧 girl) for a great extension icon!\n\n## リンク\n\n[Wandbox関連プロジェクト](https://github.com/search?p=1\u0026q=wandbox\u0026type=Repositories\u0026utf8=✓)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwraith13%2Fwandbox-vscode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwraith13%2Fwandbox-vscode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwraith13%2Fwandbox-vscode/lists"}