-
-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After installing the plugin, how do I create elixir modules in a project? #77
Comments
There are 3 ways to create modules: Using Right-click menu
Use App Menu
By file extension
You'll notice that in the first and second steps that use the New Elixir File action, the file name and module name exactly match, which doesn't actually follow mix's convention of underscored for file names and Elixir's convention of CamelCase for modules, so if you use the first two method, I'd recommend renaming the file to underscored, If you just create the file with the correct file extension you'll be able to name the module however you like. |
Thanks but I think I did not state my question clearly. I just installed a fresh copy of IntellJ IDE. Next I installed your plugin. Can you teach me how to configure/set it up for Elixir?For example, do I have to setup something in Project Settings or Platform Settings? Do I have to install Erlang Plugin?Do I have to setup SDK path? What do I have to do in order to start editing .ex files and run/debug them in the IDE? I think this guy is asking the same question on stackoverflow -> http://stackoverflow.com/questions/27730087/new-elixir-project-in-intellij |
There are no Project settings or Platform settings. intellij-elixir doesn't currently require intellij-erlang, although it will probably eventually to leverage the debugger and so intellij-erlang can parse the Erlang code for dependencies (like cowboy for phoenix) and the standard library while intellij-elixir can handle the References between Erlang and Elixir code. There is no SDK path as no features that depend on the Elixir itself exist yet. There is no way to run and debug them in the IDE at this time. The features that do exist are syntax highlighting and partial support for grammar as outlined in the Features section of the README along with a few Inspections and Quick Fixes where intellij-elixir's grammar can be more forgiving than The README really does document all the current features. There just aren't a lot of them. The current way intellij-elixir can be used is to create files the steps I outlined above and anything involving running code you'll need to use the Terminal pane in Intellij and drop into |
Hi, I have installed the plugin successfully in IntellJ, however it doesn't not let me create elixir modules. What do I have to do to enable this?
The text was updated successfully, but these errors were encountered: