intellij-13

IntelliJ Column Selection using Cursor Keys

∥☆過路亽.° 提交于 2019-12-18 10:19:33
问题 Is it possible to some how setup IntelliJ IDEA so that I can column select with the cursor keys similarly to how I might in Notepad++, Visual Studio, or FlashDevelop. For instance when I'm typing code I almost always do my navigation solely through use of the keyboard. In the IDEs mentioned previously I can quickly select blocks of code by holding Shift + Alt then tapping ↑ to extend my cursor across the lines above. I can then hold Shift + Alt + Ctrl and tap ← or → to quickly jump across

Debugger port not opening

偶尔善良 提交于 2019-12-11 14:31:50
问题 For some reason when i run my Spring application from intellij some task is not being executed because of which my stub server responds with a error.So i tried to start it through a pre-written go script in my project and it worked. But now attaching debugger becomes a problem because i have started my application from terminal. I tried doing a remote debug by setting a remote configuration in intellij and setting the port as 8000 but i keep getting the error "Connection refused" Below is the

Using autosuggest on dependency jars that are downloaded by Gradle

霸气de小男生 提交于 2019-12-11 08:25:39
问题 I'm pretty new to Gradle and IntelliJ and I'm trying to understand how it works [cos that's what my project uses]. I created a simple java project in Intellij IDEA with a HelloWorld class and manually added the gradle.build file along with the necessary dependencies as follows: apply plugin: 'java' apply plugin: 'idea' apply plugin: 'application' mainClassName = 'main.java.test.HelloWorld' dependencies { compile 'joda-time:joda-time:2.2' } repositories { mavenLocal() mavenCentral() } jar {

IntelliJ change markers reflecting local changes instead of VCS changes?

删除回忆录丶 提交于 2019-12-11 03:04:49
问题 One feature I really like about IntelliJ is the change markers displayed in the gutter of a file under version control. However, my current system seems to have gotten itself into a state where that area now shows only local changes, not changes with respect to git. I can't find the setting to switch it back. Is anyone aware of how to do this? I'm using IntelliJ 13.1 community edition on a Mac. Changes are shown in the project navigation window, so I know it's a settings issue, not that the

intelliJ android UI rendering problems - Missing Library

橙三吉。 提交于 2019-12-10 04:22:57
问题 After much headbashing i seem to have got my first hello world app running within IntelliJ ultimate. I downloaded the lastest ultimate edition today. When I try and open the main.xml in the UI designer I get the error below. Can anyone help? I liked the look of the UI designer from the videos that intelliJ provider here: http://www.jetbrains.com/idea/features/android-tutorials.jsp Thanks in advance This version of the rendering library is more recent than your version of IntelliJ IDEA. Please

Intellij: Move tab left and right

╄→尐↘猪︶ㄣ 提交于 2019-12-10 00:48:04
问题 Is there a way to move/reposition a tab using the keyboard? I know I can switch tab using ALT + LEFT/RIGHT, and I would like to be able to move them maybe using ALT + SHIFT + LEFT/RIGHT. Is this possible? 回答1: My research suggests there's no way to do this (currently). There is a "Move Right" and a "Move Down" but that just splits the tab groups vertically and horizontally, respectively. There's no key binding that seems related to this, either. Perhaps suggest it as a feature: https://

IntelliJ IDEA 13.1 keeps asking credentials for SVN

梦想的初衷 提交于 2019-12-09 18:20:38
问题 I'm working with IntelliJ IDEA 13.1.4 and trying to get it to work with Subversion. My working copies are in the Subversion 1.8 format, and I can commit/update/etc. perfectly with TortoiseSVN 1.8. When I try to do the same thing in IDEA, it keeps asking for my credentials, even when I check the "Save credentials" box. Even after entering ten times, the dialog keeps popping up. I have to click "Cancel" and can't use Subversion from within IDEA. I'm trying to connect to a SVN+SSH repository

Running Tomcat Server with an artifact created by Maven into IntelliJ 13

故事扮演 提交于 2019-12-09 06:04:18
问题 It it is possible generate an artifact with maven before a Tomcat Server Run/Debug Configuration of IntelliJ 13? I have tried to do something like this, using Maven profiles, in order to build the system for Development, Preview and Production environments. Any Thoughts? 回答1: To build a artifact with a profile you have to create a Maven Run/Debug configuration as in the following image Then In Tomcat Run/Debug Configuration add above build in 'Before Launch' section by clicking the '+' button

Intellij IDEA java.lang.NoSuchMethodError: scala.collection.immutable.$colon$colon.hd$1()Ljava/lang/Object

孤街浪徒 提交于 2019-12-09 05:19:02
问题 I have a following function: def removeLast(list: List[Int]): List[Int] = list match { case List() => List() case List(x) => List() case x :: xs => x :: removeLast(xs) } When I define it and use it from the sbt console everything works just fine. But when I create a worksheet in Intellij IDEA and try to run it then the following exception appears: java.lang.NoSuchMethodError: scala.collection.immutable.$colon$colon.hd$1()Ljava/lang/Object; at week5.A$A26$A$A26.removeLast(lists

How To Specify main class when using fatjar plugin in gradle.build

我怕爱的太早我们不能终老 提交于 2019-12-06 18:33:37
问题 I am interested in building a single jar containing all the module dependencies and external jars in a single executable jar file which I will be able to run with java -jar myApp.jar . I have module A which is dependent on module B. Currently I'm using gradle, and my build.gradle script looks like this: apply plugin: 'fatjar' description = "A_Project" dependencies { compile project(':B_Project') compile "com.someExternalDependency::3.0" } When I build it through gradle command: clean build