intellij-idea

Android Studio 3.3 folder icons

自古美人都是妖i 提交于 2021-02-06 08:49:49
问题 On the new Android Studio 3.3 some icons have change and I'm looking to understand what each one of the mean. This and this answers are outdated. For example in this picture I have two modules inside my project, but one have a green dot and the other this bar chart. What it means? 回答1: There's two components to the tree: The background color/folder color, and additional icons. Beyond this, there's also the text color, but it's mainly used for VCS and is beyond the scope of the question. See

Android Studio 3.3 folder icons

我的未来我决定 提交于 2021-02-06 08:47:21
问题 On the new Android Studio 3.3 some icons have change and I'm looking to understand what each one of the mean. This and this answers are outdated. For example in this picture I have two modules inside my project, but one have a green dot and the other this bar chart. What it means? 回答1: There's two components to the tree: The background color/folder color, and additional icons. Beyond this, there's also the text color, but it's mainly used for VCS and is beyond the scope of the question. See

Android Studio 3.3 folder icons

◇◆丶佛笑我妖孽 提交于 2021-02-06 08:46:09
问题 On the new Android Studio 3.3 some icons have change and I'm looking to understand what each one of the mean. This and this answers are outdated. For example in this picture I have two modules inside my project, but one have a green dot and the other this bar chart. What it means? 回答1: There's two components to the tree: The background color/folder color, and additional icons. Beyond this, there's also the text color, but it's mainly used for VCS and is beyond the scope of the question. See

Intellij 12 - Can't Reimport Module

房东的猫 提交于 2021-02-05 19:39:58
问题 So I ran into a strange problem today. I was having some issues with one of my modules in IntelliJ so I decided I should try blowing it out and rebuilding it from a fresh checkout. I deleted the module from the Project window and then deleted / redownloaded from my file system. I went back to Intellij and tried importing the module. It took me through the normal steps of selecting options and then seemed to succeed. Only it didn't reappear in my projects window. I'm not sure what I did, but

Intellij 12 - Can't Reimport Module

冷暖自知 提交于 2021-02-05 19:35:12
问题 So I ran into a strange problem today. I was having some issues with one of my modules in IntelliJ so I decided I should try blowing it out and rebuilding it from a fresh checkout. I deleted the module from the Project window and then deleted / redownloaded from my file system. I went back to Intellij and tried importing the module. It took me through the normal steps of selecting options and then seemed to succeed. Only it didn't reappear in my projects window. I'm not sure what I did, but

“Cannot resolve symbol” for all classes from external library in Intellij

孤人 提交于 2021-02-05 08:38:05
问题 I have an Intellij project that uses Gradle. I've added an external dependency in the form of a JAR file in the libs folder, and added it to build.gradle using this: compile fileTree(dir: 'libs', include: '*.jar') Intellij recognizes it as a dependency, since it allows me to browse the file and view its contents, plus it suggests the packages I can import. However, I can't use any of the classes contained. Intellij says Cannot resolve symbol '[classname]' . This occurs in both the library

unicode output java windows cmd

早过忘川 提交于 2021-02-05 07:18:06
问题 I'm new to java so excuse me if this is commong knowldge but I have searched hard and couldn't find anything helpful, relevant or understandable(Which is odd considering I'm a C developer!). My question is "How can I make java print a Unicode string in the windows shell ?". For simplicity say I have the hello world code in another language(ex: "سلام") and I want to display it in the shell (actually i want to get Unicode too, but first I have to figure this one out). This works perfectly in

How do I connect to Hive from spark using Scala on IntelliJ?

痞子三分冷 提交于 2021-02-05 06:50:52
问题 I am new to hive and spark and am trying to figure out a way to access tables in hive to manipulate and access the data. How can it be done? 回答1: in spark < 2.0 val sc = new SparkContext(conf) val sqlContext = new org.apache.spark.sql.hive.HiveContext(sc) val myDataFrame = sqlContext.sql("select * from mydb.mytable") in later versions of spark, use SparkSession: SparkSession is now the new entry point of Spark that replaces the old SQLContext and HiveContext. Note that the old SQLContext and

Intellij idea plugin development - hot reload?

僤鯓⒐⒋嵵緔 提交于 2021-02-05 04:49:36
问题 I'm creating some plugin to intellij idea. Each time I'm changing code I need to re run app. Is there something like hot reload or similar thing? Or more efficient way? 回答1: I believe you are looking for the Run -> Reload Changed Classes It usually works well with small changes. 回答2: New versions of IntelliJ products support "Dynamic Plugins", which means restarting the development instance unnecessary. From https://www.jetbrains.org/intellij/sdk/docs/basics/plugin_structure/dynamic_plugins

Intellij idea plugin development - hot reload?

生来就可爱ヽ(ⅴ<●) 提交于 2021-02-05 04:47:27
问题 I'm creating some plugin to intellij idea. Each time I'm changing code I need to re run app. Is there something like hot reload or similar thing? Or more efficient way? 回答1: I believe you are looking for the Run -> Reload Changed Classes It usually works well with small changes. 回答2: New versions of IntelliJ products support "Dynamic Plugins", which means restarting the development instance unnecessary. From https://www.jetbrains.org/intellij/sdk/docs/basics/plugin_structure/dynamic_plugins