intellij-idea

Intellij plugin development print in console window

倖福魔咒の 提交于 2021-02-07 09:49:44
问题 I am new to Intellij Idea plugin development. So I am developing a simple plugin to print a string value in a tool window(similar to console window)! There are less examples when I searched the web! I have a slight understanding about the Intellij action system but is unable to figure out how to register the necessary action in the plugin.xml to print the string in a tool window! Following is my code import com.intellij.openapi.actionSystem.AnAction; import com.intellij.openapi.actionSystem

Android Studio is not showing quick fix lightbulb

淺唱寂寞╮ 提交于 2021-02-07 09:38:49
问题 Fresh Install of Android Studio, intellij is not showing me errors in the editor. No lightbulb, no red underlined text. To know where I made errors (even the simplest error like a missing ';' ) I have to compile my Android project . I'm on x64 all the way & Java JDK 1.7_40. Thanks ! 回答1: I found the answer ! Just on top of the right scrollbar there is a small eye icon, wich is called "Code Analysis", it should be green if the file opened in the code editor is without errors. So what was the

Intellij Idea Ecmascript Harmony modules syntax

萝らか妹 提交于 2021-02-07 06:27:05
问题 Im using Intellij Idea for some ES Harmony app. With modules syntax I want my IDE to do not highlight this as errors: import $ from "jquery"; I have turned ES Harmony support in project settings, but it does not help. Thanks! 回答1: In case somebody here is still experiencing Issues with ECMAScript 6, you have to enable it in IntelliJ. and after activating ecmascript, set it as JavaScript Language Version: 回答2: Try an EAP version, it technically has support but it is not currently working for

IntelliJ Fails Deploying exploded war to tomcat

放肆的年华 提交于 2021-02-06 16:15:00
问题 I have a Java web application I am developing in IntelliJ and deploying using Apache Tomcat. I have some run configurations defined that are shared between everyone on the team. These run configurations are defined to deploy an exploded war artifact into a local tomcat. Other team members are able to deploy and run just fine, but I get the following error: Artifact Gradle : project : project.war (exploded): Error during artifact deployment. See server log for details. Artifact Gradle :

IntelliJ Fails Deploying exploded war to tomcat

前提是你 提交于 2021-02-06 16:12:57
问题 I have a Java web application I am developing in IntelliJ and deploying using Apache Tomcat. I have some run configurations defined that are shared between everyone on the team. These run configurations are defined to deploy an exploded war artifact into a local tomcat. Other team members are able to deploy and run just fine, but I get the following error: Artifact Gradle : project : project.war (exploded): Error during artifact deployment. See server log for details. Artifact Gradle :

IntelliJ Fails Deploying exploded war to tomcat

ぃ、小莉子 提交于 2021-02-06 16:05:11
问题 I have a Java web application I am developing in IntelliJ and deploying using Apache Tomcat. I have some run configurations defined that are shared between everyone on the team. These run configurations are defined to deploy an exploded war artifact into a local tomcat. Other team members are able to deploy and run just fine, but I get the following error: Artifact Gradle : project : project.war (exploded): Error during artifact deployment. See server log for details. Artifact Gradle :

How can I disable IntelliJ using the Gradle run task to run my code?

∥☆過路亽.° 提交于 2021-02-06 15:13:41
问题 After updating IDEA, every time I debug a class in a new project only , it seems to be using the Gradle run task to run my code (despite using an "Application" run configuration, not "Gradle"!): 6:40:27 AM: Executing task 'Test.main()'... Connected to the target VM, address: '127.0.0.1:49580', transport: 'socket' > Task :compileJava UP-TO-DATE > Task :processResources NO-SOURCE > Task :classes UP-TO-DATE Connected to the VM started by ':Test.main()' (localhost:49597). Open the debugger

How can I disable IntelliJ using the Gradle run task to run my code?

随声附和 提交于 2021-02-06 15:13:19
问题 After updating IDEA, every time I debug a class in a new project only , it seems to be using the Gradle run task to run my code (despite using an "Application" run configuration, not "Gradle"!): 6:40:27 AM: Executing task 'Test.main()'... Connected to the target VM, address: '127.0.0.1:49580', transport: 'socket' > Task :compileJava UP-TO-DATE > Task :processResources NO-SOURCE > Task :classes UP-TO-DATE Connected to the VM started by ':Test.main()' (localhost:49597). Open the debugger

How to access mnemonics in Intellij 2017+ on Mac?

假装没事ソ 提交于 2021-02-06 12:44:46
问题 There is some evidence in the Intellij codebase they support ALT (/Meta)+ CTL - (mnemonic) in Mac. E.g: in platform/platform-api/src/com/intellij/openapi/MnemonicWrapper.java if (SystemInfo.isMac && Registry.is("ide.mac.alt.mnemonic.without.ctrl")) { And the corresponding resource value in ./platform/util/resources/misc/registry.properties is set to true : ide.mac.alt.mnemonic.without.ctrl=true However pressing those two modifier keys together with .. say .. F (for File in the main menu) does

How to Change Read-Only Status of Files in intellij

送分小仙女□ 提交于 2021-02-06 09:37:14
问题 I have a Java project and I want to modify it in intellij but I can't do it because of this " read-only file " or "file is not writable" , so how I can modify and execute it? 回答1: To toggle read-only attribute of a file, open file in the editor, or select it in the Project tool window. Do one of the following: On the main menu, choose File | File Properties | Make File Read-Only , or Make File Writable . Click the lock icon in the Status bar in the bottom right corner. 回答2: If IntelliJ IDEA