Posts

Showing posts with the label intellij-idea

No Angular syntax coloration in Intellij

Image
Clash Royale CLAN TAG #URR8PPP No Angular syntax coloration in Intellij I recently imported an existing project into IntelliJ that uses Angular6+ and Typescript. Unfortunately, I can't get the syntax coloration to work as expected (see image below), even though IntelliJ did recognize Typescript at some point and I downloaded the AngularJS plugin from this adress and copied it in the Idea > plugins folder. I then followed this Jet Brains Angular page but I still don't see coloration in my code (you can however see what I expect on the capture "Generating code with Angular Schematics"). Has anyone ever experienced the same problem ? Thanks in advance for any help you can provide ! [edit] Here's the image of what I get : Syntax coloration no working Are you using IntelliJ IDEA Ultimate? – yole 23 hours ago ...

Why does IntelliJ seem to import my scala libraries twice?

Image
Clash Royale CLAN TAG #URR8PPP Why does IntelliJ seem to import my scala libraries twice? I have just started trying to use Scala with IntelliJ. I created a new project as per the instructions in: https://docs.scala-lang.org/getting-started-intellij-track/getting-started-with-scala-in-intellij.html I installed scala 2.12.6 using Homebrew and selected that when creating my new Scala project in IntelliJ. For some reason, under External Libraries, I have every jar inside the scala installation twice: I created a hello world and when I try to run it, and I got this error: Error:scalac: Multiple 'scala-library*.jar' files (scala-library.jar, scala-library.jar) in Scala compiler classpath in Scala SDK scala-sdk-2.12.6 However inside the Scala libraries folder there is only one jar of each. I'm not sure what I'm doing wrong here. I've tried other versions of Scala, but got the same results. By clicking ...