-
-
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
New SDK implemention, elixir-builder and so on #167
Conversation
2. add elixir extenal tools. 3. add mix-project import builder 4. add create new elixir files.
2. rename some methods.
* if "isMake": compile all files of the module and dependent module. | ||
* else: just for compile the target affected file. | ||
* */ | ||
private static void doBuildWithElixic(ElixirTarget target, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Did you mean to name this method
doBuildWithElixirc
instead ofdoBuildWithElixic
? It looks like you're missing ther
at the end ofElixir
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, r
missed. it should be doBuildWithElixirc
2. add `Makefile` as an easy way for local ant build 3. fix tests's path
All most of these issues mentioned in the comments above had been fixed, except the smallidea one. |
@zyuyou I just released v1.0.0, so you can now merge master into your PR branch. |
Do you have verification steps or a test plan you were using to manually test each feature? This will serve as the basis of my manual testing and the feature explanations that go in the README. |
Just two tests, |
@KronicDeth , Would you like to make if you not, in order to resolve this todo, I just got |
You can resolve that TODO after I land this PR (which I'll hopefully do tonight, in 10 -12 hours). I don't want to delay landing this more than I've already done while you had to wait for me to finish v1.0.0. |
@zyuyou I merged the PR to master, but when I was updating the README with all the features you added I wasn't able to get Here's my test file: defmodule IntellijElixir.Quoter do
broken
use GenServer
def start_link(args, opts \\ []) do
GenServer.start_link(__MODULE__, args, opts)
end
def handle_call(code, _from, state) do
{:reply, Code.string_to_quoted(code), state}
end
end The function call
If I do How did you test the |
My last comment may be a due to a packaging or install error. I get the proper Messages Compiles tab with errors when I run the plugin in the debugger using Plugin > Elixir run configuration. The last time something like this happened, it was due to directories not being copied in the .zip and jars correctly. I'll figure out it, no need for you to debug it. |
I found a work-around: instead of using the zip made by "Build > Prepare Plugin for deployment", I do "Build > Build Artifact > intellij-elixir.zip", which includes the jps jars. I'm waiting on a response to a question in the Open API forum to see if I can go back to using "Prepare Plugin for deployment". |
Mark as release v1.1.0 because PR is full of so many features all by itself.
Yes, I did the same. But I wonder why those |
The official answer from Jetbrains is that using Build Artifact is the correct way to do the build since "Prepare Plugin for deployment" always uses a fixed layout.
|
❤️ thanks. |
This is great, and thanks for the work. I'm following (I think) everything that I should be doing, but keep getting the same result with my setup.
It appears to be putting "" in the command in a way I can't circumvent. Is this to be expected, and am I using it wrong? Let me know if I should open an issue, or am doing something incorrectly. |
@jejacks0n: The In the future, please open a new issue if you need help. Asking for help, even if the help is related to a PRs code, should not be done in the comments of the PR if the PR is Merged or Closed. Because this PR is Merged, it doesn't show up as something that needs to be worked on, so your comment would just disappear if I hadn't noticed the notification. |
1.< new Project > is very simple, just create source-dir lib, but I will implement new one which like "mix new options"
2. < Create project from existing sources > just detect the project' sdkType, maybe should detect the sourceRoot too, but mix importWizard is more powerfull.
3. runconfiguration which use mix tool, and I will add mix ex-unit runconfiguration too in the future because it was a difficult job.
4. elixir-builder, now we can use
shift+command+F9
orcommand+B
to compile source file or make project and module.5.add some new fileTemplates and also separate new-Elixir-File from others as a new group.