Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions gradle-263.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ customUntilBuild=263.*
# Existent IDE versions can be found in the following repos:
# https://www.jetbrains.com/intellij-repository/releases/
# https://www.jetbrains.com/intellij-repository/snapshots/
ideaVersion=IU-263-EAP-SNAPSHOT
clionVersion=CL-263-EAP-SNAPSHOT
pycharmVersion=PC-263-EAP-SNAPSHOT
riderVersion=RD-2026.3-SNAPSHOT
ideaVersion=IU-2026.3
clionVersion=CL-2026.3
pycharmVersion=PC-2026.3
riderVersion=RD-2026.3-RC1-SNAPSHOT
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import com.intellij.openapi.vfs.VfsUtil
import com.intellij.openapi.vfs.VirtualFile
import com.intellij.psi.PsiDocumentManager
import com.intellij.psi.PsiElement
import com.intellij.psi.PsiManager
import com.intellij.psi.PsiParserFacade
import com.intellij.psi.SmartPointerManager
import com.intellij.psi.util.PsiTreeUtil
Expand Down Expand Up @@ -34,7 +35,6 @@ import org.rust.ide.newProject.RsPackageNameValidator
import org.rust.lang.RsConstants
import org.rust.lang.core.psi.ext.childrenWithLeaves
import org.rust.openapiext.pathAsPath
import org.rust.openapiext.toPsiFile
import org.toml.lang.psi.*
import org.toml.lang.psi.ext.TomlLiteralKind
import org.toml.lang.psi.ext.elementType
Expand Down Expand Up @@ -274,7 +274,7 @@ class RsCourseBuilder : EduCourseBuilder<RsProjectSettings> {
}

private val Project.workspaceManifest: TomlFile?
get() = courseDir.findChild(CargoConstants.MANIFEST_FILE)?.toPsiFile(this) as? TomlFile
get() = courseDir.findChild(CargoConstants.MANIFEST_FILE)?.let { PsiManager.getInstance(this).findFile(it) } as? TomlFile

private val TomlFile.membersArray: TomlArray?
get() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import com.intellij.openapi.Disposable
import com.intellij.openapi.application.ApplicationManager
import com.intellij.openapi.application.ModalityState
import com.intellij.openapi.application.asContextElement
import com.intellij.openapi.updateSettings.impl.UpdateChecker
import com.intellij.openapi.util.Disposer
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
Expand Down Expand Up @@ -55,7 +54,7 @@ class BrowseCoursesDialog : OpenCourseDialogBase(), CoroutineScope {
// TODO: find out a better way to be notified when plugin installation finishes
.subscribe(Notifications.TOPIC, object : Notifications {
override fun notify(notification: Notification) {
if (notification.groupId == UpdateChecker.getNotificationGroup().displayId) {
if (notification.groupId == IDE_AND_PLUGIN_UPDATES_NOTIFICATION_GROUP) {
panel.doValidation()
// TODO: investigate why it leads to IDE freeze when you install python plugin
// ApplicationManager.getApplication().invokeLater {
Expand All @@ -69,5 +68,10 @@ class BrowseCoursesDialog : OpenCourseDialogBase(), CoroutineScope {
companion object {
@NonNls
const val ACTION_PLACE = "COURSE_SELECTION_DIALOG"

// The group of `UpdateChecker.getNotificationGroup()`. The class itself can't be used:
// since 2026.3 it belongs to the internal `intellij.platform.ide.updateChecker` module, which plugins can't depend on
@NonNls
private const val IDE_AND_PLUGIN_UPDATES_NOTIFICATION_GROUP = "IDE and Plugin Updates"
}
}
Loading