Add IDEA action to show raw FIR of currently opened file

This action works correctly with fir.enabled=true in Gradle properties
This commit is contained in:
Simon Ogorodnik
2018-03-15 15:34:14 +03:00
committed by Mikhail Glukhikh
parent e5f0f2489f
commit 8a5a43d670
14 changed files with 422 additions and 3 deletions
+11
View File
@@ -29,12 +29,23 @@ val projectsToShadow by extra(listOf(
":eval4j",
":idea:formatter",
":compiler:psi",
*if (project.findProperty("fir.enabled") == "true") {
arrayOf(
":compiler:fir:cones",
":compiler:fir:resolve",
":compiler:fir:tree",
":compiler:fir:psi2fir"
)
} else {
emptyArray()
},
":compiler:frontend",
":compiler:frontend.java",
":compiler:frontend.script",
":idea:ide-common",
":idea",
":idea:idea-native",
":idea:fir-view",
":idea:idea-core",
":idea:idea-gradle",
":idea:idea-gradle-native",