Tested using PyCharm PyCharm 2018.3.7 (Professional Edition).
Note: Commands that are being run, need to be run in nix shell
-
Python:
- Run
which python
and update this in Preferences -> Project:project_name
-> Project Interpreter -> Gear Icon -> Add -> Virtual Environment -> Existing Environment ->...
-> Add.
- Run
-
Rust:
- Ensure [Rust Plugin], tested:
v0.2.99.2127-183
, is installed. - Optionally install [Pest Plugin], essential if editing [
.pest
files]. - Run
echo ${$(which rustc)%rustc}
and update this in Preferences -> Languages & Frameworks -> Rust -> Toolchain Location. - Run
ls -d -1 /nix/store/*-rust-src$(echo $(which rustc | grep -o 'rust\-.*/bin' | grep -o '\-.*/')lib/rustlib/src/rust/src)
and update this in Preferences -> Languages & Frameworks -> Rust -> Standard library.
- Ensure [Rust Plugin], tested:
-
Elm:
- Ensure [Elm Plugin], tested: v3.2.1, is installed.
- Run
which elm
and update this in Preferences -> Languages & Frameworks -> Elm -> Elm-Compiler -> location. - Run
which elm-format
and update this in Preferences -> Languages & Frameworks -> Elm -> elm-format -> location. - Then open any
elm file in "frontend", and select corresponding folder's
elm.json
file after clicking "Attach elm.json (or elm-package.json)".