You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A user performs the "activate word wrap" in the tool bar several times. She/he might not know that IntelliJ has a setting to make this permanent.
Options
when the user toggles this multiple times, show a EditorNotification similar to "JavaFX could be enabled" (JavaFxCouldBeEnabledNotificationProvider) or "Preview might be blurry" (JavaFxMightBeBlurredNotificationProvider). The user could directly trigger "activate word wrap". In newer versions of IntelliJ the word wrap can be restricted to specific asciidoc extensions. By default this already contains "adoc", but the action should make sure that "adoc" (and all other AsciiDoc filename suffixes and/or the suffix of the current file) are included
make the "word wrap" permanent within AsciiDoc (?) this would actually provide to places to do the same, this should be avoided AFAIK.
The state could be persisted on a per-file base; to me it is unclear how this would behave if the global setting changes; would that clear all file-specific settings? If we would implement this, we could put it into MyFileEditorState that already preserves some of the state.
Suggestion
Implement Option 1 (please discuss if you think differently)
(this has been created after a user shared his experience in #314)
The text was updated successfully, but these errors were encountered:
Looks good to me. The property (or a boolean result derived from the counter to show the notification) needs to be exposed. The minimal implementation of a EditorNotification would be a link to the wiki. Everything else is optional and could be implemented later.
Situation
A user performs the "activate word wrap" in the tool bar several times. She/he might not know that IntelliJ has a setting to make this permanent.
Options
when the user toggles this multiple times, show a EditorNotification similar to "JavaFX could be enabled" (JavaFxCouldBeEnabledNotificationProvider) or "Preview might be blurry" (JavaFxMightBeBlurredNotificationProvider). The user could directly trigger "activate word wrap". In newer versions of IntelliJ the word wrap can be restricted to specific asciidoc extensions. By default this already contains "adoc", but the action should make sure that "adoc" (and all other AsciiDoc filename suffixes and/or the suffix of the current file) are included
make the "word wrap" permanent within AsciiDoc (?) this would actually provide to places to do the same, this should be avoided AFAIK.
The state could be persisted on a per-file base; to me it is unclear how this would behave if the global setting changes; would that clear all file-specific settings? If we would implement this, we could put it into MyFileEditorState that already preserves some of the state.
Suggestion
Implement Option 1 (please discuss if you think differently)
(this has been created after a user shared his experience in #314)
The text was updated successfully, but these errors were encountered: