intellij-14

How to manually install IntelliJ IDEA patch update?

心已入冬 提交于 2020-08-22 05:53:07
问题 I get the following connection error while updating IntelliJ behind proxy (the proxy ping in IntelliJ is working though): Connection Error: Failed to prepare an update: Cannot download 'http://download.jetbrains.com/idea/IU-xxx-patch-win.jar': Connection closed at byte 17920. Expected 20941088 bytes. , response: 200 OK Open download page. Solution? I was able to download the file ...patch-win.jar via a browser. How can I now install this patch manually for IntelliJ in a Windows environment?

IntelliJ autocomplete to replace the function name

有些话、适合烂在心里 提交于 2020-08-21 05:03:09
问题 I've switched from Eclipse to IntelliJ and there is something which I couldn't find yet nor google: How to get the autocomplete to replace the name of the function? In Eclipse, it would be the ctrl + enter functionality. For example, userController.setAmount(); suppose I would like not to call the setAmount() but a setDefaultPassword() , I place my caret after the set then ctrl + space to autocomplete, the setDefaultPassword() shows up but if I press enter, it won't replace Amount() and I'll

AS IDE font unreable

一个人想着一个人 提交于 2020-08-06 06:10:56
问题 I changed my windows system font to Google Sans which I like very much but now android studio ide font is not being displayed properly. How do I fix it, I do want to keep my system font though. 回答1: After some digging I found a file in C:\Users\USERNAME\.AndroidStudio4.0\config\options called ui.Inf.xml which was <application> <component name="UISettings"> <option name="SHOW_MAIN_TOOLBAR" value="true" /> <option name="SHOW_MEMORY_INDICATOR" value="true" /> <option name="SHOW_NAVIGATION_BAR"

AS IDE font unreable

℡╲_俬逩灬. 提交于 2020-08-06 06:10:15
问题 I changed my windows system font to Google Sans which I like very much but now android studio ide font is not being displayed properly. How do I fix it, I do want to keep my system font though. 回答1: After some digging I found a file in C:\Users\USERNAME\.AndroidStudio4.0\config\options called ui.Inf.xml which was <application> <component name="UISettings"> <option name="SHOW_MAIN_TOOLBAR" value="true" /> <option name="SHOW_MEMORY_INDICATOR" value="true" /> <option name="SHOW_NAVIGATION_BAR"

How to safe change the type of a variable intellij?

独自空忆成欢 提交于 2020-06-27 09:18:08
问题 Suppose I have a class like this. Public class MyClass{ private String id; public Myclass(String id){ this.id = id; } public String getId(){ return id; } public void setId(String id){ this.id = id; } } And suddenly I want to change the type of id into Integer . Is there a way to do that with intellij without breaking usages? 回答1: Highlight the type of field and press Ctrl + Shift + F6 or Highlight the type of field, Right-Click -> Refactor -> Type migration or Highlight the type of field,

How to safe change the type of a variable intellij?

筅森魡賤 提交于 2020-06-27 09:18:08
问题 Suppose I have a class like this. Public class MyClass{ private String id; public Myclass(String id){ this.id = id; } public String getId(){ return id; } public void setId(String id){ this.id = id; } } And suddenly I want to change the type of id into Integer . Is there a way to do that with intellij without breaking usages? 回答1: Highlight the type of field and press Ctrl + Shift + F6 or Highlight the type of field, Right-Click -> Refactor -> Type migration or Highlight the type of field,

What are the `^let` annotations in Android Studio / IntelliJ?

﹥>﹥吖頭↗ 提交于 2020-06-25 09:11:33
问题 In a let block, I sometimes see ^let annotations before my statements, and it's not clear to me what they mean or why they are there. Is it to indicate that a value will be returned as the value of the let call? Screenshot: 回答1: These do in fact show you that those values are going to be returned from the let expression. If you move to cursor to one of these hints and open intention actions (Alt + Enter), you get the option "Do not show lambda return expression hints ", which I suppose is the

no executable code found at line intellij 14

六眼飞鱼酱① 提交于 2020-06-24 16:38:10
问题 I am unable to debug remote applications due to: No executable code at line I am running ultimate edition of Intellij, version 14.0.3. My application is running inside tomcat 8 and i'm building it from the command line using Maven. This problem appeared after i switched from the community edition to the ultimate edition. Project sources are the same and I am able to connect to tomcat for remote debugging. The only issue is that all my breakpoints are invalidated. Please advice on how to fix