[PYTHON] How to use Cmder with PyCharm (Windows)
Thank you for visiting.
Regarding the subject matter, I felt the lack of information available in Japanese when I worked on it, so I will write it as an article below.
procedure
- Add environment variables
--Go to Control Panel-> System-> Advanced System Settings-> Environment Variables, enter "CMDER_ROOT" as the user's environment variable, and enter the storage directory of Cmder.exe in the value (path) (usually "C: \ hogehoge \ cder" Should be)
- Change PyCharm settings
--Go to PyCharm's Settings → Terminal and enter "" cmd.exe "/ k" "% CMDER_ROOT% \ vendor \ init.bat" "" in the Shell Path field (double quotation double is not a typo)
- Restart PyCharm → Confirm that Cmder starts with Alt + F12 (≒ Linux command [ls etc.] passes)
reference
- https://stackoverflow.com/questions/8713960/cmd-exe-k-switch
- https://github.com/cmderdev/cmder/issues/282
(that's all)