-
Notifications
You must be signed in to change notification settings - Fork 14
feature-hide/unhide Annotations-DSaatz JuliaF9-Allows to enable and disable the syntax highlighting for code annotations #107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…d setting up UI (needs fixes), misses logic for toggeling
…een added succesfully
…current issue is that ToggleStateService is null at runtime (see error logs)
…added dependency of CodeAnnotationsSyntaxHighlighterFactory to state, need to implement a profile for no highlighting.
… to CodeAnnotationsSyntaxHighlighterFactory and added refresh to ToggleStateService
…and need to be implemented correctly
…eSyntaxHighlighting
… state after IDE restart, added logging to console for debugging temporarily.
…dialog that requires user to restart the IDE for the changes to take place, everything works
…xhighlighting feature
|
If anyhting else has to be done to fullfill the requirments for the feature and the pull request, please tell @JuliaF9 and me and we will go about it. |
DescriptionWe implemented a feature in HAnS that allows users to toggle annotation visibility in the IntelliJ IDEA editor. This functionality enables users to dynamically hide or display annotations, ensuring higher concentration on the code while still keeping annotations accessible when required. The implementation includes a persistent state mechanism, so the user’s setting is remembered across IDE sessions. Related IssueMotivation and ContextAnnotations can clutter the editor, making it difficult for developers to concentrate on the main code. However, completely removing annotations is not ideal since they contain important information. Our solution allows users to dynamically toggle annotations on or off, giving them more control over their workspace. Previously, when the setting for annotation visibility was changed, the highlighting did not update immediately. We found out that a restart was required for the changes to take effect. To address this, we implemented a notification system that informs users to restart the IDE after changing the setting.### Functionality Implemented
How Has This Been Tested?Manual Testing Types of changes
Checklist:
|
|
@johmara annotations have been added to our new code as you requested. Also I think you commented on here for us to do it since I still have a notif in my mailbox but the comment disappeared? |
|
DEMO VIDEO: https://www.youtube.com/watch?v=zVPSouYU5KY |
Description
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: