intellij-13

Intellij - Cannot start maven service - ExecutionException

天大地大妈咪最大 提交于 2019-12-06 00:43:45
I'm using Intellij 13.1.5 on Ubuntu 14.0.4 (amd64), Maven 3.0.5, Java Oracle 1.7.0_72 I noticed some irregularities with maven whilst using Intellij namely dependencies added and removed where not reflected in the module or in the External Libaries listing. Then when I ran Intellij from the shell I saw this exception: [ 14649] WARN - #org.jetbrains.idea.maven - Cannot open index /home/sbotting/.IntelliJIdea13/system/Maven/Indices/Index0 org.jetbrains.idea.maven.indices.MavenIndexException: Cannot open index /home/sbotting/.IntelliJIdea13/system/Maven/Indices/Index0 at org.jetbrains.idea.maven

intelliJ android UI rendering problems - Missing Library

断了今生、忘了曾经 提交于 2019-12-05 04:39:29
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 update IntelliJ IDEA org.jetbrains.android.uipreview.RenderingException: This version of the rendering

Intellij: Move tab left and right

情到浓时终转凉″ 提交于 2019-12-04 22:40:29
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? 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:// youtrack.jetbrains.net /issues/IDEA/ (they have a bad cert so I don't want to link directly) There's a plugin for

Intellij maven dependency prefer local code

时间秒杀一切 提交于 2019-12-04 20:47:30
问题 i'm working on a project in which i have an android application project which has pom dependencies on other projects something like this: <dependencies> <dependency> <groupId>some.project/groupId> <artifactId>some.artifact<artifactId> <version>1.0.0</version> <type>apklib</type> </dependency> </dependencies> while developing i always want Intellij to use the local source code from the some.project library i have in the project. the problem is it will pull version 1.0.0 from the server and use

IntelliJ IDEA 13: new Scala SBT project hasn't src directory structure generated

…衆ロ難τιáo~ 提交于 2019-12-04 08:26:53
问题 I followed the getting start video on Jetbrains website to setup IntelliJ IDEA 13.1 Community Edition to work with Scala. Scala plugin v0.36.431 had been installed. While I created a new Scala SBT project with wizard, there was no src/ directory structure generated in the project. Only two sbt files were generated: scala-course/ ├── build.sbt └── project └── plugins.sbt From the video and other document I know that there should be a src/ directory structure, including src/main/scala , src

IntelliJ IDEA 13.1 keeps asking credentials for SVN

柔情痞子 提交于 2019-12-04 05:34:04
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 (which, as I mentioned, works when I connect with TortoiseSVN). I can also connect from the SSH terminal

Intellij idea, detach editor window

一笑奈何 提交于 2019-12-03 16:58:02
问题 I have recently removed tabs from my Intellij setup, because with all the features available to navigate between files, who needs them? The issue is, the normal way of detaching an editor window would be to drag the tab onto another screen (or area). There doesn't appear to be anything in the key mappings for detaching an editor window. Is there a way of doing this via the keyboard? 回答1: The keyboard shortcut your are looking for is SHIFT + F4 (the action assigned to this shortcut is called

Module … is not backed by gradle

别来无恙 提交于 2019-12-03 10:20:58
问题 I'm using IntelliJ IDEA Pro 13.1.2. Never used any versions below 13. When trying to run build.gradle from IDE I get the message: Module is not backed by gradle I can run this script from the command line just fine. The "root" directory has both .gradle and gradle sub-directories and, in general its structure is very similar to another module from the same project where I can run its build from IDE without problems. Any suggestions on further troubleshooting? 回答1: If you didn't set up the IDE

Set java system properties in IntelliJ or Eclipse

≯℡__Kan透↙ 提交于 2019-12-03 08:19:46
问题 I have a project which runs correctly under the terminal command mvn package exec:java -Dplatform.dependencies -Dexec.mainClass=Demo Now, I need to debug it correctly (not terminal) with IntelliJ or Eclipse on Mac (preferably IntelliJ) but I have tried setting VM options in various places and nothing seems to work. Where is the correct place to put these options: -Dplatform.dependencies -Dexec.mainClass=Demo? 回答1: In InteliJ goto "Run"->"Edit Configurations" In the new window, right panel,

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

不羁的心 提交于 2019-12-03 08:16:32
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? 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 and select 'Run Another Configuration' then select the maven build. The Result should like the below image.