Project location will be the root directory.Project name will be filled with the basename of the root directory.Leave the default selection, "Create project from existing sources".Select the root directory of your project.File > New > Project From Existing Sources.If you've already created a (non- mix) project, you can load it as an Elixir project into the plugin. (It will likely be the first checkbox at the top.) Check the box next to the project root to use only its mix.exs.To import just the main project and not its dependencies, click Unselect All. All directories with mix.exs files will be selected as "Mix projects to import".If "Fetch dependencies with mix" is checked both mix local.hex -force and mix deps.get will be run.(Optional) Uncheck "Fetch dependencies with mix" if you don't want to run mix deps.get when importing the project The "Mix project root" will be filled in with the selected directory.
#How to use intellij windows
(On Windows it is theĭirectory containing elixir.bat, elixirc.bat, iex.bat, and mix.bat.)Ĭlick Finish after you select SDK name from the Project SDK list. The directory above the bin directory containing elixir, elixirc, iex, and mix. If the automatic detection doesn't find your Elixir SDK or you want to use an older version, manually select select
#How to use intellij install
With information about Elixir install locations on your operating system and package manager to have SDK detection Linux, homebrew installs on OSX, and Windows.
![how to use intellij how to use intellij](https://i.stack.imgur.com/2RjNy.png)
The plugin will automatically find the newest version of Elixir installed. Select a Project SDK directory by clicking Configure. Select "Import project from external model" Select the root directory of your project. If you've already created a mix project, you can load it as an Elixir project into the plugin.įile > New > Project From Existing Sources. To setup a project in a Small IDEįrom Existing Sources Import project from external model NOTE: This feature only works in Rich IDEs as it depends on an extension point unavailable in Small IDEs. Syntax Highlighting and Semantic Annotationīuild/compile as part mix run configurations only Once you have your IDE of choice installed, you can install this plugin Features Feature JetBrains/intellij-community subdirectory If you want to support the plugin itself, make a donation. IntelliJ Elixir is maintained by who does not get any of the subscription money. The Cost column in the below table is what JetBrains charges for the IDE itself.
#How to use intellij free
The plugin is free to use in all JetBrains IDEs. In all small IDEs, the native language SDK is always there, which makes anything that uses the SDK, such as running elixir, erl, or mix more complicated both internally and externally in the configuration you have to setup. The rich IDEs work best for IntelliJ Elixir because only in the rich IDEs can have an Elixir SDK set as the Project SDK. The plugin works both in the rich IDEs that allow alternative language SDK selection and small IDEs that are language specific. This is a plugin that adds support for Elixir to JetBrains IDEs.
![how to use intellij how to use intellij](https://i.stack.imgur.com/Gk55B.png)
![how to use intellij how to use intellij](https://crackdare.com/wp-content/uploads/2020/08/in4.png)
![how to use intellij how to use intellij](https://i.stack.imgur.com/X4asj.png)