intellij

How to export IntelliJ theme?

匿名 (未验证) 提交于 2019-12-03 03:05:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: When i modified my color scheme, IntelliJ asked me to save it as a new one. Is is possible for me to export this theme on one computer in order to reimport to a different one? 回答1: File | Export Settings (enable just the Color Schemes or the set of options that you need to export). On another machine use File | Import Settings . See also the help section . 回答2: If you just want a way to only export the color scheme: Go to File | Settings on Windows or IntelliJ IDEA | Preferences on Mac. Then, go to Editor → Color Scheme , click the icon that

Intellij: What is the shortcut for going to the next/previous error?

匿名 (未验证) 提交于 2019-12-03 03:04:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: In Eclipse, if you press CTRL+1, the cursor is set on the first error and there the IDE presents you some solutions. In IDEA, you press ALT+ENTER for some solutions, but I don't know how to make the cursor to go to the error. 回答1: F2 can be used to navigate through all errors/warnings in current file in circle. After compilation: Ctrl + Alt + Arrow Up/Down can be used to navigate through any results: search results/compilation results. 回答2: Besides, you can choose going to next error only (ignore warning) by: Right click the Validation Side

How do I make the “Java Hot Spot MaxPermSize” warning go away when using IntelliJ or Play?

匿名 (未验证) 提交于 2019-12-03 03:04:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I get this warning when I launch IntelliJ or run play in a Play project. Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512M; support was removed in 8.0 How do I make it go away? The answer to the same question for Maven says to remove MaxPermSize option from the MAVEN_OPTS environment variable. I don't have a MAVEN_OPTS variable set on my machine. I imagine there is some similar sbt setting, but I don't know where it is. I see lots of explanations about what the change to Java is, but I don't see any tips for how to

IntelliJ include external JARS in JavaFX JAR file

匿名 (未验证) 提交于 2019-12-03 03:04:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: How can I include all the jar files under lib in my main jar file produced ? Is IntelliJ meant to create JAR files or not ? Cause I can't seem to make it work. Here are some screens from my setup: And the result: Could somebody explain to me why the other JAR file is generated outside my main JAR file? AM I supposed to ship 2 JARS? 回答1: Go like this for one jar: Right click > Open Module Settings > Artifacts > + > JAR > From module with dependencies Then choose main class and select EXTRACT TO TARGET JAR , then press ok. And close

IntelliJ Maven “Error: Invalid or corrupt jarfile”

匿名 (未验证) 提交于 2019-12-03 02:57:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm using IntelliJ to develop Java Desktop applications. On my project, I added framework support for Maven and added a dependency to the pom.xml file. I also added a build artifact like described here (I would also appreciate if this question gets answered). Now that my project has Maven support, the generated JAR file no longer works. When I try to launch it, it displays the error Error: Invalid or corrupt jarfile MyProject.jar . When I open the JAR file using WinRAR , there is no MANIFEST.MF file included, only folders and CLASS files.

Intellij spring integration flow diagram

匿名 (未验证) 提交于 2019-12-03 02:56:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: In Intellij do we have a feature to generate a flow diagram for message/event processing in various spring integration channels? Given a complex spring integration XML config file with various transformers, inbound, outbound channels and service-activators, is there a way to pictorially view the flow across all these channels? Is there any tool for such diagram generation? Note: its not just spring beans diagrams but actual message flow using spring integration 回答1: Found it myself. In Intellij, open the spring integration xml file and right

IntelliJ Maven “Error: Invalid or corrupt jarfile”

匿名 (未验证) 提交于 2019-12-03 02:56:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm using IntelliJ to develop Java Desktop applications. On my project, I added framework support for Maven and added a dependency to the pom.xml file. I also added a build artifact like described here (I would also appreciate if this question gets answered). Now that my project has Maven support, the generated JAR file no longer works. When I try to launch it, it displays the error Error: Invalid or corrupt jarfile MyProject.jar . When I open the JAR file using WinRAR , there is no MANIFEST.MF file included, only folders and CLASS files.

How to use Java EE IntelliJ IDEA community edition

匿名 (未验证) 提交于 2019-12-03 02:56:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I only have the community edition of IntelliJ IDEA so it doesn't have the full support, but all I want it to do is compile and recognize Java EE classes. So far, I've gotten it to work by copying all of the JAR files in glassfish->modules into my project folder and then setting my module dependencies on that folder. Is there some other way to do this without copying over hundreds of JAR files or is it not possible without upgrading to the full version? 回答1: Configure a global library for your application server jars and add this global

IntelliJ 15, SpringBoot devtools livereload not working

匿名 (未验证) 提交于 2019-12-03 02:56:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Having issues with the new LiveReload feature with Spring Boot devtools 1.3. It doesn't reload on class changes. I've seen it demo'd with IntelliJ @ Devoxx 2015. Is there some IDE setting I need to have enabled? I'm running via the IDE and not through Gradle. I tried enabling "Make project automatically" which doesn't seem to help. It seems to load correctly and is looking in the correct path 2015-11-23 05:55:30.592 DEBUG 4700 --- [ restartedMain] o.s.boot.devtools.restart.Restarter : Starting application com.myapp.Application with URLs

Intellij IDEA 14: Error Loading Project: Cannot load module cars-service

匿名 (未验证) 提交于 2019-12-03 02:54:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: With my last restart of my mac I had a problem with IntelliJ IDEA project : the .iml file was deleted and I have Error loading project: cannot load module cars-service Details .... in the console. Besides that, the structure view of the project has disapeared. Here is a screenshot: 回答1: Finally, I imported my project via import project so the iml file was recreated. 回答2: This happened to me this morning*, and fortunately there's a fairly straightforward solution. Press Ctrl+Alt+Shift+S (or go to File > Project Structure... ) and click