環境
- Microsoft Windows 10.0.22000.613(21H2)
- Windows PowerShell 5.1.22000.613
- conda 4.12.0
- Atom 1.60.0
準備
- Anaconda Powershell Prompt を右クリック →「プロパティ」→「ショートカット」のタブを開く →「リンク先」に書かれているものをコピーしておく。
例
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy ByPass -NoExit -Command "& 'C:\Users\name\.pyenv\pyenv-win\versions\Anaconda3\shell\condabin\conda-hook.ps1' ; c
「%windir%」を「C:\Windows」に変えないとエラーが出たが、環境によるかもしれない
- PowerShell のパスをコピーしておく
例
C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe
手順
1. Platformio Ide Terminal をインストール
apm 経由でインストールする場合
terminal
apm install platformio-ide-terminal
検索する場合
Ctrl
+,
で Settings を開き、Install タブから platformio-ide-terminal
を検索
2. 設定を開く
Packages タブから platformio-ide-terminal
を検索し、設定を開く
3. コマンドを設定する
Auto Run Command に最初にコピーしたものを、Shell Override にもう一方を貼り付ける。
Settings を閉じる。