Skip to content

Commit

Permalink
Support IntelliJ 2023.2 (#77)
Browse files Browse the repository at this point in the history
* Depend on instrumentedJar

* Add support for IntelliJ 2023.2
  • Loading branch information
albertoventurini authored Jul 27, 2023
1 parent 34f6f44 commit 536b4a6
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 7 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.6.2]

### Added
- Support for IntelliJ 2023.2

## [0.6.1]

### Added
Expand Down
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
version=0.6.1
version=0.6.2

# Intellij SDK
intellijSdkVersion=2023.1
intellijSdkVersion=2023.2

# Versions
versionGradleIntelliJ=1.13.0
versionGradleIntelliJ=1.13.3
versionGradleChangelog=2.0.0
versionGradleGrammarKit=2021.2.2
versionJunit=4.12
Expand All @@ -13,7 +13,7 @@ versionMockito=2.27.0
versionPrefuse=1.0.0
versionJacksonMapper=2.9.8
# Official compatibility table https://neo4j.com/developer/kb/neo4j-supported-versions/
versionNeo4jJavaBoltDriver=5.2.0
versionNeo4jJavaBoltDriver=5.10.0
versionTestcontainers=1.17.6

# Performance
Expand Down
2 changes: 1 addition & 1 deletion graph-database-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ intellij {
// See https://plugins.jetbrains.com/docs/intellij/configuring-plugin-project.html#patching-the-plugin-configuration-file
patchPluginXml {
sinceBuild = "223.0"
untilBuild = "231.*"
untilBuild = "232.*"

def allChanges = {
changelog.getAll().values()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
updater.title=Graph Database plugin updated to v{0}
updater.notification=\
Support IntelliJ 2023.1
Support IntelliJ 2023.2
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ private void initializeUi() {
// If file opened, fileOpenedSync->selectionChanged->fileOpened are called
@Override
public void selectionChanged(@NotNull FileEditorManagerEvent event) {
releaseFileSpecificEditor(event.getOldFile());
if (event.getOldFile() != null) {
releaseFileSpecificEditor(event.getOldFile());
}
VirtualFile newFile = event.getNewFile();
if (newFile != null && FileTypeExtensionUtil.isCypherFileTypeExtension(newFile.getExtension()) &&
project.getService(DataSourcesComponent.class).getDataSourceContainer().isDataSourceExists(getTabTitle(newFile))) {
Expand Down

0 comments on commit 536b4a6

Please sign in to comment.