Get String from textfield in my plugin settings
Answered
I`ve created a custom settings page for my plugin using the provided tutorial from Jetbrains.
Now the user can consistently save the settings, but I don`t know how to access the data programmatically.
How can I get the String from the settings page of my plugin to use it?
Please sign in to leave a comment.
By obtaining persisted state like shown in https://github.com/JetBrains/intellij-sdk-code-samples/blob/main/settings/src/main/java/org/intellij/sdk/settings/AppSettingsState.java#L27
doc ref https://plugins.jetbrains.com/docs/intellij/settings-tutorial.html#the-appsettingsstate-class
Thank you Yann!