How to increase the memory heap size on IntelliJ IDEA?

Use Help | Edit Custom VM Options… An editor will open automatically for the right .vmoptions file, adjust the value of -Xmx, save and restart IntelliJ IDEA: Check these documents from IntelliJ IDEA knowledge base for more details: Configuring JVM options and platform properties The JVM could not be started. The main method may have … Read more

How to specify IntelliJ Exclude Directories using Gradle?

As shown in the Gradle Build Language Reference, you can configure the idea.module.excludeDirs property, which is of type List<File>. Apparently IDEA doesn’t support including subdirectories of excluded directories, so you’ll have to exclude all siblings of build/generated-sources. For example: idea { module { excludeDirs = [file(“.gradle”)] [“classes”, “docs”, “dependency-cache”, “libs”, “reports”, “resources”, “test-results”, “tmp”].each { … Read more

IntelliJ IDEA Report Highlighting error when using routes in Controller

millhouse’s answer helped me find the right answer. Play 2.2 (and perhaps earlier versions, haven’t checked) output a scala version of the routes file to project_dir/target/scala-2.10/src_managed/main So for IntelliJ to get the highlighting right you need to make sure that src_managed/main is added as a source folder. The reverse routes for javascript are for some … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)