Dmitry Kandalov
03/02/2019, 6:45 PMSlackbot
03/21/2019, 7:11 AMDmitry Kandalov
06/10/2019, 6:09 PMbuild.gradle
for a plugin I can specify other plugins it depends, e.g.
intellij {
plugins = ["github", "junit"]
}
however it doesn’t work with build.gradle.kts
, e.g.
configure<IntelliJPluginExtension> {
plugins = arrayOf("") // <-- Val cannot be reassigned
}
Is it a bug?Dmitry Kandalov
06/10/2019, 6:50 PMLATEST-EAP-SNAPSHOT
tests extending LightPlatformCodeInsightFixtureTestCase
recently started failing with
CompositeException (2 nested):
------------------------------
[0]: java.lang.ClassNotFoundException: com.intellij.stats.sender.SenderComponent
[1]: CompositeException (2 nested):
------------------------------
[0]: CompositeException (4 nested):
------------------------------
[0]: java.lang.ClassNotFoundException: com.android.tools.idea.apk.viewer.ApkFileSystem
[1]: cannot create class "com.intellij.openapi.actionSystem.DefaultActionGroup" [Plugin: com.intellij]
[2]: Unknown macro: $ROOT_CONFIG$ in storage file spec: $ROOT_CONFIG$
[3]: java.lang.ClassNotFoundException: com.android.tools.idea.apk.viewer.ApkFileSystem
I don’t think my project depends on SenderComponent
or ApkFileSystem
. Does anyone know why this might happen?m
07/10/2019, 1:26 PMStructural Search
command in Intellij IDEA?..Dmitry Kandalov
07/31/2019, 3:44 PMUH-OH! Verification Error
page which forces me to verify email. But the email verification link (pointing to https://hub.jetbrains.com/users/xxx-my-user-id) returns 404: Nope, can't find it!
. Does anyone know if this is a temporary issue or I fell through the cracks of enterprise applications and need advanced admin help?raulraja
08/29/2019, 7:13 PMBrian Estrada
10/07/2019, 9:10 AMSlackbot
11/01/2019, 8:20 PMFoso
11/11/2019, 6:45 PMcaffeine
12/01/2019, 9:09 PMkpgalligan
12/10/2019, 1:08 PMkpgalligan
01/04/2020, 8:16 PMKtClass
instance. This seems to work in other contexts, but for some reason I’m stuck in one specific case. I have a KtProperty
and am trying to get the type of it’s parent KtClass
. I’m quite new to the Kotlin PSI, so I’m mostly just hacking around to figure things out. I’m sure I’m doing something quite wrong, but any tips would be appreciated. More detail here: https://intellij-support.jetbrains.com/hc/en-us/community/posts/360006941519-Getting-class-type-from-KtClasscaffeine
01/07/2020, 12:41 PMAhmed Mourad
03/05/2020, 12:07 PMlanguage
attribute:
<idea-plugin>
<!-- ... -->
<depends>org.jetbrains.kotlin</depends>
<extensions defaultExtensionNs="org.jetbrains.kotlin">
<!-- ... -->
</extensions>
<extensions defaultExtensionNs="com.intellij">
<lang.inspectionSuppressor
language="kotlin" <!-- Unresolved reference -->
implementationClass="MyInspectionSuppressor"
order="first"
/>
</extensions>
raulraja
03/12/2020, 5:52 PMadev_one
03/14/2020, 12:14 PM2019.1
to 2019.2
Cannot access 'com.intellij.psi.PsiModifiableCodeBlock' which is a supertype of 'org.jetbrains.kotlin.psi.KtProperty'. Check your module classpath for missing or conflicting dependencies
My build.gradle
:
https://github.com/adevone/summer-plugin/blob/bugfix/psi_modifiable_code_block/build.gradle
Whole plugin sources:
https://github.com/adevone/summer-plugin/blob/bugfix/psi_modifiable_code_blockadev_one
03/20/2020, 8:07 AMDmitry Kandalov
03/28/2020, 4:11 PMWindowManagerListener.frameCreated()
is not called anymore in the latest IJ versions. Does anyone know if this is a bug or intentional (there are no deprecation annotations on WindowManagerListener
though)?gammanik
04/02/2020, 3:32 PMsetIdeaIoUseFallback()
val engine = ScriptEngineManager().getEngineByExtension("kts")!!
I’ve added dependencies and /services/javax.script.ScriptEngineFactory
file. But the engine is actually null. There is no factory for Kotlin in
ScriptEngineManager().engineFactories
dephinera
04/12/2020, 10:29 AMclass A {
@Expose
private val mutableList = mutableListOf<String>()
}
class B(val a: A) {
init {
a.mutableList.add("hi") // ERROR!! the type here would be just List<String> instead of MutableList<String>
}
}
I'm doing it as a project at my university, but I'll release it as open source. I want to put an end to the private mutable-pulbic immutable boilerplate.Dima Avdeev
05/09/2020, 2:45 PM<applicationListeners>
<listener class="MyListener" topic="com.intellij.ide.plugins.DynamicPluginListener"/>
<listener class="MyListener" topic="com.intellij.ide.plugins.PluginStateListener"/>
</applicationListeners>
but it don't handle my plugin,
Also I try to check:
InstalledPluginsState.getInstance().installedPlugins
But it don't contains my plugin.
I want to execute some startup script only once - then IDE install my plugin, or plugin run first timethemishkun
05/25/2020, 3:31 PM// foo.kt
package foo
data class Bar(val x: Int)
// foox.kt
package foox
import foo.Bar
data class Buzz(val bar: Bar)
I want to jump from KtClass
of Buzz
to the KtClass
of Bar
, emulating jump to declaration
functionality of the IDE.
What is a right way to approach this?SrSouza
06/12/2020, 1:47 AMSrSouza
06/13/2020, 6:34 PMdephinera
06/19/2020, 1:19 PMfun visitReferenceExpression(expression: KtReferenceExpression)
method the expression is missing the identifier child. The other problem I have is that when I try the resolve the declaration reference, I always get null and the references list is empty, even though the Psi Viewer plugin shows that it shouldn't be. Is it possible to modify the PSI from a visitor?Brian
06/26/2020, 2:51 AMcaffeine
06/28/2020, 3:49 PMJulio Zynger
07/04/2020, 1:56 PMRelatedItemLineMarkerProvider
. I have registered the class in the plugin.xml
file (as JAVA
and kotlin
entries) but I still do not receive calls to either on collectNavigationMarkers
nor getLineMarkerInfo
. What am I missing?SrSouza
08/03/2020, 3:45 PMfileIconPatcher
and fileIconProvider
. Anyone from the Kotlin plugin team can help me with it?