intellij-idea

IDEA Groovy test class already exists

谁说我不能喝 提交于 2021-01-18 13:51:51
问题 IDEA is giving my groovy class the warning `class "MyClassTest" already exists in "my.class.package". It also doesn't seem to be doing a very good job of keeping the class updated when I run the test. I'll add an assertion guaranteed to fail, or succeed and it won't recognize it until later (later so far seems arbitrary). Given that I have maven tests passing and running correctly I suspect this is simply an IDEA configuration problem here's my pom.xml <?xml version="1.0" encoding="UTF-8"?>

IDEA Groovy test class already exists

别等时光非礼了梦想. 提交于 2021-01-18 13:48:30
问题 IDEA is giving my groovy class the warning `class "MyClassTest" already exists in "my.class.package". It also doesn't seem to be doing a very good job of keeping the class updated when I run the test. I'll add an assertion guaranteed to fail, or succeed and it won't recognize it until later (later so far seems arbitrary). Given that I have maven tests passing and running correctly I suspect this is simply an IDEA configuration problem here's my pom.xml <?xml version="1.0" encoding="UTF-8"?>

Springboot Application exits immediately

廉价感情. 提交于 2021-01-18 07:13:00
问题 When I run my spring boot application , it exits immediately (with exit code 0 ) with this: \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v2.1.0.RELEASE) 2018-11-27 14:08:31.219 INFO 94920 --- [ restartedMain] c.springbootsecurity.jwt.JwtApplication : Starting JwtApplication on 1000810002637M.local with PID 94920 (/Users/723305/Documents/spring/springbootSecure/target/classes started by 723305 in

Springboot Application exits immediately

随声附和 提交于 2021-01-18 07:12:37
问题 When I run my spring boot application , it exits immediately (with exit code 0 ) with this: \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v2.1.0.RELEASE) 2018-11-27 14:08:31.219 INFO 94920 --- [ restartedMain] c.springbootsecurity.jwt.JwtApplication : Starting JwtApplication on 1000810002637M.local with PID 94920 (/Users/723305/Documents/spring/springbootSecure/target/classes started by 723305 in

Springboot Application exits immediately

谁说胖子不能爱 提交于 2021-01-18 07:10:35
问题 When I run my spring boot application , it exits immediately (with exit code 0 ) with this: \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v2.1.0.RELEASE) 2018-11-27 14:08:31.219 INFO 94920 --- [ restartedMain] c.springbootsecurity.jwt.JwtApplication : Starting JwtApplication on 1000810002637M.local with PID 94920 (/Users/723305/Documents/spring/springbootSecure/target/classes started by 723305 in

Find and replace regex in Intellij, but keep some of the matched regex?

99封情书 提交于 2021-01-18 02:48:45
问题 I changed an array to a list, so I want to change all instances of myObject[index] to myObject.get(index) where index is different integers. I can find these instances by doing `myObject\[.*\]` However, I am not sure what I should put in the replace line - I don't know how to make it keep the index values. 回答1: Use the following regex replacement: Find : myObject\[(.*?)\] Replace : myObject.get($1) If the index is an integer, you may replace (.*?) with (\d+) . The pair of unescaped

How to get logcat working on Intellij Idea on Flutter project?

。_饼干妹妹 提交于 2021-01-07 07:00:46
问题 Logcat simply won't appear when I open a Flutter project on Intellij Idea 2020.3. I'm using it instead of Android Studio because of Docker support. How can I see logcat? 回答1: View Menu -> Tool Windows -> logcat 来源: https://stackoverflow.com/questions/65334986/how-to-get-logcat-working-on-intellij-idea-on-flutter-project

How to get logcat working on Intellij Idea on Flutter project?

一世执手 提交于 2021-01-07 06:59:45
问题 Logcat simply won't appear when I open a Flutter project on Intellij Idea 2020.3. I'm using it instead of Android Studio because of Docker support. How can I see logcat? 回答1: View Menu -> Tool Windows -> logcat 来源: https://stackoverflow.com/questions/65334986/how-to-get-logcat-working-on-intellij-idea-on-flutter-project

How to get logcat working on Intellij Idea on Flutter project?

筅森魡賤 提交于 2021-01-07 06:59:43
问题 Logcat simply won't appear when I open a Flutter project on Intellij Idea 2020.3. I'm using it instead of Android Studio because of Docker support. How can I see logcat? 回答1: View Menu -> Tool Windows -> logcat 来源: https://stackoverflow.com/questions/65334986/how-to-get-logcat-working-on-intellij-idea-on-flutter-project

Adding class/jar file to IntelliJ IDEA

依然范特西╮ 提交于 2021-01-07 03:07:36
问题 Is there any way to add .class/.jar file to InelliJ IDEA, so that It will be added to every project created. I tried Adding .class to JDK lib/ext directory Adding it to IntelliJ lib directory 回答1: You can create a new library in File -> Project Structure -> Global Libraries. Then add your classes/jars to that library. This library will NOT be automatically added to every project you create. Because, this may not be desired in many cases. You have to add the library to projects manually. You