0
0

More than 3 years have passed since last update.

VisualStudioでAtCoderのプログラムを書くために準備したこと

Posted at

AtcoderでPython使って問題とくときにした準備作業のメモ書き。

環境

MacOS

Visual Studio Codeの設定

VisualStudioCodeの拡張機能【Coder Runner】の追加

image.png

コマンド「⌘ + ,」で設定を開き、以下2つを設定

clearPreviousOutputをONにする
image.png

runInTerminalをONにする
image.png

Python3の実行コマンドに変換

settings.json
    "code-runner.executorMap": {
        "python": "python3 -u",
    }

↓ 変更後のイメージ
image.png

右上の矢印でPythonのプログラムを実行する
(設定しないと入力ができない)

スクリーンショット 2019-12-03 22.50.56.png

ショートカットキーを覚える

Option + Control + N が実行コマンド

▼ 探し方
Commnad + Shift + P でコマンドパレット表示
Runと入力すると、CodeRunnderのコード実行コマンドが表示される。

image.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