Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HSPファイルを実行すると「# Execution command failed.」が表示される。 #16

Open
honobonosun opened this issue Mar 20, 2020 · 2 comments · May be fixed by #39
Open

HSPファイルを実行すると「# Execution command failed.」が表示される。 #16

honobonosun opened this issue Mar 20, 2020 · 2 comments · May be fixed by #39
Labels
bug Something isn't working
Projects
Milestone

Comments

@honobonosun
Copy link
Owner

honobonosun commented Mar 20, 2020

再現方法

  1. ユーザー設定で Language-hsp3.Executor.Enableをtrueに設定します。
  2. .vscodeディレクトリが無いディレクトリを開き、HSPファイルを実行します。
  3. OutputのHSPチャンネルに# Execution command failed.と表示されて実行に失敗しました。

原因

開いたディレクトリに.vscodeディレクトリと、setting.jsonファイルが無いことで、この症状は発生します。

迂回策

Language-hsp3.Executor.Enableをtrueにして、HSPファイルを開いているならば、ステータスバーの言語モードの選択の隣にコマンド切り替え用の文字が表示されているはずです。

クリックして、同じ、あるいは別の切り替え先をクリックして切り替えてみてください。設定が保存され、HSPファイルを実行できるようになります。

修正方法

調査中です。

@honobonosun honobonosun added the bug Something isn't working label Mar 28, 2020
@honobonosun honobonosun added this to To do in V2 via automation May 16, 2020
@honobonosun honobonosun added this to the V2 milestone May 16, 2020
@honobonosun honobonosun moved this from To do to In progress in V2 May 28, 2020
@honobonosun
Copy link
Owner Author

Executorを標準機能として組み込むことで、executor.indexの値が未指定にならないように変更します。

@honobonosun honobonosun moved this from In progress to Done in V2 Jun 24, 2020
@honobonosun honobonosun moved this from Done to In progress in V2 May 24, 2022
@honobonosun
Copy link
Owner Author

toolset-hsp3を公開しました。そのため、VSCodeのタスク機能と類似したlanguage-hsp3.executor.enableを廃止する方針に変更しました。

@honobonosun honobonosun linked a pull request Jan 31, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
V2
  
In progress
Development

Successfully merging a pull request may close this issue.

1 participant