如何为erlang构建工具rebar3配置Intellij?

如何为erlang构建工具rebar3配置Intellij?,erlang,intellij-plugin,rebar3,Erlang,Intellij Plugin,Rebar3,我已开始在IntelliJ IDE中使用Rebar3为Erlang开发,并遇到以下问题-当尝试使用IDE清理或运行时,我遇到以下错误: 测试于上午8:33开始。。。 D:\DevelopmentTools\erl10.0.1\bin\escript.exe D:\DevelopmentTools\erl10.0.1\rebar\rebar3.cmd skip\u deps=true clean-C:\Users\coreRNM\AppData\Local\Temp\eunit\u teamcit

我已开始在IntelliJ IDE中使用Rebar3为Erlang开发,并遇到以下问题-当尝试使用IDE清理或运行时,我遇到以下错误:

测试于上午8:33开始。。。 D:\DevelopmentTools\erl10.0.1\bin\escript.exe D:\DevelopmentTools\erl10.0.1\rebar\rebar3.cmd skip\u deps=true clean-C:\Users\coreRNM\AppData\Local\Temp\eunit\u teamcity1\rebar.config D:\DevelopmentTools\erl10.0.1\rebar\rebar3.cmd:2:设置之前的语法错误 有编译错误

这应该是一个相当简单的配置,但代码在以下位置中断

@回音 setlocal 设置rebarscript=%~f0 escript.exe“%rebarscript:.cmd=%”*


我的问题是:以前有没有人经历过这种情况,或者我遗漏了什么?

老实说,我不知道这里发生了什么,看起来也不像是集成问题。最好问问大家在Windows上运行rebar3的情况。

当我从IntelliJ内部的终端运行rebar3时,命令都会运行,当我作为探查器的一部分运行任何命令时,我会遇到这个问题,如下所示。我可以编译一个普通的erlang程序,但不能编译rebar3创建的程序。