Jan Tobola
05/19/2024, 4:44 PM.theme.json
file, I am curious whether it is possible to change fonts for particular UI components. Let's say I want to change the "quick fixes" or "context actions" popup menu to be rendered using a monospaced font, but not other menus, just popups that are invoked from the editor. Is it possible?
I had some luck when I tried implementing a custom Look and Feel by extending DarculaLaf
and setting font using defaults.put("PopupMenu.font", ...)
. That way, popup menus are indeed rendered with monospaced fonts. However, manually registering a custom LaF does not take .theme.json
into account because I think the theme provider, with a provided JSON file, somehow creates and registers the LoF instance internally. Darcula is also an old look, I want to make changes to the current modern Idea look. I tried several things with UIManager
, like changing defaults for a currentLookAndFeel
in StartupActivity
, but that didn't work...
If someone has some ideas on how to implement this, I would appreciate some help. Thanks! 🙏Anton Popov
05/20/2024, 6:14 PMRenann
06/15/2024, 10:14 PMwwalkingg
08/16/2024, 5:11 AMTobias Wohlfarth
09/15/2024, 7:13 PMFrancisco Noriega
09/23/2024, 10:53 PMComboBoxAction()
, which is what https://plugins.jetbrains.com/docs/intellij/toolbar-drop-down.html uses and even in the documentation it seems like there should be a way to make it show without the border and with the unfilled chevron. Anybody got any tips on how to get that style of dropdown out of the box?Francisco Noriega
09/25/2024, 9:36 PMRuslan A
10/11/2024, 3:40 PMcreateImportDirective
and ImportPath.fromString
functions. What is the current replacement for these functions? I searched, but did not find the correct replacementStijndcl
10/20/2024, 11:15 AMMuhammed Hasan
11/20/2024, 8:17 PMScott Fedorov
12/11/2024, 12:22 AMTimo Drick
12/11/2024, 2:00 PMStijndcl
12/31/2024, 1:51 PMTimo Drick
02/01/2025, 8:01 PMdependencies {
implementation(compose.desktop.linux_x64)
implementation(compose.desktop.linux_arm64)
implementation(compose.desktop.macos_x64)
implementation(compose.desktop.macos_arm64)
implementation(compose.desktop.windows_x64)
implementation(compose.desktop.windows_arm64)
}
Or is there a clever mechanism to create extra files for all platforms and deploy them to the Plugin marketplace?Timo Drick
02/03/2025, 9:58 AMTimo Drick
02/17/2025, 9:25 AMval rm = ModuleRootManager.getInstance(module)
val classPath = rm
.orderEntries()
.classesRoots
.map { it.presentableUrl }
How could i get it in Workspace Model. I am already be able to get the path to all dependencies but i am missing the path to the classes generated by this module itself:
module.dependencies
.filterIsInstance<LibraryDependency>()
.mapNotNull { currentSnapshot.resolve(it.library) }
.mapNotNull { library ->
library.roots.find {
it.type == LibraryRootTypeId.COMPILED
}?.url?.presentableUrl
}
My experiments with module.contentRoots and module.sourceRoots show that this do not contain the correct path just some intermediate folders where resources are generated.Draget
02/18/2025, 7:10 PMbod
02/19/2025, 10:46 AMbod
02/27/2025, 8:47 AMlocalPath
for example that's what we do:
tasks {
val runLocalIde by intellijPlatformTesting.runIde.registering {
// Use a custom IJ/AS installation. Set this property in your local ~/.gradle/gradle.properties file.
// (for AS, it should be something like '/Applications/Android Studio.app/Contents')
// See <https://plugins.jetbrains.com/docs/intellij/android-studio.html#configuring-the-plugin-gradle-build-script>
providers.gradleProperty("apolloIntellijPlugin.ideDir").orNull?.let {
localPath.set(file(it))
}
}
wwalkingg
03/10/2025, 8:52 AMEmre
03/14/2025, 3:14 AMMichael Friend
03/21/2025, 5:17 PMCoroutineScope
. I added a coroutinescope constructor parameter to my service just like the docs say, but once i do that my call to `service()`/ ApplicationManager.getApplication().getService
give an error Cannot create class
. I get the same error when trying to add Project
in the constructor as mentioned in other parts of the docs. what am i doing wrong here?Youssef Shoaib [MOD]
03/22/2025, 6:47 AMFoldingDescriptor
depends on Analysis API results? Do I have to try and get the PSI out of the references I grab? I'm guessing reference.psi
would be sufficient?Youssef Shoaib [MOD]
03/22/2025, 8:51 AMFoldingDescriptors
in a file upon the file changes? Adding a dependency on currentFile
does not seem to workMichael Friend
03/24/2025, 3:45 PMMyProjectService
which works, but when i add any ktor dependencies it fails to resolve the service at run time with this error even though my service has a Project, CoroutineScope
constructor. Here's a repo to reproduce the issue https://github.com/mrf7/ide-plugin
Caused by: com.intellij.platform.instanceContainer.instantiation.InstantiationException: Class 'class com.github.mrf7.ideplugin.services.MyProjectService' does not define any of supported signatures '[(Project)void, (Project,CoroutineScope)void, (CoroutineScope)void, ()void]'
Youssef Shoaib [MOD]
03/30/2025, 1:37 AMSubash K
04/12/2025, 7:33 AMcom.intellij.toolwindow.StripeButtonUI
is used internally for rendering tool window buttons. I understand it's not part of the public API, but I was wondering:
Is it safe (or acceptable) to indirectly rely on StripeButtonUI
for visual consistency, without explicitly referencing it in code?
For example, mimicking its styles or letting the platform render components that use it under the hood. I want to make sure my plugin stays compatible and follows best practices.
Appreciate any insights or recommendations on handling this kind of UI consistency without crossing into unsupported/internal API territory. 🙏Leo Podmolik
04/15/2025, 5:09 PMMichael Friend
04/24/2025, 6:33 PMWARN - #c.i.u.x.Binding - No accessors for intellijplugin.toolWindow.tabs.MySettings$State. This means that state class cannot be serialized properly. Please see https://jb.gg/ij-psoc
natpryce
04/27/2025, 12:45 PMsubprojects {
...
plugins.withType<KotlinPlatformJvmPlugin> {
kotlin {
jvmToolchain(21)
}
}
}
But the KotlinPlatformJvmPlugin class no longer exists in the plugin for Kotlin 21.1.20, and the KotlinJvmPlugin class is internal and cannot be referenced from build scripts.