intellij-15

Error during sbt execution: No Scala version specified or detected

瘦欲@ 提交于 2019-12-11 05:55:28
问题 I am using following environment. windows 7 32 sbt.version = 0.13.8 Scala 2.11.8 i can't run even a single sbt command from command prompt. i am sending error with attachment. please kindly check the attachment. kindly suggest me any solution about it. 回答1: I'm the OP of issue 1117. I have this problem when upgrading to a newer sbt version (I think the problem has something to do with Nexus). When switching to a version > 0.13.0 I have to do the following steps: Configure the new version (e.g

Intellij's javaFX scene builder not working

这一生的挚爱 提交于 2019-12-11 01:55:44
问题 When I open .fxml file in IntelliJ IDEA 15 and swich to the SceneBuilder tab, I allways get an error page. I have checked a path to the SceneBuilder app and it is valid. I also can run the Scene Builder app without any problems. Can someone help me with this? The error it throws me on the Scene Builder tab: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

How do I import an existing Grails 3 (3.0.12) project in IntelliJ 15

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-10 17:30:49
问题 There's documentation on IntelliJ's website for creating a new Grails project, but importing a project is more sketchy and I cannot get it to work for me. If I tell IntelliJ to import a new project, and point it to my project directory, it does not recognize it as a Grails project. After the project imports, I can go to the Project menu, right click on the project and go to "add Framework support..." and select Groovy, but IntelliJ still does not recognize my project as a Grails project. For

Setting a module project in Scala as an sbt project?

删除回忆录丶 提交于 2019-12-10 10:43:22
问题 I'd like to know how to convert a regular scala project into an sbt project. I've tried manually creating an sbt file on the root directory, correctly implemented, but Intellij still doesn't recognize this as a sbt project, i.e, it won't show me in the "View -> Tool Windows" the "SBT" option. How should I go about this? What I'm actually attempting to do is to create an empty project with multiple (independent) modules. From what I've gathered there seems to be no way to add a module directly

Go tests debugging

不打扰是莪最后的温柔 提交于 2019-12-10 03:14:47
问题 Is there a way to debug tests in Go using an IDE like IntelliJ ? I am using the Go plugin for intelliJ and seems like when providing a debug configuration, the debug button is disabled. 回答1: It is possible in Gogland: 1.0 Preview, Build EAP 12, 172.3757.46 . This version has an expiration date: November 9, 2017, but there are already newer versions released and they probably have later expiration dates. 回答2: Currently it's not possible to debug tests, please watch over this issue to see when

org.testng.TestNGException: while trying to execute the tests

醉酒当歌 提交于 2019-12-08 18:11:28
问题 I have been working on a project using Android Studio since long. Today refactored some code and it started to break,so reverted the changes. Even after reverting the changes whenever I try to debug the code, I am ending up with following an exception : org.testng.TestNGException: org.xml.sax.SAXParseException; lineNumber: 3; columnNumber: 44; Attribute "parallel" with value "none" must have a value from the list "false methods tests classes instances ". at org.testng.TestNG

IntelliJ IDEA: ignore trivial methods in code coverage

寵の児 提交于 2019-12-08 14:48:40
问题 In IntelliJ IDEA 15.0.2 how can I ignore trivial getters and setters (trivial methods) during test coverage measurement? // should be measure public void complex() { fancy(); interesting(); dropDatabase(); } // should not be measured public int getNumber() { return this.number; } Measuring every line would result in 75%. Measuring only the above method would result in 100%. And those are 100% of the code useful for testing. How come I don't find anything about that on the Internet? Am I

Intellij Annotate Option Grayed Out

雨燕双飞 提交于 2019-12-04 15:07:03
问题 I am trying to look at who changed a line in Intellij 15. I know I can use git blame but I want to learn how to do it correctly in intellij. I am right clicking on the line numbers on the file but when I get the context menu the annotate option is grayed out. What setting am I missing? I looked at this page and couldn't find an answer. What am I missing? 回答1: Looks like its a fresh project. First configure the Version Control like Git and than commit at least once . After first commit

How do I keep IntelliJ from closing my Editor Tabs automatically?

落花浮王杯 提交于 2019-12-03 04:00:26
问题 When opening more than 10 Editor Tabs, IntelliJ automatically closes my least used Tab each time I open a new Tab. How can I increase this limit? More recent IntelliJ settings are accessed differently than older versions. 回答1: Change the Tab Limit under the Tab Closing Policy settings. Open your IntelliJ settings: Select File -> Settings -> Editor -> General -> Editor Tabs . Look for Tab Closing Policy -> Tab Limit and change the value to a higher integer. You can also select to either close

How do I keep IntelliJ from closing my Editor Tabs automatically?

风格不统一 提交于 2019-12-02 17:22:13
When opening more than 10 Editor Tabs, IntelliJ automatically closes my least used Tab each time I open a new Tab. How can I increase this limit? More recent IntelliJ settings are accessed differently than older versions. Heather92065 Change the Tab Limit under the Tab Closing Policy settings. Open your IntelliJ settings: Select File -> Settings -> Editor -> General -> Editor Tabs . Look for Tab Closing Policy -> Tab Limit and change the value to a higher integer. You can also select to either close non-modified files first or less frequently used files first once your tab limit has been