intellij-idea

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?

How to disable Android Studio / IntelliJ IDEA clipboard management on OSX

你。 提交于 2020-08-21 06:05:10
问题 I'm using ClipMenu for managing my clipboard on OSX. The clipboard stacking/mgt feature of Android Studio interferes with ClipMenu's features and I'm looking for a way to disable this feature in Android Studio. Does anyone have experience with this? I already tried: Removing Copy & Paste Shortcuts in Android Studio (to maybe get the system behaviour back) -> Copy & Paste disabled in Android Studio Setting "Maximum number of contents to keep in clipboard" to 0 or 1 apart from that I did not

How to disable Android Studio / IntelliJ IDEA clipboard management on OSX

守給你的承諾、 提交于 2020-08-21 06:05:02
问题 I'm using ClipMenu for managing my clipboard on OSX. The clipboard stacking/mgt feature of Android Studio interferes with ClipMenu's features and I'm looking for a way to disable this feature in Android Studio. Does anyone have experience with this? I already tried: Removing Copy & Paste Shortcuts in Android Studio (to maybe get the system behaviour back) -> Copy & Paste disabled in Android Studio Setting "Maximum number of contents to keep in clipboard" to 0 or 1 apart from that I did not

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

In intellij 2020.1, when I hit play in debugger, how to stop it from switching threads? (not duplicate)

限于喜欢 提交于 2020-08-20 11:29:29
问题 I perhaps was not clear enough in this question https://stackoverflow.com/questions/62958507/how-to-have-intellij-play-just-the-thread-i-am-debugging-like-eclipse-does so it was marked as duplicate of switching between threads in Intellij Idea but I did that and changed my breakpoint suspend policy to 'Thread'. This did not change the behavior at all so I am providing code now here. Here is my code for this test public class TestDebugger { private static final Logger log = LoggerFactory

switching between threads in Intellij Idea

旧巷老猫 提交于 2020-08-17 03:33:39
问题 How to switch between threads of a suspended program? or Any tutorial on multi-threaded debugging with Intellij Idea describing basic features - suspend, resume, switch between threads. very good tutorials/step-by-step guide available for Netbeans: e.g. https://netbeans.org/kb/docs/java/debug-multithreaded.html 回答1: Trick is to set breakpoint suspend policy to - Thread. View breakpoint properties (right-click on breakpoint) Once done threads will hit breakpoint and block, now active thread

switching between threads in Intellij Idea

↘锁芯ラ 提交于 2020-08-10 19:20:29
问题 How to switch between threads of a suspended program? or Any tutorial on multi-threaded debugging with Intellij Idea describing basic features - suspend, resume, switch between threads. very good tutorials/step-by-step guide available for Netbeans: e.g. https://netbeans.org/kb/docs/java/debug-multithreaded.html 回答1: Trick is to set breakpoint suspend policy to - Thread. View breakpoint properties (right-click on breakpoint) Once done threads will hit breakpoint and block, now active thread

How to include Kotlin PSI classes (e.g. KtClass) in Intellij IDEA Gradle plugin project written in Kotlin?

杀马特。学长 韩版系。学妹 提交于 2020-08-09 04:43:56
问题 I am trying to write a plugin to add mock data to a Kotlin project. The first part involves finding all the Kotlin classes in the current project that inherits from a specific base class. I want to be able to parse these classes to read the value of an annotation and to get the structure of the constructor. This information will then be used to add code to the project adding instances of selected classes to a mock database instance. I have been using the PsiViewer plugin to inspect the PSI

IntelliJ- Android Schema URI not registered

匆匆过客 提交于 2020-08-08 11:09:08
问题 I'm programming an Android app that uses Gradle. However, in the .xml files and Android Manifest, the URL for Android Schemas are "Not registered". This problem has been a nuisance and have spent hours trying to get it fixed. I have looked through: 1: Intellij Android project schema URI not registered? 2: If I change an external library: AndroidManifest, cannot parse file I cannot just create a new project because this application is not only developed only by me but a small team. The code is

IntelliJ- Android Schema URI not registered

我的未来我决定 提交于 2020-08-08 11:06:19
问题 I'm programming an Android app that uses Gradle. However, in the .xml files and Android Manifest, the URL for Android Schemas are "Not registered". This problem has been a nuisance and have spent hours trying to get it fixed. I have looked through: 1: Intellij Android project schema URI not registered? 2: If I change an external library: AndroidManifest, cannot parse file I cannot just create a new project because this application is not only developed only by me but a small team. The code is