Skip to content

fix: replace deprecated and internal IntelliJ APIs#7

Merged
mdelambilly merged 7 commits into
mainfrom
fix/deprecated-apis
May 12, 2026
Merged

fix: replace deprecated and internal IntelliJ APIs#7
mdelambilly merged 7 commits into
mainfrom
fix/deprecated-apis

Conversation

@mdelambilly
Copy link
Copy Markdown
Owner

Summary

  • Replace ComponentManager.getComponent(EditorFactory) with EditorFactory.getInstance()
  • Replace Guava Charsets.UTF_8 with StandardCharsets.UTF_8
  • Migrate JsonParser.Feature to JsonReadFeature (Jackson 2.12+)
  • Replace BalloonPopupBuilderImpl with JBPopupFactory.createBalloonBuilder()
  • Remove ReadAction wrapper in FileUtil — fixes crash when opening a datasource whose scratch file does not exist yet
  • Replace deprecated ActionUtil.invokeAction with direct actionPerformed call in CypherLineMarkerProvider
  • Replace deprecated PluginDescriptor.isEnabled() with null check

Test plan

  • Plugin loads without error
  • Double-click on datasource opens the Cypher file without crash
  • Gutter play button executes the query
  • JSON parameters with non-strict syntax (single quotes, comments) parse correctly

🤖 Generated with Claude Code

@mdelambilly mdelambilly merged commit 7688849 into main May 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant