0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

VSCodeの実行をショートカットで完結させる

Last updated at Posted at 2022-08-18

:point_up:はじめに

VSCodeを使用している際、実行のたびに右上の再生ボタンから実行していました、、、
ショートカットないかなと調べ、見つけた方法を記載します!

:point_up:方法

■結論:拡張機能「Code Runner」をインストールすることで解決。

  1. 拡張機能タブで「Code Runner」検索し、インストール
  2. インストール後、拡張機能のインストール済みに追加された「Code Runner」の歯車から拡張機能の設定を開く
  3. 「Run In Terminal」のチェックをオンにする(しない場合はターミナル上でなく出力上に実行結果が表示される)
  4. 実行したいクラスで「Ctrl + Option + N(Mac)」で実行(Windowsの場合は「Ctrl + Alt + N」)
  5. DONE

:point_up:まとめ

これでいちいち再生ボタン押さずに済みました!
↓拡張機能設定の補足画像
スクリーンショット 2022-08-19 0.13.05.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?