Download 0verEngineer_InlineProblems_77/pr.json from nawmi/PR_BUNDLES_MERGED: direct link, hf CLI and curl.
- Browser
- Download file 336 kB
-
https://huggingface.co/datasets/nawmi/PR_BUNDLES_MERGED/resolve/main/0verEngineer_InlineProblems_77/pr.json
- Command line
-
hf download hf://datasets/nawmi/PR_BUNDLES_MERGED/0verEngineer_InlineProblems_77/pr.json
-
curl -L -o pr.json https://huggingface.co/datasets/nawmi/PR_BUNDLES_MERGED/resolve/main/0verEngineer_InlineProblems_77/pr.json
336 kB
| {"repo": "0verEngineer/InlineProblems", "pr_number": 77, "pr_title": "added feature to enable and disable all warings with a keybind", "pr_state": "merged", "pr_author": "khopland", "base_branch": "main", "head_branch": "feature/68-keybind", "created_at": "2025-04-25T12:15:52Z", "merged_at": "2025-05-05T18:39:39Z", "base_ref_oid": "86fbdd78f2ca8d1b85d0b22803233e17ef712d91", "head_ref_oid": "a97ea837ee6d3dc87fe639644a61b16335010f30", "base_commit": {"oid": "86fbdd78f2ca8d1b85d0b22803233e17ef712d91", "message": "Merge pull request #76 from khopland/feature/67-inline-click\n\nadded feature to hover and click in a error and get context window", "authoredDate": "2025-05-01T12:38:13Z", "author": {"name": "Julian Hackinger", "email": "dev@hackinger.net", "user": {"login": "0verEngineer"}}}, "rounds": [{"round_index": 0, "review_state": "COMMENTED", "review_author": "khopland", "submitted_at": "2025-04-25T18:53:38Z", "feedback_type": "inline", "review_author_association": "CONTRIBUTOR", "inline_comments": [{"id": "PRRC_kwDOImWGlc561ErE", "body": "I don't know if people want to get a notification or not when they do the action.\r\nthis is also applies for the specific key bindings too.", "path": "src/main/java/org/overengineer/inlineproblems/actions/EnableInlineProblemsAction.java", "originalLine": 19, "line": null, "originalStartLine": null, "startLine": null, "position": 1, "originalPosition": 19, "outdated": true, "subjectType": "LINE", "authorAssociation": "CONTRIBUTOR", "originalCommit": {"oid": "25fc86738d4ee3a52774e22f07bf081d0c309c8a"}, "diffHunk": "@@ -0,0 +1,27 @@\n+package org.overengineer.inlineproblems.actions;\n+\n+import com.intellij.notification.NotificationType;\n+import com.intellij.openapi.actionSystem.AnAction;\n+import com.intellij.openapi.actionSystem.AnActionEvent;\n+import com.intellij.openapi.application.ApplicationManager;\n+import org.jetbrains.annotations.NotNull;\n+import org.overengineer.inlineproblems.DocumentMarkupModelScanner;\n+import org.overengineer.inlineproblems.Notifier;\n+import org.overengineer.inlineproblems.bundles.SettingsBundle;\n+import org.overengineer.inlineproblems.settings.SettingsState;\n+\n+public class EnableInlineProblemsAction extends AnAction {\n+\n+ @Override\n+ public void actionPerformed(@NotNull AnActionEvent anActionEvent) {\n+ SettingsState settingsState = SettingsState.getInstance();\n+ if (settingsState.isEnableInlineProblem()) {\n+ Notifier.notify(SettingsBundle.message(\"settings.enableInlineProblem.disabled\"), NotificationType.IDE_UPDATE, anActionEvent.getProject());", "replyTo": null, "createdAt": "2025-04-25T18:49:42Z", "author": {"login": "khopland"}, "reactions": {"totalCount": 0, "nodes": []}, "in_reply_to_id": null, "suggested_changes": [], "extended_context": null, "referenced_paths": []}, {"id": "PRRC_kwDOImWGlc561FCY", "body": "Should i add a default key bind to this action?", "path": "src/main/resources/META-INF/plugin.xml", "originalLine": 38, "line": null, "originalStartLine": null, "startLine": null, "position": 1, "originalPosition": 25, "outdated": true, "subjectType": "LINE", "authorAssociation": "CONTRIBUTOR", "originalCommit": {"oid": "25fc86738d4ee3a52774e22f07bf081d0c309c8a"}, "diffHunk": "@@ -19,23 +19,47 @@\n <!-- Extension points defined by the plugin.\n Read more: https://plugins.jetbrains.com/docs/intellij/plugin-extension-points.html -->\n <extensions defaultExtensionNs=\"com.intellij\">\n- <applicationConfigurable parentId=\"appearance\" instance=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n+ <applicationConfigurable parentId=\"appearance\"\n+ instance=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n id=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n- displayName=\"InlineProblems\"/>\n+ key=\"application.configurable.InlineProblems\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.settings.SettingsState\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.ProblemManager\"/>\n- <daemon.highlightInfoFilter implementation=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\" id=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\" />\n+ <daemon.highlightInfoFilter implementation=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"\n+ id=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"/>\n \n- <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\" />\n- <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\"/>\n+ <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\"/>\n+ <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\" bundle=\"messages.SettingsBundle\"\n+ key=\"notification.group.InlineProblems\"/>\n </extensions>\n \n+ <actions>\n+ <action class=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\"\n+ id=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\"", "replyTo": null, "createdAt": "2025-04-25T18:50:27Z", "author": {"login": "khopland"}, "reactions": {"totalCount": 0, "nodes": []}, "in_reply_to_id": null, "suggested_changes": [], "extended_context": "\n <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\" />\n <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\"/>\n </extensions>\n\n <projectListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.FileEditorListener\" topic=\"com.intellij.openapi.fileEditor.FileEditorManagerListener\" />\n </projectListeners>\n\n <applicationListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.PluginListener\" topic=\"com.intellij.ide.plugins.DynamicPluginListener\" />\n <listener class=\"org.overengineer.inlineproblems.listeners.ProjectCloseListener\" topic=\"com.intellij.openapi.project.ProjectManagerListener\" />\n </applicationListeners>\n</idea-plugin>", "referenced_paths": []}, {"id": "PRRC_kwDOImWGlc561FPt", "body": "need to get a translated version, but i cant Mandarin Chinese", "path": "src/main/resources/messages/SettingsBundle_zh_CN.properties", "originalLine": 55, "line": 55, "originalStartLine": null, "startLine": null, "position": 7, "originalPosition": 4, "outdated": false, "subjectType": "LINE", "authorAssociation": "CONTRIBUTOR", "originalCommit": {"oid": "25fc86738d4ee3a52774e22f07bf081d0c309c8a"}, "diffHunk": "@@ -51,3 +51,18 @@ settings.useEditorFont=\\u4F7F\\u7528\\u7F16\\u8F91\\u5668\\u5B57\\u4F53\\u800C\\u4E0D\\u6\n settings.showOnlyHighestPerLine=\\u4ec5\\u663e\\u793a\\u6bcf\\u884c\\u4e2d\\u6700\\u4e25\\u91cd\\u7684\\u95ee\\u9898\n settings.enableHtmlStripping=Enable stripping of HTML in the messages\n settings.enableXmlUnescaping=Enable unescaping of XML in the messages\n+settings.enableInlineProblem=Enable inlineProblems", "replyTo": null, "createdAt": "2025-04-25T18:50:54Z", "author": {"login": "khopland"}, "reactions": {"totalCount": 0, "nodes": []}, "in_reply_to_id": null, "suggested_changes": [], "extended_context": "settings.infoTextColor=\\u4FE1\\u606F\\u6587\\u672C\\u989C\\u8272\\uFF1A\nsettings.infoLabelBorderColor=\\u4FE1\\u606F\\u6807\\u7B7E\\u8FB9\\u6846\\u989C\\u8272\\uFF1A\nsettings.infoLineHighlightColor=\\u4FE1\\u606F\\u884C\\u7A81\\u51FA\\u663E\\u793A\\u989C\\u8272\\uFF1A\nsettings.additionalSeveritiesInfoDesc=\\u9644\\u52A0\\u4FE1\\u606F\\u4E25\\u91CD\\u6027\\u7684\\u7528\\u5206\\u53F7\\u5206\\u9694\\u7684\\u5217\\u8868\\uFF0C\\u4F8B\\u5982 '10, 100'\nsettings.forceProblemsInOneLine=\\u5F3A\\u5236\\u5728\\u540C\\u4E00\\u884C\\u663E\\u793A\\u95EE\\u9898\\uFF0C\\u5373\\u4F7F\\u5B83\\u4EEC\\u592A\\u957F\\u800C\\u65E0\\u6CD5\\u9002\\u5E94\nsettings.useEditorFont=\\u4F7F\\u7528\\u7F16\\u8F91\\u5668\\u5B57\\u4F53\\u800C\\u4E0D\\u662F\\u63D0\\u793A\\u5B57\\u4F53\nsettings.showOnlyHighestPerLine=\\u4ec5\\u663e\\u793a\\u6bcf\\u884c\\u4e2d\\u6700\\u4e25\\u91cd\\u7684\\u95ee\\u9898\nsettings.enableHtmlStripping=Enable stripping of HTML in the messages\nsettings.enableXmlUnescaping=Enable unescaping of XML in the messages\nsettings.enableClickableContext=Enable clickable inline problems for IDE context actions", "referenced_paths": []}], "body_comments": [], "response_commits": [], "force_pushes": [], "builds_on_rounds": [], "references_repo_structure": false, "ci_state_at_review": null, "ci_state_after_response": null, "ci_transition": "no_response_commits", "response_commit_diffs": {}, "has_code_backing": false, "head_commit_at_review": "f794d23128d6125d3c4f3b0bfc653465843e7be0", "file_contents_at_review": {"src/main/resources/META-INF/plugin.xml": "<!-- Plugin Configuration File. Read more: https://plugins.jetbrains.com/docs/intellij/plugin-configuration-file.html -->\n<idea-plugin>\n <!-- Unique identifier of the plugin. It should be FQN. It cannot be changed between the plugin versions. -->\n <id>org.OverEngineer.InlineProblems</id>\n\n <!-- Public plugin name should be written in Title Case.\n Guidelines: https://plugins.jetbrains.com/docs/marketplace/plugin-overview-page.html#plugin-name -->\n <name>InlineProblems</name>\n\n <!-- A displayed Vendor name or Organization ID displayed on the Plugins Page. -->\n <vendor url=\"https://github.com/0verEngineer/InlineProblems\">0verEngineer</vendor>\n\n <!-- Product and plugin compatibility requirements.\n Read more: https://plugins.jetbrains.com/docs/intellij/plugin-compatibility.html -->\n <depends>com.intellij.modules.platform</depends>\n\n <resource-bundle>messages.SettingsBundle</resource-bundle>\n\n <!-- Extension points defined by the plugin.\n Read more: https://plugins.jetbrains.com/docs/intellij/plugin-extension-points.html -->\n <extensions defaultExtensionNs=\"com.intellij\">\n <applicationConfigurable parentId=\"appearance\"\n instance=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n id=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n key=\"application.configurable.InlineProblems\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.settings.SettingsState\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.ProblemManager\"/>\n <daemon.highlightInfoFilter implementation=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"\n id=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"/>\n\n <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\"/>\n <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\" bundle=\"messages.SettingsBundle\"\n key=\"notification.group.InlineProblems\"/>\n </extensions>\n\n <actions>\n <action class=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\"\n id=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\"\n />\n <action class=\"org.overengineer.inlineproblems.actions.ShowErrorsAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowErrorsAction\"\n />\n <action class=\"org.overengineer.inlineproblems.actions.ShowWarningsAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowWarningsAction\"\n />\n <action class=\"org.overengineer.inlineproblems.actions.ShowWeakWarningsAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowWeakWarningsAction\"\n />\n <action class=\"org.overengineer.inlineproblems.actions.ShowInfosAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowInfosAction\"\n />\n </actions>\n\n <projectListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.FileEditorListener\"\n topic=\"com.intellij.openapi.fileEditor.FileEditorManagerListener\"/>\n </projectListeners>\n\n <applicationListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.PluginListener\"\n topic=\"com.intellij.ide.plugins.DynamicPluginListener\"/>\n <listener class=\"org.overengineer.inlineproblems.listeners.ProjectCloseListener\"\n topic=\"com.intellij.openapi.project.ProjectManagerListener\"/>\n </applicationListeners>\n</idea-plugin>", "src/main/java/org/overengineer/inlineproblems/actions/EnableInlineProblemsAction.java": "package org.overengineer.inlineproblems.actions;\n\nimport com.intellij.notification.NotificationType;\nimport com.intellij.openapi.actionSystem.AnAction;\nimport com.intellij.openapi.actionSystem.AnActionEvent;\nimport com.intellij.openapi.application.ApplicationManager;\nimport org.jetbrains.annotations.NotNull;\nimport org.overengineer.inlineproblems.DocumentMarkupModelScanner;\nimport org.overengineer.inlineproblems.Notifier;\nimport org.overengineer.inlineproblems.bundles.SettingsBundle;\nimport org.overengineer.inlineproblems.settings.SettingsState;\n\npublic class EnableInlineProblemsAction extends AnAction {\n\n @Override\n public void actionPerformed(@NotNull AnActionEvent anActionEvent) {\n SettingsState settingsState = SettingsState.getInstance();\n if (settingsState.isEnableInlineProblem()) {\n Notifier.notify(SettingsBundle.message(\"settings.enableInlineProblem.disabled\"), NotificationType.IDE_UPDATE, anActionEvent.getProject());\n settingsState.setEnableInlineProblem(false);\n } else {\n Notifier.notify(SettingsBundle.message(\"settings.enableInlineProblem.enabled\"), NotificationType.IDE_UPDATE, anActionEvent.getProject());\n settingsState.setEnableInlineProblem(true);\n }\n ApplicationManager.getApplication().invokeAndWait(DocumentMarkupModelScanner.getInstance()::scanForProblemsManually);\n }\n}\n", "src/main/resources/messages/SettingsBundle_zh_CN.properties": "settings.showErrors=\\u663E\\u793A\\u9519\\u8BEF\nsettings.highlightErrors=\\u7A81\\u51FA\\u663E\\u793A\\u9519\\u8BEF\nsettings.showErrorsInGutter=\\u5728\\u88c5\\u8ba2\\u533a\\u57df\\u663e\\u793a\\u9519\\u8bef\\u56fe\\u6807\nsettings.showWarnings=\\u663E\\u793A\\u8B66\\u544A\nsettings.highlightWarnings=\\u7A81\\u51FA\\u663E\\u793A\\u8B66\\u544A\nsettings.showWarningsInGutter=\\u5728\\u88c5\\u8ba2\\u533a\\u57df\\u663e\\u793a\\u8b66\\u544a\\u56fe\\u6807\nsettings.showWeakWarnings=\\u663E\\u793A\\u8F7B\\u5F31\\u8B66\\u544A\nsettings.highlightWeakWarnings=\\u7A81\\u51FA\\u663E\\u793A\\u8F7B\\u5F31\\u8B66\\u544A\nsettings.showWeakWarningsInGutter=\\u5728\\u88c5\\u8ba2\\u533a\\u57df\\u663e\\u793a\\u5f31\\u8b66\\u544a\\u56fe\\u6807\nsettings.showInfos=\\u663E\\u793A\\u4FE1\\u606F\nsettings.highlightInfos=\\u7A81\\u51FA\\u663E\\u793A\\u4FE1\\u606F\nsettings.showInfosInGutter=\\u5728\\u88c5\\u8ba2\\u533a\\u57df\\u663e\\u793a\\u4fe1\\u606f\\u56fe\\u6807\nsettings.submenu.label=\\u8fb9\\u6846 / \\u6807\\u7B7E\nsettings.drawBoxesAroundProblemLabels=\\u5728\\u95ee\\u9898\\u6807\\u7b7e\\u5468\\u56f4\\u7ed8\\u5236\\u8fb9\\u6846\nsettings.roundedCornerBoxes=\\u5706\\u89d2\\u8fb9\\u6846\nsettings.fillProblemLabels=\\u586B\\u5145\\u95EE\\u9898\\u6807\\u7B7E\\u80CC\\u666F\nsettings.boldProblemLabels=\\u52a0\\u7c97\\u95ee\\u9898\\u6807\\u7b7e\nsettings.italicProblemLabels=\\u659C\\u4F53\\u95EE\\u9898\\u6807\\u7B7E\nsettings.submenu.general=\\u901A\\u7528\nsettings.activeProblemListener=\\u542F\\u7528\\u7684\\u95EE\\u9898\\u76D1\\u542C\\u5668\nsettings.markupModelListenerDescription=- MarkupModelListener\\uFF08\\u9ED8\\u8BA4\\uFF09\\uFF1A\\u5728\\u6587\\u4EF6\\u6DFB\\u52A0 RangeHighlighter \\u540E\\u8C03\\u7528\\u3002\\u5927\\u6587\\u4EF6\\u4E2D\\u66F4\\u5FEB\\uFF0C\\u5C0F\\u6587\\u4EF6\\u4E2D\\u66F4\\u6162\\u3002\nsettings.highlightProblemListenerDescription=- HighlightProblemListener\\uFF1A\\u5C0F\\u5230\\u4E2D\\u7B49\\u5927\\u5C0F\\u7684\\u6587\\u4EF6\\u66F4\\u5FEB\\uFF0C\\u5927\\u6587\\u4EF6\\u66F4\\u6162\\u3002\\u8C03\\u7528\\u975E\\u5E38\\u9891\\u7E41\\uFF0C\\u53EF\\u80FD\\u5BFC\\u81F4\\u901F\\u5EA6\\u653E\\u6162\\u3002\nsettings.manualScannerDescription=- ManualScanner\\uFF1A\\u4EE5\\u56FA\\u5B9A\\u7684\\u5EF6\\u8FDF\\u626B\\u63CF DocumentMarkupModel \\u4E2D\\u7684\\u6240\\u6709\\u9AD8\\u4EAE\\u6807\\u8BB0\\uFF0C\\u4F7F\\u7528\\u76F8\\u540C\\u7684\\u903B\\u8F91\\u3002\nsettings.manualScannerDescriptionSupplement= \\u540C HighlightProblemListener\\uFF0C\\u4F46\\u53EF\\u4EE5\\u5E2E\\u52A9\\u5904\\u7406\\u5927\\u6587\\u4EF6\\u4E2D\\u7684\\u653E\\u6162\\u901F\\u5EA6\\u3002\nsettings.manualScannerDelayLabel=ManualScanner \\u4EE5\\u6BEB\\u79D2\\u4E3A\\u5355\\u4F4D\\u7684\\u5EF6\\u8FDF\nsettings.manualScannerDelayTooltip=\\u624B\\u52A8\\u626B\\u63CF\\u95F4\\u7684\\u5EF6\\u8FDF\\uFF0C\\u4EC5\\u5728\\u542F\\u7528 ManualScanner \\u65F6\\u4F7F\\u7528\nsettings.inlaySizeDelta=\\u5b57\\u4f53\\u5927\\u5c0f\\u5dee\\u5f02\nsettings.inlaySizeDeltaTooltip=\\u7528\\u4e8e\\u4e3a\\u6807\\u7b7e\\u8bbe\\u7f6e\\u8f83\\u5c0f\\u7684\\u5b57\\u4f53\\uff0c\\u5fc5\\u987b\\u5c0f\\u4e8e\\u7f16\\u8f91\\u5668\\u5b57\\u4f53\\u5927\\u5c0f\nsettings.problemFilterListLabel=\\u95ee\\u9898\\u8fc7\\u6ee4\\u5217\\u8868\nsettings.problemFilterListTooltip=\\u4e0d\\u5904\\u7406\\u7684\\u95ee\\u9898\\u6587\\u672c\\u5f00\\u5934\\u7684\\u7528\\u5206\\u53f7\\u5206\\u9694\\u7684\\u5217\\u8868\nsettings.submenu.colors=\\u989C\\u8272\nsettings.errorTextColor=\\u9519\\u8BEF\\u6587\\u672C\\u989C\\u8272\\uFF1A\nsettings.errorLabelBorderColor=\\u9519\\u8BEF\\u6807\\u7B7E\\u8FB9\\u6846\\u989C\\u8272\\uFF1A\nsettings.errorLineHighlightColor=\\u9519\\u8BEF\\u884C\\u7A81\\u51FA\\u663E\\u793A\\u989C\\u8272\\uFF1A\nsettings.additionalSeverities=\\u9644\\u52A0\\u4E25\\u91CD\\u6027\\uFF1A\nsettings.additionalSeveritiesErrorDesc=\\u9644\\u52A0\\u9519\\u8BEF\\u4E25\\u91CD\\u6027\\u7684\\u7528\\u5206\\u53F7\\u5206\\u9694\\u7684\\u5217\\u8868\\uFF0C\\u4F8B\\u5982 '10, 100'\nsettings.warningTextColor=\\u8B66\\u544A\\u6587\\u672C\\u989C\\u8272\\uFF1A\nsettings.warningLabelBorderColor=\\u8B66\\u544A\\u6807\\u7B7E\\u8FB9\\u6846\\u989C\\u8272\\uFF1A\nsettings.warningLineHighlightColor=\\u8B66\\u544A\\u884C\\u7A81\\u51FA\\u663E\\u793A\\u989C\\u8272\\uFF1A\nsettings.additionalSeveritiesWarningDesc=\\u9644\\u52A0\\u8B66\\u544A\\u4E25\\u91CD\\u6027\\u7684\\u7528\\u5206\\u53F7\\u5206\\u9694\\u7684\\u5217\\u8868\\uFF0C\\u4F8B\\u5982 '10, 100'\nsettings.weakWarningTextColor=\\u8F7B\\u5F31\\u8B66\\u544A\\u6587\\u672C\\u989C\\u8272\\uFF1A\nsettings.weakWarningLabelBorderColor=\\u8F7B\\u5F31\\u8B66\\u544A\\u6807\\u7B7E\\u8FB9\\u6846\\u989C\\u8272\\uFF1A\nsettings.weakWarningLineHighlightColor=\\u8F7B\\u5F31\\u8B66\\u544A\\u884C\\u7A81\\u51FA\\u663E\\u793A\\u989C\\u8272\\uFF1A\nsettings.additionalSeveritiesWeakWarningDesc=\\u9644\\u52A0\\u8F7B\\u5F31\\u8B66\\u544A\\u4E25\\u91CD\\u6027\\u7684\\u7528\\u5206\\u53F7\\u5206\\u9694\\u7684\\u5217\\u8868\\uFF0C\\u4F8B\\u5982 '10, 100'\nsettings.infoTextColor=\\u4FE1\\u606F\\u6587\\u672C\\u989C\\u8272\\uFF1A\nsettings.infoLabelBorderColor=\\u4FE1\\u606F\\u6807\\u7B7E\\u8FB9\\u6846\\u989C\\u8272\\uFF1A\nsettings.infoLineHighlightColor=\\u4FE1\\u606F\\u884C\\u7A81\\u51FA\\u663E\\u793A\\u989C\\u8272\\uFF1A\nsettings.additionalSeveritiesInfoDesc=\\u9644\\u52A0\\u4FE1\\u606F\\u4E25\\u91CD\\u6027\\u7684\\u7528\\u5206\\u53F7\\u5206\\u9694\\u7684\\u5217\\u8868\\uFF0C\\u4F8B\\u5982 '10, 100'\nsettings.forceProblemsInOneLine=\\u5F3A\\u5236\\u5728\\u540C\\u4E00\\u884C\\u663E\\u793A\\u95EE\\u9898\\uFF0C\\u5373\\u4F7F\\u5B83\\u4EEC\\u592A\\u957F\\u800C\\u65E0\\u6CD5\\u9002\\u5E94\nsettings.useEditorFont=\\u4F7F\\u7528\\u7F16\\u8F91\\u5668\\u5B57\\u4F53\\u800C\\u4E0D\\u662F\\u63D0\\u793A\\u5B57\\u4F53\nsettings.showOnlyHighestPerLine=\\u4ec5\\u663e\\u793a\\u6bcf\\u884c\\u4e2d\\u6700\\u4e25\\u91cd\\u7684\\u95ee\\u9898\nsettings.enableHtmlStripping=Enable stripping of HTML in the messages\nsettings.enableXmlUnescaping=Enable unescaping of XML in the messages\nsettings.enableClickableContext=Enable clickable inline problems for IDE context actions\nsettings.enableInlineProblem=Enable inlineProblems\nsettings.enableInlineProblem.enabled=Enabling inlineProblems\nsettings.enableInlineProblem.disabled=Disabling inlineProblems\n# suppress inspection \"UnusedProperty\"\naction.org.overengineer.inlineproblems.actions.EnableInlineProblemsAction.text=Enable inline Problems\n# suppress inspection \"UnusedProperty\"\naction.org.overengineer.inlineproblems.actions.ShowErrorsAction.text=Show Errors\n# suppress inspection \"UnusedProperty\"\naction.org.overengineer.inlineproblems.actions.ShowWarningsAction.text=Show Warnings\n# suppress inspection \"UnusedProperty\"\naction.org.overengineer.inlineproblems.actions.ShowWeakWarningsAction.text=Show Weak Warnings\n# suppress inspection \"UnusedProperty\"\naction.org.overengineer.inlineproblems.actions.ShowInfosAction.text=Show Infos\nnotification.group.InlineProblems=InlineProblems\napplication.configurable.InlineProblems=InlineProblems\n"}}, {"round_index": 1, "review_state": "COMMENTED", "review_author": "0verEngineer", "submitted_at": "2025-04-25T21:52:13Z", "feedback_type": "inline", "review_author_association": "OWNER", "inline_comments": [{"id": "PRRC_kwDOImWGlc5611qs", "body": "Yea we'll leave the english ones there and eventually someone will contribute them again ", "path": "src/main/resources/messages/SettingsBundle_zh_CN.properties", "originalLine": 55, "line": 55, "originalStartLine": null, "startLine": null, "position": 7, "originalPosition": 4, "outdated": false, "subjectType": "LINE", "authorAssociation": "OWNER", "originalCommit": {"oid": "25fc86738d4ee3a52774e22f07bf081d0c309c8a"}, "diffHunk": "@@ -51,3 +51,18 @@ settings.useEditorFont=\\u4F7F\\u7528\\u7F16\\u8F91\\u5668\\u5B57\\u4F53\\u800C\\u4E0D\\u6\n settings.showOnlyHighestPerLine=\\u4ec5\\u663e\\u793a\\u6bcf\\u884c\\u4e2d\\u6700\\u4e25\\u91cd\\u7684\\u95ee\\u9898\n settings.enableHtmlStripping=Enable stripping of HTML in the messages\n settings.enableXmlUnescaping=Enable unescaping of XML in the messages\n+settings.enableInlineProblem=Enable inlineProblems", "replyTo": {"id": "PRRC_kwDOImWGlc561FPt"}, "createdAt": "2025-04-25T21:52:13Z", "author": {"login": "0verEngineer"}, "reactions": {"totalCount": 1, "nodes": [{"content": "THUMBS_UP", "user": {"login": "khopland"}}]}, "in_reply_to_id": "PRRC_kwDOImWGlc561FPt", "suggested_changes": [], "extended_context": "settings.infoTextColor=\\u4FE1\\u606F\\u6587\\u672C\\u989C\\u8272\\uFF1A\nsettings.infoLabelBorderColor=\\u4FE1\\u606F\\u6807\\u7B7E\\u8FB9\\u6846\\u989C\\u8272\\uFF1A\nsettings.infoLineHighlightColor=\\u4FE1\\u606F\\u884C\\u7A81\\u51FA\\u663E\\u793A\\u989C\\u8272\\uFF1A\nsettings.additionalSeveritiesInfoDesc=\\u9644\\u52A0\\u4FE1\\u606F\\u4E25\\u91CD\\u6027\\u7684\\u7528\\u5206\\u53F7\\u5206\\u9694\\u7684\\u5217\\u8868\\uFF0C\\u4F8B\\u5982 '10, 100'\nsettings.forceProblemsInOneLine=\\u5F3A\\u5236\\u5728\\u540C\\u4E00\\u884C\\u663E\\u793A\\u95EE\\u9898\\uFF0C\\u5373\\u4F7F\\u5B83\\u4EEC\\u592A\\u957F\\u800C\\u65E0\\u6CD5\\u9002\\u5E94\nsettings.useEditorFont=\\u4F7F\\u7528\\u7F16\\u8F91\\u5668\\u5B57\\u4F53\\u800C\\u4E0D\\u662F\\u63D0\\u793A\\u5B57\\u4F53\nsettings.showOnlyHighestPerLine=\\u4ec5\\u663e\\u793a\\u6bcf\\u884c\\u4e2d\\u6700\\u4e25\\u91cd\\u7684\\u95ee\\u9898\nsettings.enableHtmlStripping=Enable stripping of HTML in the messages\nsettings.enableXmlUnescaping=Enable unescaping of XML in the messages\nsettings.enableClickableContext=Enable clickable inline problems for IDE context actions", "referenced_paths": []}], "body_comments": [], "response_commits": [], "force_pushes": [], "builds_on_rounds": [0], "references_repo_structure": false, "ci_state_at_review": null, "ci_state_after_response": null, "ci_transition": "no_response_commits", "response_commit_diffs": {}, "has_code_backing": false, "head_commit_at_review": "f794d23128d6125d3c4f3b0bfc653465843e7be0", "file_contents_at_review": {"src/main/resources/messages/SettingsBundle_zh_CN.properties": "settings.showErrors=\\u663E\\u793A\\u9519\\u8BEF\nsettings.highlightErrors=\\u7A81\\u51FA\\u663E\\u793A\\u9519\\u8BEF\nsettings.showErrorsInGutter=\\u5728\\u88c5\\u8ba2\\u533a\\u57df\\u663e\\u793a\\u9519\\u8bef\\u56fe\\u6807\nsettings.showWarnings=\\u663E\\u793A\\u8B66\\u544A\nsettings.highlightWarnings=\\u7A81\\u51FA\\u663E\\u793A\\u8B66\\u544A\nsettings.showWarningsInGutter=\\u5728\\u88c5\\u8ba2\\u533a\\u57df\\u663e\\u793a\\u8b66\\u544a\\u56fe\\u6807\nsettings.showWeakWarnings=\\u663E\\u793A\\u8F7B\\u5F31\\u8B66\\u544A\nsettings.highlightWeakWarnings=\\u7A81\\u51FA\\u663E\\u793A\\u8F7B\\u5F31\\u8B66\\u544A\nsettings.showWeakWarningsInGutter=\\u5728\\u88c5\\u8ba2\\u533a\\u57df\\u663e\\u793a\\u5f31\\u8b66\\u544a\\u56fe\\u6807\nsettings.showInfos=\\u663E\\u793A\\u4FE1\\u606F\nsettings.highlightInfos=\\u7A81\\u51FA\\u663E\\u793A\\u4FE1\\u606F\nsettings.showInfosInGutter=\\u5728\\u88c5\\u8ba2\\u533a\\u57df\\u663e\\u793a\\u4fe1\\u606f\\u56fe\\u6807\nsettings.submenu.label=\\u8fb9\\u6846 / \\u6807\\u7B7E\nsettings.drawBoxesAroundProblemLabels=\\u5728\\u95ee\\u9898\\u6807\\u7b7e\\u5468\\u56f4\\u7ed8\\u5236\\u8fb9\\u6846\nsettings.roundedCornerBoxes=\\u5706\\u89d2\\u8fb9\\u6846\nsettings.fillProblemLabels=\\u586B\\u5145\\u95EE\\u9898\\u6807\\u7B7E\\u80CC\\u666F\nsettings.boldProblemLabels=\\u52a0\\u7c97\\u95ee\\u9898\\u6807\\u7b7e\nsettings.italicProblemLabels=\\u659C\\u4F53\\u95EE\\u9898\\u6807\\u7B7E\nsettings.submenu.general=\\u901A\\u7528\nsettings.activeProblemListener=\\u542F\\u7528\\u7684\\u95EE\\u9898\\u76D1\\u542C\\u5668\nsettings.markupModelListenerDescription=- MarkupModelListener\\uFF08\\u9ED8\\u8BA4\\uFF09\\uFF1A\\u5728\\u6587\\u4EF6\\u6DFB\\u52A0 RangeHighlighter \\u540E\\u8C03\\u7528\\u3002\\u5927\\u6587\\u4EF6\\u4E2D\\u66F4\\u5FEB\\uFF0C\\u5C0F\\u6587\\u4EF6\\u4E2D\\u66F4\\u6162\\u3002\nsettings.highlightProblemListenerDescription=- HighlightProblemListener\\uFF1A\\u5C0F\\u5230\\u4E2D\\u7B49\\u5927\\u5C0F\\u7684\\u6587\\u4EF6\\u66F4\\u5FEB\\uFF0C\\u5927\\u6587\\u4EF6\\u66F4\\u6162\\u3002\\u8C03\\u7528\\u975E\\u5E38\\u9891\\u7E41\\uFF0C\\u53EF\\u80FD\\u5BFC\\u81F4\\u901F\\u5EA6\\u653E\\u6162\\u3002\nsettings.manualScannerDescription=- ManualScanner\\uFF1A\\u4EE5\\u56FA\\u5B9A\\u7684\\u5EF6\\u8FDF\\u626B\\u63CF DocumentMarkupModel \\u4E2D\\u7684\\u6240\\u6709\\u9AD8\\u4EAE\\u6807\\u8BB0\\uFF0C\\u4F7F\\u7528\\u76F8\\u540C\\u7684\\u903B\\u8F91\\u3002\nsettings.manualScannerDescriptionSupplement= \\u540C HighlightProblemListener\\uFF0C\\u4F46\\u53EF\\u4EE5\\u5E2E\\u52A9\\u5904\\u7406\\u5927\\u6587\\u4EF6\\u4E2D\\u7684\\u653E\\u6162\\u901F\\u5EA6\\u3002\nsettings.manualScannerDelayLabel=ManualScanner \\u4EE5\\u6BEB\\u79D2\\u4E3A\\u5355\\u4F4D\\u7684\\u5EF6\\u8FDF\nsettings.manualScannerDelayTooltip=\\u624B\\u52A8\\u626B\\u63CF\\u95F4\\u7684\\u5EF6\\u8FDF\\uFF0C\\u4EC5\\u5728\\u542F\\u7528 ManualScanner \\u65F6\\u4F7F\\u7528\nsettings.inlaySizeDelta=\\u5b57\\u4f53\\u5927\\u5c0f\\u5dee\\u5f02\nsettings.inlaySizeDeltaTooltip=\\u7528\\u4e8e\\u4e3a\\u6807\\u7b7e\\u8bbe\\u7f6e\\u8f83\\u5c0f\\u7684\\u5b57\\u4f53\\uff0c\\u5fc5\\u987b\\u5c0f\\u4e8e\\u7f16\\u8f91\\u5668\\u5b57\\u4f53\\u5927\\u5c0f\nsettings.problemFilterListLabel=\\u95ee\\u9898\\u8fc7\\u6ee4\\u5217\\u8868\nsettings.problemFilterListTooltip=\\u4e0d\\u5904\\u7406\\u7684\\u95ee\\u9898\\u6587\\u672c\\u5f00\\u5934\\u7684\\u7528\\u5206\\u53f7\\u5206\\u9694\\u7684\\u5217\\u8868\nsettings.submenu.colors=\\u989C\\u8272\nsettings.errorTextColor=\\u9519\\u8BEF\\u6587\\u672C\\u989C\\u8272\\uFF1A\nsettings.errorLabelBorderColor=\\u9519\\u8BEF\\u6807\\u7B7E\\u8FB9\\u6846\\u989C\\u8272\\uFF1A\nsettings.errorLineHighlightColor=\\u9519\\u8BEF\\u884C\\u7A81\\u51FA\\u663E\\u793A\\u989C\\u8272\\uFF1A\nsettings.additionalSeverities=\\u9644\\u52A0\\u4E25\\u91CD\\u6027\\uFF1A\nsettings.additionalSeveritiesErrorDesc=\\u9644\\u52A0\\u9519\\u8BEF\\u4E25\\u91CD\\u6027\\u7684\\u7528\\u5206\\u53F7\\u5206\\u9694\\u7684\\u5217\\u8868\\uFF0C\\u4F8B\\u5982 '10, 100'\nsettings.warningTextColor=\\u8B66\\u544A\\u6587\\u672C\\u989C\\u8272\\uFF1A\nsettings.warningLabelBorderColor=\\u8B66\\u544A\\u6807\\u7B7E\\u8FB9\\u6846\\u989C\\u8272\\uFF1A\nsettings.warningLineHighlightColor=\\u8B66\\u544A\\u884C\\u7A81\\u51FA\\u663E\\u793A\\u989C\\u8272\\uFF1A\nsettings.additionalSeveritiesWarningDesc=\\u9644\\u52A0\\u8B66\\u544A\\u4E25\\u91CD\\u6027\\u7684\\u7528\\u5206\\u53F7\\u5206\\u9694\\u7684\\u5217\\u8868\\uFF0C\\u4F8B\\u5982 '10, 100'\nsettings.weakWarningTextColor=\\u8F7B\\u5F31\\u8B66\\u544A\\u6587\\u672C\\u989C\\u8272\\uFF1A\nsettings.weakWarningLabelBorderColor=\\u8F7B\\u5F31\\u8B66\\u544A\\u6807\\u7B7E\\u8FB9\\u6846\\u989C\\u8272\\uFF1A\nsettings.weakWarningLineHighlightColor=\\u8F7B\\u5F31\\u8B66\\u544A\\u884C\\u7A81\\u51FA\\u663E\\u793A\\u989C\\u8272\\uFF1A\nsettings.additionalSeveritiesWeakWarningDesc=\\u9644\\u52A0\\u8F7B\\u5F31\\u8B66\\u544A\\u4E25\\u91CD\\u6027\\u7684\\u7528\\u5206\\u53F7\\u5206\\u9694\\u7684\\u5217\\u8868\\uFF0C\\u4F8B\\u5982 '10, 100'\nsettings.infoTextColor=\\u4FE1\\u606F\\u6587\\u672C\\u989C\\u8272\\uFF1A\nsettings.infoLabelBorderColor=\\u4FE1\\u606F\\u6807\\u7B7E\\u8FB9\\u6846\\u989C\\u8272\\uFF1A\nsettings.infoLineHighlightColor=\\u4FE1\\u606F\\u884C\\u7A81\\u51FA\\u663E\\u793A\\u989C\\u8272\\uFF1A\nsettings.additionalSeveritiesInfoDesc=\\u9644\\u52A0\\u4FE1\\u606F\\u4E25\\u91CD\\u6027\\u7684\\u7528\\u5206\\u53F7\\u5206\\u9694\\u7684\\u5217\\u8868\\uFF0C\\u4F8B\\u5982 '10, 100'\nsettings.forceProblemsInOneLine=\\u5F3A\\u5236\\u5728\\u540C\\u4E00\\u884C\\u663E\\u793A\\u95EE\\u9898\\uFF0C\\u5373\\u4F7F\\u5B83\\u4EEC\\u592A\\u957F\\u800C\\u65E0\\u6CD5\\u9002\\u5E94\nsettings.useEditorFont=\\u4F7F\\u7528\\u7F16\\u8F91\\u5668\\u5B57\\u4F53\\u800C\\u4E0D\\u662F\\u63D0\\u793A\\u5B57\\u4F53\nsettings.showOnlyHighestPerLine=\\u4ec5\\u663e\\u793a\\u6bcf\\u884c\\u4e2d\\u6700\\u4e25\\u91cd\\u7684\\u95ee\\u9898\nsettings.enableHtmlStripping=Enable stripping of HTML in the messages\nsettings.enableXmlUnescaping=Enable unescaping of XML in the messages\nsettings.enableClickableContext=Enable clickable inline problems for IDE context actions\nsettings.enableInlineProblem=Enable inlineProblems\nsettings.enableInlineProblem.enabled=Enabling inlineProblems\nsettings.enableInlineProblem.disabled=Disabling inlineProblems\n# suppress inspection \"UnusedProperty\"\naction.org.overengineer.inlineproblems.actions.EnableInlineProblemsAction.text=Enable inline Problems\n# suppress inspection \"UnusedProperty\"\naction.org.overengineer.inlineproblems.actions.ShowErrorsAction.text=Show Errors\n# suppress inspection \"UnusedProperty\"\naction.org.overengineer.inlineproblems.actions.ShowWarningsAction.text=Show Warnings\n# suppress inspection \"UnusedProperty\"\naction.org.overengineer.inlineproblems.actions.ShowWeakWarningsAction.text=Show Weak Warnings\n# suppress inspection \"UnusedProperty\"\naction.org.overengineer.inlineproblems.actions.ShowInfosAction.text=Show Infos\nnotification.group.InlineProblems=InlineProblems\napplication.configurable.InlineProblems=InlineProblems\n"}}, {"round_index": 2, "review_state": "COMMENTED", "review_author": "0verEngineer", "submitted_at": "2025-04-25T21:53:59Z", "feedback_type": "inline", "review_author_association": "OWNER", "inline_comments": [{"id": "PRRC_kwDOImWGlc5612qu", "body": "It would be cool, but we have to make sure it works on all platforms (or different binds for the platforms)\r\n(Linux with KDE, Linux with Gnome, Windows and MacOS)", "path": "src/main/resources/META-INF/plugin.xml", "originalLine": 38, "line": null, "originalStartLine": null, "startLine": null, "position": 1, "originalPosition": 25, "outdated": true, "subjectType": "LINE", "authorAssociation": "OWNER", "originalCommit": {"oid": "25fc86738d4ee3a52774e22f07bf081d0c309c8a"}, "diffHunk": "@@ -19,23 +19,47 @@\n <!-- Extension points defined by the plugin.\n Read more: https://plugins.jetbrains.com/docs/intellij/plugin-extension-points.html -->\n <extensions defaultExtensionNs=\"com.intellij\">\n- <applicationConfigurable parentId=\"appearance\" instance=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n+ <applicationConfigurable parentId=\"appearance\"\n+ instance=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n id=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n- displayName=\"InlineProblems\"/>\n+ key=\"application.configurable.InlineProblems\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.settings.SettingsState\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.ProblemManager\"/>\n- <daemon.highlightInfoFilter implementation=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\" id=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\" />\n+ <daemon.highlightInfoFilter implementation=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"\n+ id=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"/>\n \n- <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\" />\n- <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\"/>\n+ <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\"/>\n+ <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\" bundle=\"messages.SettingsBundle\"\n+ key=\"notification.group.InlineProblems\"/>\n </extensions>\n \n+ <actions>\n+ <action class=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\"\n+ id=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\"", "replyTo": {"id": "PRRC_kwDOImWGlc561FCY"}, "createdAt": "2025-04-25T21:53:59Z", "author": {"login": "0verEngineer"}, "reactions": {"totalCount": 0, "nodes": []}, "in_reply_to_id": "PRRC_kwDOImWGlc561FCY", "suggested_changes": [], "extended_context": "\n <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\" />\n <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\"/>\n </extensions>\n\n <projectListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.FileEditorListener\" topic=\"com.intellij.openapi.fileEditor.FileEditorManagerListener\" />\n </projectListeners>\n\n <applicationListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.PluginListener\" topic=\"com.intellij.ide.plugins.DynamicPluginListener\" />\n <listener class=\"org.overengineer.inlineproblems.listeners.ProjectCloseListener\" topic=\"com.intellij.openapi.project.ProjectManagerListener\" />\n </applicationListeners>\n</idea-plugin>", "referenced_paths": []}], "body_comments": [], "response_commits": [], "force_pushes": [], "builds_on_rounds": [], "references_repo_structure": false, "ci_state_at_review": null, "ci_state_after_response": null, "ci_transition": "no_response_commits", "response_commit_diffs": {}, "has_code_backing": false, "head_commit_at_review": "f794d23128d6125d3c4f3b0bfc653465843e7be0", "file_contents_at_review": {"src/main/resources/META-INF/plugin.xml": "<!-- Plugin Configuration File. Read more: https://plugins.jetbrains.com/docs/intellij/plugin-configuration-file.html -->\n<idea-plugin>\n <!-- Unique identifier of the plugin. It should be FQN. It cannot be changed between the plugin versions. -->\n <id>org.OverEngineer.InlineProblems</id>\n\n <!-- Public plugin name should be written in Title Case.\n Guidelines: https://plugins.jetbrains.com/docs/marketplace/plugin-overview-page.html#plugin-name -->\n <name>InlineProblems</name>\n\n <!-- A displayed Vendor name or Organization ID displayed on the Plugins Page. -->\n <vendor url=\"https://github.com/0verEngineer/InlineProblems\">0verEngineer</vendor>\n\n <!-- Product and plugin compatibility requirements.\n Read more: https://plugins.jetbrains.com/docs/intellij/plugin-compatibility.html -->\n <depends>com.intellij.modules.platform</depends>\n\n <resource-bundle>messages.SettingsBundle</resource-bundle>\n\n <!-- Extension points defined by the plugin.\n Read more: https://plugins.jetbrains.com/docs/intellij/plugin-extension-points.html -->\n <extensions defaultExtensionNs=\"com.intellij\">\n <applicationConfigurable parentId=\"appearance\"\n instance=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n id=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n key=\"application.configurable.InlineProblems\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.settings.SettingsState\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.ProblemManager\"/>\n <daemon.highlightInfoFilter implementation=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"\n id=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"/>\n\n <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\"/>\n <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\" bundle=\"messages.SettingsBundle\"\n key=\"notification.group.InlineProblems\"/>\n </extensions>\n\n <actions>\n <action class=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\"\n id=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\"\n />\n <action class=\"org.overengineer.inlineproblems.actions.ShowErrorsAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowErrorsAction\"\n />\n <action class=\"org.overengineer.inlineproblems.actions.ShowWarningsAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowWarningsAction\"\n />\n <action class=\"org.overengineer.inlineproblems.actions.ShowWeakWarningsAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowWeakWarningsAction\"\n />\n <action class=\"org.overengineer.inlineproblems.actions.ShowInfosAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowInfosAction\"\n />\n </actions>\n\n <projectListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.FileEditorListener\"\n topic=\"com.intellij.openapi.fileEditor.FileEditorManagerListener\"/>\n </projectListeners>\n\n <applicationListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.PluginListener\"\n topic=\"com.intellij.ide.plugins.DynamicPluginListener\"/>\n <listener class=\"org.overengineer.inlineproblems.listeners.ProjectCloseListener\"\n topic=\"com.intellij.openapi.project.ProjectManagerListener\"/>\n </applicationListeners>\n</idea-plugin>"}}, {"round_index": 3, "review_state": "COMMENTED", "review_author": "0verEngineer", "submitted_at": "2025-04-25T21:55:30Z", "feedback_type": "inline", "review_author_association": "OWNER", "inline_comments": [{"id": "PRRC_kwDOImWGlc5613HH", "body": "I think it should be disabled by default but can be enabled with a general setting like \"Enable InlineProblems notifications\"", "path": "src/main/java/org/overengineer/inlineproblems/actions/EnableInlineProblemsAction.java", "originalLine": 19, "line": null, "originalStartLine": null, "startLine": null, "position": 1, "originalPosition": 19, "outdated": true, "subjectType": "LINE", "authorAssociation": "OWNER", "originalCommit": {"oid": "25fc86738d4ee3a52774e22f07bf081d0c309c8a"}, "diffHunk": "@@ -0,0 +1,27 @@\n+package org.overengineer.inlineproblems.actions;\n+\n+import com.intellij.notification.NotificationType;\n+import com.intellij.openapi.actionSystem.AnAction;\n+import com.intellij.openapi.actionSystem.AnActionEvent;\n+import com.intellij.openapi.application.ApplicationManager;\n+import org.jetbrains.annotations.NotNull;\n+import org.overengineer.inlineproblems.DocumentMarkupModelScanner;\n+import org.overengineer.inlineproblems.Notifier;\n+import org.overengineer.inlineproblems.bundles.SettingsBundle;\n+import org.overengineer.inlineproblems.settings.SettingsState;\n+\n+public class EnableInlineProblemsAction extends AnAction {\n+\n+ @Override\n+ public void actionPerformed(@NotNull AnActionEvent anActionEvent) {\n+ SettingsState settingsState = SettingsState.getInstance();\n+ if (settingsState.isEnableInlineProblem()) {\n+ Notifier.notify(SettingsBundle.message(\"settings.enableInlineProblem.disabled\"), NotificationType.IDE_UPDATE, anActionEvent.getProject());", "replyTo": {"id": "PRRC_kwDOImWGlc561ErE"}, "createdAt": "2025-04-25T21:55:30Z", "author": {"login": "0verEngineer"}, "reactions": {"totalCount": 0, "nodes": []}, "in_reply_to_id": "PRRC_kwDOImWGlc561ErE", "suggested_changes": [], "extended_context": null, "referenced_paths": []}], "body_comments": [], "response_commits": [{"oid": "427356556edfcb5685730823b37ab6c18602771d", "message": "added setting to enable and disable notification when toggling inlineProblems", "authoredDate": "2025-04-25T22:48:41Z", "author": {"user": {"login": "khopland"}, "name": "Kristoffer Larsen Hopland"}, "statusCheckRollup": null, "author_type": "human", "agent_commit_signals": [], "ci_state": null, "ci_contexts": [], "ci_failed_checks": [], "ci_test_check_failed": false}], "force_pushes": [], "builds_on_rounds": [], "references_repo_structure": false, "ci_state_at_review": null, "ci_state_after_response": null, "ci_transition": "no_ci", "response_commit_diffs": {"427356556edfcb5685730823b37ab6c18602771d": {"src/main/java/org/overengineer/inlineproblems/actions/EnableInlineProblemsAction.java": [[15, 24]], "src/main/java/org/overengineer/inlineproblems/settings/SettingsComponent.java": [[56, 63], [119, 126], [159, 165], [247, 260]], "src/main/java/org/overengineer/inlineproblems/settings/SettingsConfigurable.java": [[135, 144], [209, 218]], "src/main/java/org/overengineer/inlineproblems/settings/SettingsState.java": [[42, 48]], "src/main/resources/messages/SettingsBundle_en.properties": [[55, 61]]}}, "has_code_backing": false, "head_commit_at_review": "f794d23128d6125d3c4f3b0bfc653465843e7be0", "file_contents_at_review": {"src/main/java/org/overengineer/inlineproblems/actions/EnableInlineProblemsAction.java": "package org.overengineer.inlineproblems.actions;\n\nimport com.intellij.notification.NotificationType;\nimport com.intellij.openapi.actionSystem.AnAction;\nimport com.intellij.openapi.actionSystem.AnActionEvent;\nimport com.intellij.openapi.application.ApplicationManager;\nimport org.jetbrains.annotations.NotNull;\nimport org.overengineer.inlineproblems.DocumentMarkupModelScanner;\nimport org.overengineer.inlineproblems.Notifier;\nimport org.overengineer.inlineproblems.bundles.SettingsBundle;\nimport org.overengineer.inlineproblems.settings.SettingsState;\n\npublic class EnableInlineProblemsAction extends AnAction {\n\n @Override\n public void actionPerformed(@NotNull AnActionEvent anActionEvent) {\n SettingsState settingsState = SettingsState.getInstance();\n if (settingsState.isEnableInlineProblem()) {\n Notifier.notify(SettingsBundle.message(\"settings.enableInlineProblem.disabled\"), NotificationType.IDE_UPDATE, anActionEvent.getProject());\n settingsState.setEnableInlineProblem(false);\n } else {\n Notifier.notify(SettingsBundle.message(\"settings.enableInlineProblem.enabled\"), NotificationType.IDE_UPDATE, anActionEvent.getProject());\n settingsState.setEnableInlineProblem(true);\n }\n ApplicationManager.getApplication().invokeAndWait(DocumentMarkupModelScanner.getInstance()::scanForProblemsManually);\n }\n}\n"}}, {"round_index": 4, "review_state": "COMMENTED", "review_author": "0verEngineer", "submitted_at": "2025-04-28T09:50:51Z", "feedback_type": "inline", "review_author_association": "OWNER", "inline_comments": [{"id": "PRRC_kwDOImWGlc56-8Ok", "body": "@khopland Do you have a specific key binding in mind - or do you know which one does the VSCode equivalent use?", "path": "src/main/resources/META-INF/plugin.xml", "originalLine": 38, "line": null, "originalStartLine": null, "startLine": null, "position": 1, "originalPosition": 25, "outdated": true, "subjectType": "LINE", "authorAssociation": "OWNER", "originalCommit": {"oid": "25fc86738d4ee3a52774e22f07bf081d0c309c8a"}, "diffHunk": "@@ -19,23 +19,47 @@\n <!-- Extension points defined by the plugin.\n Read more: https://plugins.jetbrains.com/docs/intellij/plugin-extension-points.html -->\n <extensions defaultExtensionNs=\"com.intellij\">\n- <applicationConfigurable parentId=\"appearance\" instance=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n+ <applicationConfigurable parentId=\"appearance\"\n+ instance=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n id=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n- displayName=\"InlineProblems\"/>\n+ key=\"application.configurable.InlineProblems\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.settings.SettingsState\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.ProblemManager\"/>\n- <daemon.highlightInfoFilter implementation=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\" id=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\" />\n+ <daemon.highlightInfoFilter implementation=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"\n+ id=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"/>\n \n- <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\" />\n- <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\"/>\n+ <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\"/>\n+ <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\" bundle=\"messages.SettingsBundle\"\n+ key=\"notification.group.InlineProblems\"/>\n </extensions>\n \n+ <actions>\n+ <action class=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\"\n+ id=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\"", "replyTo": {"id": "PRRC_kwDOImWGlc561FCY"}, "createdAt": "2025-04-28T09:50:50Z", "author": {"login": "0verEngineer"}, "reactions": {"totalCount": 0, "nodes": []}, "in_reply_to_id": "PRRC_kwDOImWGlc561FCY", "suggested_changes": [], "extended_context": "\n <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\" />\n <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\"/>\n </extensions>\n\n <projectListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.FileEditorListener\" topic=\"com.intellij.openapi.fileEditor.FileEditorManagerListener\" />\n </projectListeners>\n\n <applicationListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.PluginListener\" topic=\"com.intellij.ide.plugins.DynamicPluginListener\" />\n <listener class=\"org.overengineer.inlineproblems.listeners.ProjectCloseListener\" topic=\"com.intellij.openapi.project.ProjectManagerListener\" />\n </applicationListeners>\n</idea-plugin>", "referenced_paths": []}], "body_comments": [], "response_commits": [], "force_pushes": [], "builds_on_rounds": [], "references_repo_structure": false, "ci_state_at_review": null, "ci_state_after_response": null, "ci_transition": "no_response_commits", "response_commit_diffs": {}, "has_code_backing": false, "head_commit_at_review": "427356556edfcb5685730823b37ab6c18602771d", "file_contents_at_review": {"src/main/resources/META-INF/plugin.xml": "<!-- Plugin Configuration File. Read more: https://plugins.jetbrains.com/docs/intellij/plugin-configuration-file.html -->\n<idea-plugin>\n <!-- Unique identifier of the plugin. It should be FQN. It cannot be changed between the plugin versions. -->\n <id>org.OverEngineer.InlineProblems</id>\n\n <!-- Public plugin name should be written in Title Case.\n Guidelines: https://plugins.jetbrains.com/docs/marketplace/plugin-overview-page.html#plugin-name -->\n <name>InlineProblems</name>\n\n <!-- A displayed Vendor name or Organization ID displayed on the Plugins Page. -->\n <vendor url=\"https://github.com/0verEngineer/InlineProblems\">0verEngineer</vendor>\n\n <!-- Product and plugin compatibility requirements.\n Read more: https://plugins.jetbrains.com/docs/intellij/plugin-compatibility.html -->\n <depends>com.intellij.modules.platform</depends>\n\n <resource-bundle>messages.SettingsBundle</resource-bundle>\n\n <!-- Extension points defined by the plugin.\n Read more: https://plugins.jetbrains.com/docs/intellij/plugin-extension-points.html -->\n <extensions defaultExtensionNs=\"com.intellij\">\n <applicationConfigurable parentId=\"appearance\"\n instance=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n id=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n key=\"application.configurable.InlineProblems\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.settings.SettingsState\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.ProblemManager\"/>\n <daemon.highlightInfoFilter implementation=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"\n id=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"/>\n\n <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\"/>\n <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\" bundle=\"messages.SettingsBundle\"\n key=\"notification.group.InlineProblems\"/>\n </extensions>\n\n <actions>\n <action class=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\"\n id=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\"\n />\n <action class=\"org.overengineer.inlineproblems.actions.ShowErrorsAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowErrorsAction\"\n />\n <action class=\"org.overengineer.inlineproblems.actions.ShowWarningsAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowWarningsAction\"\n />\n <action class=\"org.overengineer.inlineproblems.actions.ShowWeakWarningsAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowWeakWarningsAction\"\n />\n <action class=\"org.overengineer.inlineproblems.actions.ShowInfosAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowInfosAction\"\n />\n </actions>\n\n <projectListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.FileEditorListener\"\n topic=\"com.intellij.openapi.fileEditor.FileEditorManagerListener\"/>\n </projectListeners>\n\n <applicationListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.PluginListener\"\n topic=\"com.intellij.ide.plugins.DynamicPluginListener\"/>\n <listener class=\"org.overengineer.inlineproblems.listeners.ProjectCloseListener\"\n topic=\"com.intellij.openapi.project.ProjectManagerListener\"/>\n </applicationListeners>\n</idea-plugin>"}}, {"round_index": 5, "review_state": "COMMENTED", "review_author": "0verEngineer", "submitted_at": "2025-04-28T10:57:54Z", "feedback_type": "inline", "review_author_association": "OWNER", "inline_comments": [{"id": "PRRC_kwDOImWGlc56--eZ", "body": "- Please make this multi line\r\n- Shouldn't the NotificationType be 'INFORMATION'?", "path": "src/main/java/org/overengineer/inlineproblems/actions/EnableInlineProblemsAction.java", "originalLine": 19, "line": null, "originalStartLine": null, "startLine": null, "position": 1, "originalPosition": 19, "outdated": true, "subjectType": "LINE", "authorAssociation": "OWNER", "originalCommit": {"oid": "325e17c59b8daa7a2fc91287aa4a61f318be5ca7"}, "diffHunk": "@@ -0,0 +1,24 @@\n+package org.overengineer.inlineproblems.actions;\n+\n+import com.intellij.notification.NotificationType;\n+import com.intellij.openapi.actionSystem.AnAction;\n+import com.intellij.openapi.actionSystem.AnActionEvent;\n+import com.intellij.openapi.application.ApplicationManager;\n+import org.jetbrains.annotations.NotNull;\n+import org.overengineer.inlineproblems.DocumentMarkupModelScanner;\n+import org.overengineer.inlineproblems.Notifier;\n+import org.overengineer.inlineproblems.bundles.SettingsBundle;\n+import org.overengineer.inlineproblems.settings.SettingsState;\n+\n+public class EnableInlineProblemsAction extends AnAction {\n+\n+ @Override\n+ public void actionPerformed(@NotNull AnActionEvent anActionEvent) {\n+ SettingsState settingsState = SettingsState.getInstance();\n+ if (settingsState.isEnableInlineProblemsNotifications()) {\n+ Notifier.notify(SettingsBundle.message(settingsState.isEnableInlineProblem() ? \"settings.enableInlineProblem.disabled\" : \"settings.enableInlineProblem.enabled\"), NotificationType.IDE_UPDATE, anActionEvent.getProject());", "replyTo": null, "createdAt": "2025-04-28T09:56:36Z", "author": {"login": "0verEngineer"}, "reactions": {"totalCount": 1, "nodes": [{"content": "THUMBS_UP", "user": {"login": "khopland"}}]}, "in_reply_to_id": null, "suggested_changes": [], "extended_context": null, "referenced_paths": []}], "body_comments": [], "response_commits": [{"oid": "6f80059f5e1d6ef63c1dc91e763611f64076aabc", "message": "fix format and change notification type", "authoredDate": "2025-04-29T16:28:24Z", "author": {"user": {"login": "khopland"}, "name": "Kristoffer Larsen Hopland"}, "statusCheckRollup": null, "author_type": "human", "agent_commit_signals": [], "ci_state": null, "ci_contexts": [], "ci_failed_checks": [], "ci_test_check_failed": false}], "force_pushes": [], "builds_on_rounds": [], "references_repo_structure": false, "ci_state_at_review": null, "ci_state_after_response": null, "ci_transition": "no_ci", "response_commit_diffs": {"6f80059f5e1d6ef63c1dc91e763611f64076aabc": {"src/main/java/org/overengineer/inlineproblems/actions/EnableInlineProblemsAction.java": [[16, 28]]}}, "has_code_backing": false, "head_commit_at_review": "427356556edfcb5685730823b37ab6c18602771d", "file_contents_at_review": {"src/main/java/org/overengineer/inlineproblems/actions/EnableInlineProblemsAction.java": "package org.overengineer.inlineproblems.actions;\n\nimport com.intellij.notification.NotificationType;\nimport com.intellij.openapi.actionSystem.AnAction;\nimport com.intellij.openapi.actionSystem.AnActionEvent;\nimport com.intellij.openapi.application.ApplicationManager;\nimport org.jetbrains.annotations.NotNull;\nimport org.overengineer.inlineproblems.DocumentMarkupModelScanner;\nimport org.overengineer.inlineproblems.Notifier;\nimport org.overengineer.inlineproblems.bundles.SettingsBundle;\nimport org.overengineer.inlineproblems.settings.SettingsState;\n\npublic class EnableInlineProblemsAction extends AnAction {\n\n @Override\n public void actionPerformed(@NotNull AnActionEvent anActionEvent) {\n SettingsState settingsState = SettingsState.getInstance();\n if (settingsState.isEnableInlineProblemsNotifications()) {\n Notifier.notify(SettingsBundle.message(settingsState.isEnableInlineProblem() ? \"settings.enableInlineProblem.disabled\" : \"settings.enableInlineProblem.enabled\"), NotificationType.IDE_UPDATE, anActionEvent.getProject());\n }\n settingsState.setEnableInlineProblem(!settingsState.isEnableInlineProblem());\n ApplicationManager.getApplication().invokeAndWait(DocumentMarkupModelScanner.getInstance()::scanForProblemsManually);\n }\n}\n"}}, {"round_index": 6, "review_state": "COMMENTED", "review_author": "khopland", "submitted_at": "2025-04-29T16:29:33Z", "feedback_type": "inline", "review_author_association": "CONTRIBUTOR", "inline_comments": [{"id": "PRRC_kwDOImWGlc57MuZR", "body": "fixed it to be INFORMATION and made it on multi line", "path": "src/main/java/org/overengineer/inlineproblems/actions/EnableInlineProblemsAction.java", "originalLine": 19, "line": null, "originalStartLine": null, "startLine": null, "position": 1, "originalPosition": 19, "outdated": true, "subjectType": "LINE", "authorAssociation": "CONTRIBUTOR", "originalCommit": {"oid": "325e17c59b8daa7a2fc91287aa4a61f318be5ca7"}, "diffHunk": "@@ -0,0 +1,24 @@\n+package org.overengineer.inlineproblems.actions;\n+\n+import com.intellij.notification.NotificationType;\n+import com.intellij.openapi.actionSystem.AnAction;\n+import com.intellij.openapi.actionSystem.AnActionEvent;\n+import com.intellij.openapi.application.ApplicationManager;\n+import org.jetbrains.annotations.NotNull;\n+import org.overengineer.inlineproblems.DocumentMarkupModelScanner;\n+import org.overengineer.inlineproblems.Notifier;\n+import org.overengineer.inlineproblems.bundles.SettingsBundle;\n+import org.overengineer.inlineproblems.settings.SettingsState;\n+\n+public class EnableInlineProblemsAction extends AnAction {\n+\n+ @Override\n+ public void actionPerformed(@NotNull AnActionEvent anActionEvent) {\n+ SettingsState settingsState = SettingsState.getInstance();\n+ if (settingsState.isEnableInlineProblemsNotifications()) {\n+ Notifier.notify(SettingsBundle.message(settingsState.isEnableInlineProblem() ? \"settings.enableInlineProblem.disabled\" : \"settings.enableInlineProblem.enabled\"), NotificationType.IDE_UPDATE, anActionEvent.getProject());", "replyTo": {"id": "PRRC_kwDOImWGlc56--eZ"}, "createdAt": "2025-04-29T16:29:33Z", "author": {"login": "khopland"}, "reactions": {"totalCount": 0, "nodes": []}, "in_reply_to_id": "PRRC_kwDOImWGlc56--eZ", "suggested_changes": [], "extended_context": null, "referenced_paths": []}], "body_comments": [], "response_commits": [], "force_pushes": [], "builds_on_rounds": [], "references_repo_structure": false, "ci_state_at_review": null, "ci_state_after_response": null, "ci_transition": "no_response_commits", "response_commit_diffs": {}, "has_code_backing": false, "head_commit_at_review": "6f80059f5e1d6ef63c1dc91e763611f64076aabc", "file_contents_at_review": {"src/main/java/org/overengineer/inlineproblems/actions/EnableInlineProblemsAction.java": "package org.overengineer.inlineproblems.actions;\n\nimport com.intellij.notification.NotificationType;\nimport com.intellij.openapi.actionSystem.AnAction;\nimport com.intellij.openapi.actionSystem.AnActionEvent;\nimport com.intellij.openapi.application.ApplicationManager;\nimport org.jetbrains.annotations.NotNull;\nimport org.overengineer.inlineproblems.DocumentMarkupModelScanner;\nimport org.overengineer.inlineproblems.Notifier;\nimport org.overengineer.inlineproblems.bundles.SettingsBundle;\nimport org.overengineer.inlineproblems.settings.SettingsState;\n\npublic class EnableInlineProblemsAction extends AnAction {\n\n @Override\n public void actionPerformed(@NotNull AnActionEvent anActionEvent) {\n SettingsState settingsState = SettingsState.getInstance();\n if (settingsState.isEnableInlineProblemsNotifications()) {\n Notifier.notify(SettingsBundle.message(\n settingsState.isEnableInlineProblem()\n ? \"settings.enableInlineProblem.disabled\"\n : \"settings.enableInlineProblem.enabled\"),\n NotificationType.INFORMATION,\n anActionEvent.getProject()\n );\n }\n settingsState.setEnableInlineProblem(!settingsState.isEnableInlineProblem());\n ApplicationManager.getApplication().invokeAndWait(DocumentMarkupModelScanner.getInstance()::scanForProblemsManually);\n }\n}\n"}}, {"round_index": 7, "review_state": "COMMENTED", "review_author": "khopland", "submitted_at": "2025-04-29T16:36:36Z", "feedback_type": "inline", "review_author_association": "CONTRIBUTOR", "inline_comments": [{"id": "PRRC_kwDOImWGlc57Mw4p", "body": "looks like vs-code recomends ctrl + u\r\n\r\nhttps://github.com/usernamehw/vscode-error-lens/blob/master/docs/docs.md\r\nbut i think its used already\r\n", "path": "src/main/resources/META-INF/plugin.xml", "originalLine": 38, "line": null, "originalStartLine": null, "startLine": null, "position": 1, "originalPosition": 25, "outdated": true, "subjectType": "LINE", "authorAssociation": "CONTRIBUTOR", "originalCommit": {"oid": "25fc86738d4ee3a52774e22f07bf081d0c309c8a"}, "diffHunk": "@@ -19,23 +19,47 @@\n <!-- Extension points defined by the plugin.\n Read more: https://plugins.jetbrains.com/docs/intellij/plugin-extension-points.html -->\n <extensions defaultExtensionNs=\"com.intellij\">\n- <applicationConfigurable parentId=\"appearance\" instance=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n+ <applicationConfigurable parentId=\"appearance\"\n+ instance=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n id=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n- displayName=\"InlineProblems\"/>\n+ key=\"application.configurable.InlineProblems\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.settings.SettingsState\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.ProblemManager\"/>\n- <daemon.highlightInfoFilter implementation=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\" id=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\" />\n+ <daemon.highlightInfoFilter implementation=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"\n+ id=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"/>\n \n- <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\" />\n- <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\"/>\n+ <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\"/>\n+ <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\" bundle=\"messages.SettingsBundle\"\n+ key=\"notification.group.InlineProblems\"/>\n </extensions>\n \n+ <actions>\n+ <action class=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\"\n+ id=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\"", "replyTo": {"id": "PRRC_kwDOImWGlc561FCY"}, "createdAt": "2025-04-29T16:36:36Z", "author": {"login": "khopland"}, "reactions": {"totalCount": 0, "nodes": []}, "in_reply_to_id": "PRRC_kwDOImWGlc561FCY", "suggested_changes": [], "extended_context": "\n <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\" />\n <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\"/>\n </extensions>\n\n <projectListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.FileEditorListener\" topic=\"com.intellij.openapi.fileEditor.FileEditorManagerListener\" />\n </projectListeners>\n\n <applicationListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.PluginListener\" topic=\"com.intellij.ide.plugins.DynamicPluginListener\" />\n <listener class=\"org.overengineer.inlineproblems.listeners.ProjectCloseListener\" topic=\"com.intellij.openapi.project.ProjectManagerListener\" />\n </applicationListeners>\n</idea-plugin>", "referenced_paths": []}], "body_comments": [], "response_commits": [], "force_pushes": [], "builds_on_rounds": [], "references_repo_structure": false, "ci_state_at_review": null, "ci_state_after_response": null, "ci_transition": "no_response_commits", "response_commit_diffs": {}, "has_code_backing": false, "head_commit_at_review": "6f80059f5e1d6ef63c1dc91e763611f64076aabc", "file_contents_at_review": {"src/main/resources/META-INF/plugin.xml": "<!-- Plugin Configuration File. Read more: https://plugins.jetbrains.com/docs/intellij/plugin-configuration-file.html -->\n<idea-plugin>\n <!-- Unique identifier of the plugin. It should be FQN. It cannot be changed between the plugin versions. -->\n <id>org.OverEngineer.InlineProblems</id>\n\n <!-- Public plugin name should be written in Title Case.\n Guidelines: https://plugins.jetbrains.com/docs/marketplace/plugin-overview-page.html#plugin-name -->\n <name>InlineProblems</name>\n\n <!-- A displayed Vendor name or Organization ID displayed on the Plugins Page. -->\n <vendor url=\"https://github.com/0verEngineer/InlineProblems\">0verEngineer</vendor>\n\n <!-- Product and plugin compatibility requirements.\n Read more: https://plugins.jetbrains.com/docs/intellij/plugin-compatibility.html -->\n <depends>com.intellij.modules.platform</depends>\n\n <resource-bundle>messages.SettingsBundle</resource-bundle>\n\n <!-- Extension points defined by the plugin.\n Read more: https://plugins.jetbrains.com/docs/intellij/plugin-extension-points.html -->\n <extensions defaultExtensionNs=\"com.intellij\">\n <applicationConfigurable parentId=\"appearance\"\n instance=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n id=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n key=\"application.configurable.InlineProblems\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.settings.SettingsState\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.ProblemManager\"/>\n <daemon.highlightInfoFilter implementation=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"\n id=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"/>\n\n <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\"/>\n <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\" bundle=\"messages.SettingsBundle\"\n key=\"notification.group.InlineProblems\"/>\n </extensions>\n\n <actions>\n <action class=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\"\n id=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\"\n />\n <action class=\"org.overengineer.inlineproblems.actions.ShowErrorsAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowErrorsAction\"\n />\n <action class=\"org.overengineer.inlineproblems.actions.ShowWarningsAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowWarningsAction\"\n />\n <action class=\"org.overengineer.inlineproblems.actions.ShowWeakWarningsAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowWeakWarningsAction\"\n />\n <action class=\"org.overengineer.inlineproblems.actions.ShowInfosAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowInfosAction\"\n />\n </actions>\n\n <projectListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.FileEditorListener\"\n topic=\"com.intellij.openapi.fileEditor.FileEditorManagerListener\"/>\n </projectListeners>\n\n <applicationListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.PluginListener\"\n topic=\"com.intellij.ide.plugins.DynamicPluginListener\"/>\n <listener class=\"org.overengineer.inlineproblems.listeners.ProjectCloseListener\"\n topic=\"com.intellij.openapi.project.ProjectManagerListener\"/>\n </applicationListeners>\n</idea-plugin>"}}, {"round_index": 8, "review_state": "COMMENTED", "review_author": "khopland", "submitted_at": "2025-04-29T16:39:22Z", "feedback_type": "inline", "review_author_association": "CONTRIBUTOR", "inline_comments": [{"id": "PRRC_kwDOImWGlc57Mx9B", "body": "so i think we should have somthing like `shift + ctrl + alt + u` to make it not collide with another keybinding.", "path": "src/main/resources/META-INF/plugin.xml", "originalLine": 38, "line": null, "originalStartLine": null, "startLine": null, "position": 1, "originalPosition": 25, "outdated": true, "subjectType": "LINE", "authorAssociation": "CONTRIBUTOR", "originalCommit": {"oid": "25fc86738d4ee3a52774e22f07bf081d0c309c8a"}, "diffHunk": "@@ -19,23 +19,47 @@\n <!-- Extension points defined by the plugin.\n Read more: https://plugins.jetbrains.com/docs/intellij/plugin-extension-points.html -->\n <extensions defaultExtensionNs=\"com.intellij\">\n- <applicationConfigurable parentId=\"appearance\" instance=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n+ <applicationConfigurable parentId=\"appearance\"\n+ instance=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n id=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n- displayName=\"InlineProblems\"/>\n+ key=\"application.configurable.InlineProblems\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.settings.SettingsState\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.ProblemManager\"/>\n- <daemon.highlightInfoFilter implementation=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\" id=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\" />\n+ <daemon.highlightInfoFilter implementation=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"\n+ id=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"/>\n \n- <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\" />\n- <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\"/>\n+ <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\"/>\n+ <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\" bundle=\"messages.SettingsBundle\"\n+ key=\"notification.group.InlineProblems\"/>\n </extensions>\n \n+ <actions>\n+ <action class=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\"\n+ id=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\"", "replyTo": {"id": "PRRC_kwDOImWGlc561FCY"}, "createdAt": "2025-04-29T16:39:22Z", "author": {"login": "khopland"}, "reactions": {"totalCount": 0, "nodes": []}, "in_reply_to_id": "PRRC_kwDOImWGlc561FCY", "suggested_changes": [], "extended_context": "\n <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\" />\n <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\"/>\n </extensions>\n\n <projectListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.FileEditorListener\" topic=\"com.intellij.openapi.fileEditor.FileEditorManagerListener\" />\n </projectListeners>\n\n <applicationListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.PluginListener\" topic=\"com.intellij.ide.plugins.DynamicPluginListener\" />\n <listener class=\"org.overengineer.inlineproblems.listeners.ProjectCloseListener\" topic=\"com.intellij.openapi.project.ProjectManagerListener\" />\n </applicationListeners>\n</idea-plugin>", "referenced_paths": []}], "body_comments": [], "response_commits": [{"oid": "a97ea837ee6d3dc87fe639644a61b16335010f30", "message": "add a default key binding alt+u", "authoredDate": "2025-04-29T20:10:43Z", "author": {"user": {"login": "khopland"}, "name": "Kristoffer Larsen Hopland"}, "statusCheckRollup": {"state": "SUCCESS", "contexts": {"nodes": [{"__typename": "CheckRun", "name": "Build", "conclusion": "SUCCESS", "startedAt": "2025-05-05T15:38:15Z", "completedAt": "2025-05-05T15:39:20Z"}, {"__typename": "CheckRun", "name": "Test", "conclusion": "SUCCESS", "startedAt": "2025-05-05T15:39:30Z", "completedAt": "2025-05-05T15:40:22Z"}, {"__typename": "CheckRun", "name": "Inspect code", "conclusion": "SUCCESS", "startedAt": "2025-05-05T15:39:31Z", "completedAt": "2025-05-05T15:44:14Z"}, {"__typename": "CheckRun", "name": "Verify plugin", "conclusion": "SUCCESS", "startedAt": "2025-05-05T15:39:28Z", "completedAt": "2025-05-05T15:40:18Z"}, {"__typename": "CheckRun", "name": "Release Draft", "conclusion": "SKIPPED", "startedAt": "2025-05-05T15:39:23Z", "completedAt": "2025-05-05T15:39:23Z"}]}}, "author_type": "human", "agent_commit_signals": [], "ci_state": "SUCCESS", "ci_contexts": [{"__typename": "CheckRun", "name": "Build", "conclusion": "SUCCESS", "startedAt": "2025-05-05T15:38:15Z", "completedAt": "2025-05-05T15:39:20Z"}, {"__typename": "CheckRun", "name": "Test", "conclusion": "SUCCESS", "startedAt": "2025-05-05T15:39:30Z", "completedAt": "2025-05-05T15:40:22Z"}, {"__typename": "CheckRun", "name": "Inspect code", "conclusion": "SUCCESS", "startedAt": "2025-05-05T15:39:31Z", "completedAt": "2025-05-05T15:44:14Z"}, {"__typename": "CheckRun", "name": "Verify plugin", "conclusion": "SUCCESS", "startedAt": "2025-05-05T15:39:28Z", "completedAt": "2025-05-05T15:40:18Z"}, {"__typename": "CheckRun", "name": "Release Draft", "conclusion": "SKIPPED", "startedAt": "2025-05-05T15:39:23Z", "completedAt": "2025-05-05T15:39:23Z"}], "ci_failed_checks": [], "ci_test_check_failed": false}], "force_pushes": [], "builds_on_rounds": [], "references_repo_structure": false, "ci_state_at_review": null, "ci_state_after_response": "SUCCESS", "ci_transition": "other", "response_commit_diffs": {"a97ea837ee6d3dc87fe639644a61b16335010f30": {"README.md": [[23, 31]], "src/main/resources/META-INF/plugin.xml": [[35, 43]]}}, "has_code_backing": false, "head_commit_at_review": "6f80059f5e1d6ef63c1dc91e763611f64076aabc", "file_contents_at_review": {"src/main/resources/META-INF/plugin.xml": "<!-- Plugin Configuration File. Read more: https://plugins.jetbrains.com/docs/intellij/plugin-configuration-file.html -->\n<idea-plugin>\n <!-- Unique identifier of the plugin. It should be FQN. It cannot be changed between the plugin versions. -->\n <id>org.OverEngineer.InlineProblems</id>\n\n <!-- Public plugin name should be written in Title Case.\n Guidelines: https://plugins.jetbrains.com/docs/marketplace/plugin-overview-page.html#plugin-name -->\n <name>InlineProblems</name>\n\n <!-- A displayed Vendor name or Organization ID displayed on the Plugins Page. -->\n <vendor url=\"https://github.com/0verEngineer/InlineProblems\">0verEngineer</vendor>\n\n <!-- Product and plugin compatibility requirements.\n Read more: https://plugins.jetbrains.com/docs/intellij/plugin-compatibility.html -->\n <depends>com.intellij.modules.platform</depends>\n\n <resource-bundle>messages.SettingsBundle</resource-bundle>\n\n <!-- Extension points defined by the plugin.\n Read more: https://plugins.jetbrains.com/docs/intellij/plugin-extension-points.html -->\n <extensions defaultExtensionNs=\"com.intellij\">\n <applicationConfigurable parentId=\"appearance\"\n instance=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n id=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n key=\"application.configurable.InlineProblems\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.settings.SettingsState\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.ProblemManager\"/>\n <daemon.highlightInfoFilter implementation=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"\n id=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"/>\n\n <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\"/>\n <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\" bundle=\"messages.SettingsBundle\"\n key=\"notification.group.InlineProblems\"/>\n </extensions>\n\n <actions>\n <action class=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\"\n id=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\"\n />\n <action class=\"org.overengineer.inlineproblems.actions.ShowErrorsAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowErrorsAction\"\n />\n <action class=\"org.overengineer.inlineproblems.actions.ShowWarningsAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowWarningsAction\"\n />\n <action class=\"org.overengineer.inlineproblems.actions.ShowWeakWarningsAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowWeakWarningsAction\"\n />\n <action class=\"org.overengineer.inlineproblems.actions.ShowInfosAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowInfosAction\"\n />\n </actions>\n\n <projectListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.FileEditorListener\"\n topic=\"com.intellij.openapi.fileEditor.FileEditorManagerListener\"/>\n </projectListeners>\n\n <applicationListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.PluginListener\"\n topic=\"com.intellij.ide.plugins.DynamicPluginListener\"/>\n <listener class=\"org.overengineer.inlineproblems.listeners.ProjectCloseListener\"\n topic=\"com.intellij.openapi.project.ProjectManagerListener\"/>\n </applicationListeners>\n</idea-plugin>"}}, {"round_index": 9, "review_state": "COMMENTED", "review_author": "0verEngineer", "submitted_at": "2025-04-30T12:53:36Z", "feedback_type": "inline", "review_author_association": "OWNER", "inline_comments": [{"id": "PRRC_kwDOImWGlc57TGyQ", "body": "I'll compare KDE, Gnome, Windows and MacOS keymaps later and check it", "path": "src/main/resources/META-INF/plugin.xml", "originalLine": 38, "line": null, "originalStartLine": null, "startLine": null, "position": 1, "originalPosition": 25, "outdated": true, "subjectType": "LINE", "authorAssociation": "OWNER", "originalCommit": {"oid": "25fc86738d4ee3a52774e22f07bf081d0c309c8a"}, "diffHunk": "@@ -19,23 +19,47 @@\n <!-- Extension points defined by the plugin.\n Read more: https://plugins.jetbrains.com/docs/intellij/plugin-extension-points.html -->\n <extensions defaultExtensionNs=\"com.intellij\">\n- <applicationConfigurable parentId=\"appearance\" instance=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n+ <applicationConfigurable parentId=\"appearance\"\n+ instance=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n id=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n- displayName=\"InlineProblems\"/>\n+ key=\"application.configurable.InlineProblems\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.settings.SettingsState\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.ProblemManager\"/>\n- <daemon.highlightInfoFilter implementation=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\" id=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\" />\n+ <daemon.highlightInfoFilter implementation=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"\n+ id=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"/>\n \n- <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\" />\n- <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\"/>\n+ <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\"/>\n+ <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\" bundle=\"messages.SettingsBundle\"\n+ key=\"notification.group.InlineProblems\"/>\n </extensions>\n \n+ <actions>\n+ <action class=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\"\n+ id=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\"", "replyTo": {"id": "PRRC_kwDOImWGlc561FCY"}, "createdAt": "2025-04-30T12:53:36Z", "author": {"login": "0verEngineer"}, "reactions": {"totalCount": 1, "nodes": [{"content": "THUMBS_UP", "user": {"login": "khopland"}}]}, "in_reply_to_id": "PRRC_kwDOImWGlc561FCY", "suggested_changes": [], "extended_context": "\n <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\" />\n <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\"/>\n </extensions>\n\n <projectListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.FileEditorListener\" topic=\"com.intellij.openapi.fileEditor.FileEditorManagerListener\" />\n </projectListeners>\n\n <applicationListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.PluginListener\" topic=\"com.intellij.ide.plugins.DynamicPluginListener\" />\n <listener class=\"org.overengineer.inlineproblems.listeners.ProjectCloseListener\" topic=\"com.intellij.openapi.project.ProjectManagerListener\" />\n </applicationListeners>\n</idea-plugin>", "referenced_paths": []}], "body_comments": [], "response_commits": [], "force_pushes": [{"__typename": "HeadRefForcePushedEvent", "createdAt": "2025-05-01T19:57:25Z", "beforeCommit": {"oid": "f58228f75f9418a85ad92ebfca7c422d9245c152", "tree": {"oid": "f4075bf96ba4ae7055117df56b8d32d591f0e020"}}, "afterCommit": {"oid": "f2b603680581dccda9e011bc9afe9668a45642d8", "tree": {"oid": "bec678af141485a8f41dea6da3339edac8a1b9ee"}}, "is_rebase_only": false}], "builds_on_rounds": [], "references_repo_structure": false, "ci_state_at_review": "SUCCESS", "ci_state_after_response": null, "ci_transition": "no_response_commits", "response_commit_diffs": {}, "has_code_backing": false, "head_commit_at_review": "a97ea837ee6d3dc87fe639644a61b16335010f30", "file_contents_at_review": {"src/main/resources/META-INF/plugin.xml": "<!-- Plugin Configuration File. Read more: https://plugins.jetbrains.com/docs/intellij/plugin-configuration-file.html -->\n<idea-plugin>\n <!-- Unique identifier of the plugin. It should be FQN. It cannot be changed between the plugin versions. -->\n <id>org.OverEngineer.InlineProblems</id>\n\n <!-- Public plugin name should be written in Title Case.\n Guidelines: https://plugins.jetbrains.com/docs/marketplace/plugin-overview-page.html#plugin-name -->\n <name>InlineProblems</name>\n\n <!-- A displayed Vendor name or Organization ID displayed on the Plugins Page. -->\n <vendor url=\"https://github.com/0verEngineer/InlineProblems\">0verEngineer</vendor>\n\n <!-- Product and plugin compatibility requirements.\n Read more: https://plugins.jetbrains.com/docs/intellij/plugin-compatibility.html -->\n <depends>com.intellij.modules.platform</depends>\n\n <resource-bundle>messages.SettingsBundle</resource-bundle>\n\n <!-- Extension points defined by the plugin.\n Read more: https://plugins.jetbrains.com/docs/intellij/plugin-extension-points.html -->\n <extensions defaultExtensionNs=\"com.intellij\">\n <applicationConfigurable parentId=\"appearance\"\n instance=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n id=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n key=\"application.configurable.InlineProblems\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.settings.SettingsState\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.ProblemManager\"/>\n <daemon.highlightInfoFilter implementation=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"\n id=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"/>\n\n <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\"/>\n <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\" bundle=\"messages.SettingsBundle\"\n key=\"notification.group.InlineProblems\"/>\n </extensions>\n\n <actions>\n <action class=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\"\n id=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\">\n <keyboard-shortcut first-keystroke=\"alt u\" keymap=\"$default\"/>\n </action>\n <action class=\"org.overengineer.inlineproblems.actions.ShowErrorsAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowErrorsAction\"\n />\n <action class=\"org.overengineer.inlineproblems.actions.ShowWarningsAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowWarningsAction\"\n />\n <action class=\"org.overengineer.inlineproblems.actions.ShowWeakWarningsAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowWeakWarningsAction\"\n />\n <action class=\"org.overengineer.inlineproblems.actions.ShowInfosAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowInfosAction\"\n />\n </actions>\n\n <projectListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.FileEditorListener\"\n topic=\"com.intellij.openapi.fileEditor.FileEditorManagerListener\"/>\n </projectListeners>\n\n <applicationListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.PluginListener\"\n topic=\"com.intellij.ide.plugins.DynamicPluginListener\"/>\n <listener class=\"org.overengineer.inlineproblems.listeners.ProjectCloseListener\"\n topic=\"com.intellij.openapi.project.ProjectManagerListener\"/>\n </applicationListeners>\n</idea-plugin>"}}, {"round_index": 10, "review_state": "COMMENTED", "review_author": "0verEngineer", "submitted_at": "2025-05-05T13:59:52Z", "feedback_type": "inline", "review_author_association": "OWNER", "inline_comments": [{"id": "PRRC_kwDOImWGlc57lzUe", "body": "It seems that `alt+u` is free in the default keymaps if i am not missing something.", "path": "src/main/resources/META-INF/plugin.xml", "originalLine": 38, "line": null, "originalStartLine": null, "startLine": null, "position": 1, "originalPosition": 25, "outdated": true, "subjectType": "LINE", "authorAssociation": "OWNER", "originalCommit": {"oid": "25fc86738d4ee3a52774e22f07bf081d0c309c8a"}, "diffHunk": "@@ -19,23 +19,47 @@\n <!-- Extension points defined by the plugin.\n Read more: https://plugins.jetbrains.com/docs/intellij/plugin-extension-points.html -->\n <extensions defaultExtensionNs=\"com.intellij\">\n- <applicationConfigurable parentId=\"appearance\" instance=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n+ <applicationConfigurable parentId=\"appearance\"\n+ instance=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n id=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n- displayName=\"InlineProblems\"/>\n+ key=\"application.configurable.InlineProblems\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.settings.SettingsState\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.ProblemManager\"/>\n- <daemon.highlightInfoFilter implementation=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\" id=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\" />\n+ <daemon.highlightInfoFilter implementation=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"\n+ id=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"/>\n \n- <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\" />\n- <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\"/>\n+ <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\"/>\n+ <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\" bundle=\"messages.SettingsBundle\"\n+ key=\"notification.group.InlineProblems\"/>\n </extensions>\n \n+ <actions>\n+ <action class=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\"\n+ id=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\"", "replyTo": {"id": "PRRC_kwDOImWGlc561FCY"}, "createdAt": "2025-05-05T13:59:52Z", "author": {"login": "0verEngineer"}, "reactions": {"totalCount": 0, "nodes": []}, "in_reply_to_id": "PRRC_kwDOImWGlc561FCY", "suggested_changes": [], "extended_context": "\n <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\" />\n <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\"/>\n </extensions>\n\n <projectListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.FileEditorListener\" topic=\"com.intellij.openapi.fileEditor.FileEditorManagerListener\" />\n </projectListeners>\n\n <applicationListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.PluginListener\" topic=\"com.intellij.ide.plugins.DynamicPluginListener\" />\n <listener class=\"org.overengineer.inlineproblems.listeners.ProjectCloseListener\" topic=\"com.intellij.openapi.project.ProjectManagerListener\" />\n </applicationListeners>\n</idea-plugin>", "referenced_paths": []}], "body_comments": [], "response_commits": [], "force_pushes": [], "builds_on_rounds": [], "references_repo_structure": false, "ci_state_at_review": "SUCCESS", "ci_state_after_response": null, "ci_transition": "no_response_commits", "response_commit_diffs": {}, "has_code_backing": false, "head_commit_at_review": "a97ea837ee6d3dc87fe639644a61b16335010f30", "file_contents_at_review": {"src/main/resources/META-INF/plugin.xml": "<!-- Plugin Configuration File. Read more: https://plugins.jetbrains.com/docs/intellij/plugin-configuration-file.html -->\n<idea-plugin>\n <!-- Unique identifier of the plugin. It should be FQN. It cannot be changed between the plugin versions. -->\n <id>org.OverEngineer.InlineProblems</id>\n\n <!-- Public plugin name should be written in Title Case.\n Guidelines: https://plugins.jetbrains.com/docs/marketplace/plugin-overview-page.html#plugin-name -->\n <name>InlineProblems</name>\n\n <!-- A displayed Vendor name or Organization ID displayed on the Plugins Page. -->\n <vendor url=\"https://github.com/0verEngineer/InlineProblems\">0verEngineer</vendor>\n\n <!-- Product and plugin compatibility requirements.\n Read more: https://plugins.jetbrains.com/docs/intellij/plugin-compatibility.html -->\n <depends>com.intellij.modules.platform</depends>\n\n <resource-bundle>messages.SettingsBundle</resource-bundle>\n\n <!-- Extension points defined by the plugin.\n Read more: https://plugins.jetbrains.com/docs/intellij/plugin-extension-points.html -->\n <extensions defaultExtensionNs=\"com.intellij\">\n <applicationConfigurable parentId=\"appearance\"\n instance=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n id=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n key=\"application.configurable.InlineProblems\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.settings.SettingsState\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.ProblemManager\"/>\n <daemon.highlightInfoFilter implementation=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"\n id=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"/>\n\n <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\"/>\n <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\" bundle=\"messages.SettingsBundle\"\n key=\"notification.group.InlineProblems\"/>\n </extensions>\n\n <actions>\n <action class=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\"\n id=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\">\n <keyboard-shortcut first-keystroke=\"alt u\" keymap=\"$default\"/>\n </action>\n <action class=\"org.overengineer.inlineproblems.actions.ShowErrorsAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowErrorsAction\"\n />\n <action class=\"org.overengineer.inlineproblems.actions.ShowWarningsAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowWarningsAction\"\n />\n <action class=\"org.overengineer.inlineproblems.actions.ShowWeakWarningsAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowWeakWarningsAction\"\n />\n <action class=\"org.overengineer.inlineproblems.actions.ShowInfosAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowInfosAction\"\n />\n </actions>\n\n <projectListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.FileEditorListener\"\n topic=\"com.intellij.openapi.fileEditor.FileEditorManagerListener\"/>\n </projectListeners>\n\n <applicationListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.PluginListener\"\n topic=\"com.intellij.ide.plugins.DynamicPluginListener\"/>\n <listener class=\"org.overengineer.inlineproblems.listeners.ProjectCloseListener\"\n topic=\"com.intellij.openapi.project.ProjectManagerListener\"/>\n </applicationListeners>\n</idea-plugin>"}}, {"round_index": 11, "review_state": "COMMENTED", "review_author": "khopland", "submitted_at": "2025-05-05T15:09:28Z", "feedback_type": "inline", "review_author_association": "CONTRIBUTOR", "inline_comments": [{"id": "PRRC_kwDOImWGlc57mTX_", "body": "ok, can change to that", "path": "src/main/resources/META-INF/plugin.xml", "originalLine": 38, "line": null, "originalStartLine": null, "startLine": null, "position": 1, "originalPosition": 25, "outdated": true, "subjectType": "LINE", "authorAssociation": "CONTRIBUTOR", "originalCommit": {"oid": "25fc86738d4ee3a52774e22f07bf081d0c309c8a"}, "diffHunk": "@@ -19,23 +19,47 @@\n <!-- Extension points defined by the plugin.\n Read more: https://plugins.jetbrains.com/docs/intellij/plugin-extension-points.html -->\n <extensions defaultExtensionNs=\"com.intellij\">\n- <applicationConfigurable parentId=\"appearance\" instance=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n+ <applicationConfigurable parentId=\"appearance\"\n+ instance=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n id=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n- displayName=\"InlineProblems\"/>\n+ key=\"application.configurable.InlineProblems\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.settings.SettingsState\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.ProblemManager\"/>\n- <daemon.highlightInfoFilter implementation=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\" id=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\" />\n+ <daemon.highlightInfoFilter implementation=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"\n+ id=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"/>\n \n- <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\" />\n- <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\"/>\n+ <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\"/>\n+ <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\" bundle=\"messages.SettingsBundle\"\n+ key=\"notification.group.InlineProblems\"/>\n </extensions>\n \n+ <actions>\n+ <action class=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\"\n+ id=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\"", "replyTo": {"id": "PRRC_kwDOImWGlc561FCY"}, "createdAt": "2025-05-05T15:09:28Z", "author": {"login": "khopland"}, "reactions": {"totalCount": 0, "nodes": []}, "in_reply_to_id": "PRRC_kwDOImWGlc561FCY", "suggested_changes": [], "extended_context": "\n <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\" />\n <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\"/>\n </extensions>\n\n <projectListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.FileEditorListener\" topic=\"com.intellij.openapi.fileEditor.FileEditorManagerListener\" />\n </projectListeners>\n\n <applicationListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.PluginListener\" topic=\"com.intellij.ide.plugins.DynamicPluginListener\" />\n <listener class=\"org.overengineer.inlineproblems.listeners.ProjectCloseListener\" topic=\"com.intellij.openapi.project.ProjectManagerListener\" />\n </applicationListeners>\n</idea-plugin>", "referenced_paths": []}], "body_comments": [], "response_commits": [], "force_pushes": [], "builds_on_rounds": [], "references_repo_structure": false, "ci_state_at_review": "SUCCESS", "ci_state_after_response": null, "ci_transition": "no_response_commits", "response_commit_diffs": {}, "has_code_backing": false, "head_commit_at_review": "a97ea837ee6d3dc87fe639644a61b16335010f30", "file_contents_at_review": {"src/main/resources/META-INF/plugin.xml": "<!-- Plugin Configuration File. Read more: https://plugins.jetbrains.com/docs/intellij/plugin-configuration-file.html -->\n<idea-plugin>\n <!-- Unique identifier of the plugin. It should be FQN. It cannot be changed between the plugin versions. -->\n <id>org.OverEngineer.InlineProblems</id>\n\n <!-- Public plugin name should be written in Title Case.\n Guidelines: https://plugins.jetbrains.com/docs/marketplace/plugin-overview-page.html#plugin-name -->\n <name>InlineProblems</name>\n\n <!-- A displayed Vendor name or Organization ID displayed on the Plugins Page. -->\n <vendor url=\"https://github.com/0verEngineer/InlineProblems\">0verEngineer</vendor>\n\n <!-- Product and plugin compatibility requirements.\n Read more: https://plugins.jetbrains.com/docs/intellij/plugin-compatibility.html -->\n <depends>com.intellij.modules.platform</depends>\n\n <resource-bundle>messages.SettingsBundle</resource-bundle>\n\n <!-- Extension points defined by the plugin.\n Read more: https://plugins.jetbrains.com/docs/intellij/plugin-extension-points.html -->\n <extensions defaultExtensionNs=\"com.intellij\">\n <applicationConfigurable parentId=\"appearance\"\n instance=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n id=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n key=\"application.configurable.InlineProblems\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.settings.SettingsState\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.ProblemManager\"/>\n <daemon.highlightInfoFilter implementation=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"\n id=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"/>\n\n <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\"/>\n <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\" bundle=\"messages.SettingsBundle\"\n key=\"notification.group.InlineProblems\"/>\n </extensions>\n\n <actions>\n <action class=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\"\n id=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\">\n <keyboard-shortcut first-keystroke=\"alt u\" keymap=\"$default\"/>\n </action>\n <action class=\"org.overengineer.inlineproblems.actions.ShowErrorsAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowErrorsAction\"\n />\n <action class=\"org.overengineer.inlineproblems.actions.ShowWarningsAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowWarningsAction\"\n />\n <action class=\"org.overengineer.inlineproblems.actions.ShowWeakWarningsAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowWeakWarningsAction\"\n />\n <action class=\"org.overengineer.inlineproblems.actions.ShowInfosAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowInfosAction\"\n />\n </actions>\n\n <projectListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.FileEditorListener\"\n topic=\"com.intellij.openapi.fileEditor.FileEditorManagerListener\"/>\n </projectListeners>\n\n <applicationListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.PluginListener\"\n topic=\"com.intellij.ide.plugins.DynamicPluginListener\"/>\n <listener class=\"org.overengineer.inlineproblems.listeners.ProjectCloseListener\"\n topic=\"com.intellij.openapi.project.ProjectManagerListener\"/>\n </applicationListeners>\n</idea-plugin>"}}, {"round_index": 12, "review_state": "COMMENTED", "review_author": "0verEngineer", "submitted_at": "2025-05-05T15:32:34Z", "feedback_type": "inline", "review_author_association": "OWNER", "inline_comments": [{"id": "PRRC_kwDOImWGlc57mcem", "body": "And should we explain this somewhere in the description or the settings page? I think somewhere in the description would be nice.", "path": "src/main/resources/META-INF/plugin.xml", "originalLine": 38, "line": null, "originalStartLine": null, "startLine": null, "position": 1, "originalPosition": 25, "outdated": true, "subjectType": "LINE", "authorAssociation": "OWNER", "originalCommit": {"oid": "25fc86738d4ee3a52774e22f07bf081d0c309c8a"}, "diffHunk": "@@ -19,23 +19,47 @@\n <!-- Extension points defined by the plugin.\n Read more: https://plugins.jetbrains.com/docs/intellij/plugin-extension-points.html -->\n <extensions defaultExtensionNs=\"com.intellij\">\n- <applicationConfigurable parentId=\"appearance\" instance=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n+ <applicationConfigurable parentId=\"appearance\"\n+ instance=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n id=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n- displayName=\"InlineProblems\"/>\n+ key=\"application.configurable.InlineProblems\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.settings.SettingsState\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.ProblemManager\"/>\n- <daemon.highlightInfoFilter implementation=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\" id=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\" />\n+ <daemon.highlightInfoFilter implementation=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"\n+ id=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"/>\n \n- <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\" />\n- <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\"/>\n+ <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\"/>\n+ <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\" bundle=\"messages.SettingsBundle\"\n+ key=\"notification.group.InlineProblems\"/>\n </extensions>\n \n+ <actions>\n+ <action class=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\"\n+ id=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\"", "replyTo": {"id": "PRRC_kwDOImWGlc561FCY"}, "createdAt": "2025-05-05T15:32:34Z", "author": {"login": "0verEngineer"}, "reactions": {"totalCount": 1, "nodes": [{"content": "THUMBS_UP", "user": {"login": "khopland"}}]}, "in_reply_to_id": "PRRC_kwDOImWGlc561FCY", "suggested_changes": [], "extended_context": "\n <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\" />\n <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\"/>\n </extensions>\n\n <projectListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.FileEditorListener\" topic=\"com.intellij.openapi.fileEditor.FileEditorManagerListener\" />\n </projectListeners>\n\n <applicationListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.PluginListener\" topic=\"com.intellij.ide.plugins.DynamicPluginListener\" />\n <listener class=\"org.overengineer.inlineproblems.listeners.ProjectCloseListener\" topic=\"com.intellij.openapi.project.ProjectManagerListener\" />\n </applicationListeners>\n</idea-plugin>", "referenced_paths": []}], "body_comments": [], "response_commits": [], "force_pushes": [{"__typename": "HeadRefForcePushedEvent", "createdAt": "2025-05-05T15:38:03Z", "beforeCommit": {"oid": "f2b603680581dccda9e011bc9afe9668a45642d8", "tree": {"oid": "bec678af141485a8f41dea6da3339edac8a1b9ee"}}, "afterCommit": {"oid": "a97ea837ee6d3dc87fe639644a61b16335010f30", "tree": {"oid": "110566d3440c856e4ec1785607013e4106210319"}}, "is_rebase_only": false}], "builds_on_rounds": [], "references_repo_structure": false, "ci_state_at_review": "SUCCESS", "ci_state_after_response": null, "ci_transition": "no_response_commits", "response_commit_diffs": {}, "has_code_backing": false, "head_commit_at_review": "a97ea837ee6d3dc87fe639644a61b16335010f30", "file_contents_at_review": {"src/main/resources/META-INF/plugin.xml": "<!-- Plugin Configuration File. Read more: https://plugins.jetbrains.com/docs/intellij/plugin-configuration-file.html -->\n<idea-plugin>\n <!-- Unique identifier of the plugin. It should be FQN. It cannot be changed between the plugin versions. -->\n <id>org.OverEngineer.InlineProblems</id>\n\n <!-- Public plugin name should be written in Title Case.\n Guidelines: https://plugins.jetbrains.com/docs/marketplace/plugin-overview-page.html#plugin-name -->\n <name>InlineProblems</name>\n\n <!-- A displayed Vendor name or Organization ID displayed on the Plugins Page. -->\n <vendor url=\"https://github.com/0verEngineer/InlineProblems\">0verEngineer</vendor>\n\n <!-- Product and plugin compatibility requirements.\n Read more: https://plugins.jetbrains.com/docs/intellij/plugin-compatibility.html -->\n <depends>com.intellij.modules.platform</depends>\n\n <resource-bundle>messages.SettingsBundle</resource-bundle>\n\n <!-- Extension points defined by the plugin.\n Read more: https://plugins.jetbrains.com/docs/intellij/plugin-extension-points.html -->\n <extensions defaultExtensionNs=\"com.intellij\">\n <applicationConfigurable parentId=\"appearance\"\n instance=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n id=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n key=\"application.configurable.InlineProblems\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.settings.SettingsState\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.ProblemManager\"/>\n <daemon.highlightInfoFilter implementation=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"\n id=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"/>\n\n <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\"/>\n <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\" bundle=\"messages.SettingsBundle\"\n key=\"notification.group.InlineProblems\"/>\n </extensions>\n\n <actions>\n <action class=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\"\n id=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\">\n <keyboard-shortcut first-keystroke=\"alt u\" keymap=\"$default\"/>\n </action>\n <action class=\"org.overengineer.inlineproblems.actions.ShowErrorsAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowErrorsAction\"\n />\n <action class=\"org.overengineer.inlineproblems.actions.ShowWarningsAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowWarningsAction\"\n />\n <action class=\"org.overengineer.inlineproblems.actions.ShowWeakWarningsAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowWeakWarningsAction\"\n />\n <action class=\"org.overengineer.inlineproblems.actions.ShowInfosAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowInfosAction\"\n />\n </actions>\n\n <projectListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.FileEditorListener\"\n topic=\"com.intellij.openapi.fileEditor.FileEditorManagerListener\"/>\n </projectListeners>\n\n <applicationListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.PluginListener\"\n topic=\"com.intellij.ide.plugins.DynamicPluginListener\"/>\n <listener class=\"org.overengineer.inlineproblems.listeners.ProjectCloseListener\"\n topic=\"com.intellij.openapi.project.ProjectManagerListener\"/>\n </applicationListeners>\n</idea-plugin>"}}, {"round_index": 13, "review_state": "COMMENTED", "review_author": "khopland", "submitted_at": "2025-05-05T15:38:15Z", "feedback_type": "inline", "review_author_association": "CONTRIBUTOR", "inline_comments": [{"id": "PRRC_kwDOImWGlc57mei-", "body": "added", "path": "src/main/resources/META-INF/plugin.xml", "originalLine": 38, "line": null, "originalStartLine": null, "startLine": null, "position": 1, "originalPosition": 25, "outdated": true, "subjectType": "LINE", "authorAssociation": "CONTRIBUTOR", "originalCommit": {"oid": "25fc86738d4ee3a52774e22f07bf081d0c309c8a"}, "diffHunk": "@@ -19,23 +19,47 @@\n <!-- Extension points defined by the plugin.\n Read more: https://plugins.jetbrains.com/docs/intellij/plugin-extension-points.html -->\n <extensions defaultExtensionNs=\"com.intellij\">\n- <applicationConfigurable parentId=\"appearance\" instance=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n+ <applicationConfigurable parentId=\"appearance\"\n+ instance=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n id=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n- displayName=\"InlineProblems\"/>\n+ key=\"application.configurable.InlineProblems\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.settings.SettingsState\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.ProblemManager\"/>\n- <daemon.highlightInfoFilter implementation=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\" id=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\" />\n+ <daemon.highlightInfoFilter implementation=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"\n+ id=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"/>\n \n- <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\" />\n- <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\"/>\n+ <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\"/>\n+ <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\" bundle=\"messages.SettingsBundle\"\n+ key=\"notification.group.InlineProblems\"/>\n </extensions>\n \n+ <actions>\n+ <action class=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\"\n+ id=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\"", "replyTo": {"id": "PRRC_kwDOImWGlc561FCY"}, "createdAt": "2025-05-05T15:38:15Z", "author": {"login": "khopland"}, "reactions": {"totalCount": 0, "nodes": []}, "in_reply_to_id": "PRRC_kwDOImWGlc561FCY", "suggested_changes": [], "extended_context": "\n <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\" />\n <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\"/>\n </extensions>\n\n <projectListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.FileEditorListener\" topic=\"com.intellij.openapi.fileEditor.FileEditorManagerListener\" />\n </projectListeners>\n\n <applicationListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.PluginListener\" topic=\"com.intellij.ide.plugins.DynamicPluginListener\" />\n <listener class=\"org.overengineer.inlineproblems.listeners.ProjectCloseListener\" topic=\"com.intellij.openapi.project.ProjectManagerListener\" />\n </applicationListeners>\n</idea-plugin>", "referenced_paths": []}], "body_comments": [], "response_commits": [], "force_pushes": [], "builds_on_rounds": [], "references_repo_structure": false, "ci_state_at_review": "SUCCESS", "ci_state_after_response": null, "ci_transition": "no_response_commits", "response_commit_diffs": {}, "has_code_backing": false, "head_commit_at_review": "a97ea837ee6d3dc87fe639644a61b16335010f30", "file_contents_at_review": {"src/main/resources/META-INF/plugin.xml": "<!-- Plugin Configuration File. Read more: https://plugins.jetbrains.com/docs/intellij/plugin-configuration-file.html -->\n<idea-plugin>\n <!-- Unique identifier of the plugin. It should be FQN. It cannot be changed between the plugin versions. -->\n <id>org.OverEngineer.InlineProblems</id>\n\n <!-- Public plugin name should be written in Title Case.\n Guidelines: https://plugins.jetbrains.com/docs/marketplace/plugin-overview-page.html#plugin-name -->\n <name>InlineProblems</name>\n\n <!-- A displayed Vendor name or Organization ID displayed on the Plugins Page. -->\n <vendor url=\"https://github.com/0verEngineer/InlineProblems\">0verEngineer</vendor>\n\n <!-- Product and plugin compatibility requirements.\n Read more: https://plugins.jetbrains.com/docs/intellij/plugin-compatibility.html -->\n <depends>com.intellij.modules.platform</depends>\n\n <resource-bundle>messages.SettingsBundle</resource-bundle>\n\n <!-- Extension points defined by the plugin.\n Read more: https://plugins.jetbrains.com/docs/intellij/plugin-extension-points.html -->\n <extensions defaultExtensionNs=\"com.intellij\">\n <applicationConfigurable parentId=\"appearance\"\n instance=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n id=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n key=\"application.configurable.InlineProblems\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.settings.SettingsState\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.ProblemManager\"/>\n <daemon.highlightInfoFilter implementation=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"\n id=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"/>\n\n <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\"/>\n <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\" bundle=\"messages.SettingsBundle\"\n key=\"notification.group.InlineProblems\"/>\n </extensions>\n\n <actions>\n <action class=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\"\n id=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\">\n <keyboard-shortcut first-keystroke=\"alt u\" keymap=\"$default\"/>\n </action>\n <action class=\"org.overengineer.inlineproblems.actions.ShowErrorsAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowErrorsAction\"\n />\n <action class=\"org.overengineer.inlineproblems.actions.ShowWarningsAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowWarningsAction\"\n />\n <action class=\"org.overengineer.inlineproblems.actions.ShowWeakWarningsAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowWeakWarningsAction\"\n />\n <action class=\"org.overengineer.inlineproblems.actions.ShowInfosAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowInfosAction\"\n />\n </actions>\n\n <projectListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.FileEditorListener\"\n topic=\"com.intellij.openapi.fileEditor.FileEditorManagerListener\"/>\n </projectListeners>\n\n <applicationListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.PluginListener\"\n topic=\"com.intellij.ide.plugins.DynamicPluginListener\"/>\n <listener class=\"org.overengineer.inlineproblems.listeners.ProjectCloseListener\"\n topic=\"com.intellij.openapi.project.ProjectManagerListener\"/>\n </applicationListeners>\n</idea-plugin>"}}], "threads": [{"id": "PRRT_kwDOImWGlc5OzCmf", "is_inline": true, "is_resolved": true, "is_outdated": false, "path": "src/main/resources/messages/SettingsBundle_zh_CN.properties", "line": 55, "start_line": 55, "subject_type": "LINE", "comments": [{"id": "PRRC_kwDOImWGlc561FPt", "body": "need to get a translated version, but i cant Mandarin Chinese", "diffHunk": "@@ -51,3 +51,18 @@ settings.useEditorFont=\\u4F7F\\u7528\\u7F16\\u8F91\\u5668\\u5B57\\u4F53\\u800C\\u4E0D\\u6\n settings.showOnlyHighestPerLine=\\u4ec5\\u663e\\u793a\\u6bcf\\u884c\\u4e2d\\u6700\\u4e25\\u91cd\\u7684\\u95ee\\u9898\n settings.enableHtmlStripping=Enable stripping of HTML in the messages\n settings.enableXmlUnescaping=Enable unescaping of XML in the messages\n+settings.enableInlineProblem=Enable inlineProblems", "createdAt": "2025-04-25T18:50:54Z", "author": {"login": "khopland"}, "authorAssociation": "CONTRIBUTOR", "originalCommit": {"oid": "25fc86738d4ee3a52774e22f07bf081d0c309c8a"}, "reactions": {"totalCount": 0, "nodes": []}, "suggested_changes": []}, {"id": "PRRC_kwDOImWGlc5611qs", "body": "Yea we'll leave the english ones there and eventually someone will contribute them again ", "diffHunk": "@@ -51,3 +51,18 @@ settings.useEditorFont=\\u4F7F\\u7528\\u7F16\\u8F91\\u5668\\u5B57\\u4F53\\u800C\\u4E0D\\u6\n settings.showOnlyHighestPerLine=\\u4ec5\\u663e\\u793a\\u6bcf\\u884c\\u4e2d\\u6700\\u4e25\\u91cd\\u7684\\u95ee\\u9898\n settings.enableHtmlStripping=Enable stripping of HTML in the messages\n settings.enableXmlUnescaping=Enable unescaping of XML in the messages\n+settings.enableInlineProblem=Enable inlineProblems", "createdAt": "2025-04-25T21:52:13Z", "author": {"login": "0verEngineer"}, "authorAssociation": "OWNER", "originalCommit": {"oid": "25fc86738d4ee3a52774e22f07bf081d0c309c8a"}, "reactions": {"totalCount": 1, "nodes": [{"content": "THUMBS_UP", "user": {"login": "khopland"}}]}, "suggested_changes": []}], "compliance_label": "resolved", "has_author_reply": false, "resolution_round": 3, "review_requested_changes": false, "resolved_at": null, "resolved_by": null, "resolved_by_author": null, "unresolved_events": [], "code_change_aligns": null, "code_change_files": [], "reopened": false, "followup_comments_after_resolution": 0, "author_type": "human"}], "agent_threads": [], "pr_review_class": "commented", "compliance": {"total_threads": 1, "resolved": 1, "unresolved": 0, "compliance_rate": 1.0, "compliance_class": "full", "inline_threads": 1, "body_only_threads": 0, "compliance_band": "full", "n_agent_threads": 0}, "linked_issues": [{"number": 68, "title": "Question: Is there a keyboard Shortcut to toggle the inline error message", "body": "Is there a keyboard shortcut to toggle on / off the inline error message in PhpStorm? Sometimes while writing code, it would be helpful to hide the inline error message.\n\nIf not, could you please implement a toggle (via keyboard shortcut) as a feature? \nIn my past I was working with VS Code and the Error Lens plugin, which had this option. Very helpful.\n\nGreat to have a plugin similar to Error Lens in PhpStorm. Thanks for your effort.", "state": "CLOSED", "created_at": "2025-03-13T01:31:17Z", "closed_at": "2025-05-05T18:39:40Z", "author_login": "kinglycodes", "comment_rounds": [{"comments": [{"id": "IC_kwDOImWGlc6lQrs4", "body": "Hey, thanks a lot for this feature request, this would indeed be very nice, sadly i don't have too much time to spend on the plugin in the next months.\n\nWould you be willing to try to implement it?", "createdAt": "2025-04-02T13:44:30Z", "updatedAt": "2025-04-02T13:44:30Z", "author": {"login": "0verEngineer"}}]}], "resolution": "closed_by_pr", "closed_by_pr": 77, "link_type": "closing_keyword", "will_close": true, "comment_count": 1, "issue_age_at_pr_days": 43.44762731481482, "issue_was_open_at_pr": false, "labels": ["enhancement", "good first issue"], "milestone": null, "sub_issues": [], "sub_issue_count": 0, "parent_issues": []}], "has_inline_feedback": true, "feedback_track": "inline", "changed_files": 15, "additions": 208, "deletions": 28, "author_association": "CONTRIBUTOR", "is_cross_repository": true, "files": [{"path": ".idea/misc.xml", "additions": 1, "deletions": 0, "changeType": "MODIFIED", "base_content": "<project version=\"4\">\n <component name=\"ExternalStorageConfigurationManager\" enabled=\"true\" />\n <component name=\"FrameworkDetectionExcludesConfiguration\">\n <file type=\"web\" url=\"file://$PROJECT_DIR$\" />\n </component>\n <component name=\"ProjectRootManager\" version=\"2\" languageLevel=\"JDK_11\" default=\"true\" project-jdk-name=\"corretto-11\" project-jdk-type=\"JavaSDK\" />\n <component name=\"SuppressKotlinCodeStyleNotification\">\n <option name=\"disableForAll\" value=\"true\" />\n </component>\n</project>", "head_content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project version=\"4\">\n <component name=\"ExternalStorageConfigurationManager\" enabled=\"true\" />\n <component name=\"FrameworkDetectionExcludesConfiguration\">\n <file type=\"web\" url=\"file://$PROJECT_DIR$\" />\n </component>\n <component name=\"ProjectRootManager\" version=\"2\" languageLevel=\"JDK_11\" default=\"true\" project-jdk-name=\"corretto-11\" project-jdk-type=\"JavaSDK\" />\n <component name=\"SuppressKotlinCodeStyleNotification\">\n <option name=\"disableForAll\" value=\"true\" />\n </component>\n</project>", "patch": "--- a/.idea/misc.xml\n+++ b/.idea/misc.xml\n@@ -1,3 +1,4 @@\n+<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n <project version=\"4\">\n <component name=\"ExternalStorageConfigurationManager\" enabled=\"true\" />\n <component name=\"FrameworkDetectionExcludesConfiguration\">\n"}, {"path": "README.md", "additions": 3, "deletions": 1, "changeType": "MODIFIED", "base_content": "<div id=\"top\"></div>\n\n\n<!-- PROJECT SHIELDS -->\n[![Contributors][contributors-shield]][contributors-url]\n[![Forks][forks-shield]][forks-url]\n[![Stargazers][stars-shield]][stars-url]\n[![Issues][issues-shield]][issues-url]\n[![GPLv3 License][license-shield]][license-url]\n[![Version][plugin-version-shield]][plugin-url]\n[![Downloads][plugin-downloads-shield]][plugin-url]\n[![Rating][plugin-rating-shield]][plugin-url]\n\n\n\n<!-- PROJECT LOGO -->\n<br />\n<div align=\"center\">\n <a href=\"https://github.com/0verEngineer/InlineProblems\">\n <img src=\"src/main/resources/META-INF/pluginIcon.svg\" alt=\"Logo\" width=\"100\" height=\"100\">\n </a>\n\n<h3 align=\"center\">InlineProblems</h3>\n\n<!-- Plugin description -->\nPlugin to show problems like errors and warnings inside the text editor (inline) for IDEs based on the IntelliJ Platform, inspired by Error Lens and InlineError\n<!-- Plugin description end -->\n\n <p align=\"center\">\n <br />\n <a href=\"https://plugins.jetbrains.com/plugin/20789-inlineproblems\">Jetbrains Marketplace</a>\n .\n <a href=\"https://codeberg.org/OverEngineer/InlineProblems\">Codeberg</a>\n \u00b7\n <a href=\"https://github.com/0verEngineer/InlineProblems\">Github</a>\n .\n <a href=\"https://github.com/0verEngineer/InlineProblems/issues\">Report Bug</a>\n \u00b7\n <a href=\"https://github.com/0verEngineer/InlineProblems/issues\">Request Feature</a>\n </p>\n\n\n\n</div>\n\n\n---\n<details>\n <summary>Screenshots</summary>\n\n\n\n\n\n\n\n\n\n\n\n\n</details>\n\n\n<!-- TABLE OF CONTENTS -->\n<details>\n <summary>Table of Contents</summary>\n <ol>\n <li>\n <a href=\"#about-the-project\">About The Project</a>\n </li>\n <li>\n <a href=\"#getting-started\">Getting Started</a>\n </li>\n <li><a href=\"#beta versions\">Beta Versions</a></li>\n <li><a href=\"#roadmap\">Roadmap</a></li>\n <li><a href=\"#license\">License</a></li>\n <li><a href=\"#contact\">Contact</a></li>\n </ol>\n</details>\n\n\n\n<!-- ABOUT THE PROJECT -->\n## About The Project\n\n- I use this plugin professionally on a daily basis in IntelliJ and CLion in combination with the IdeaVIM extension\n\n\n\n<!-- GETTING STARTED -->\n## Getting Started\n\n- Clone the repository and open it with IntelliJ\n\n\n\n<!-- BETA VERSIONS -->\n## Beta Versions\n\n### Download\n- You can download beta versions from the GitHub release page, there are available as pre-releases.\n\n### Custom Repository\n- Add `https://plugins.jetbrains.com/plugins/beta/20789` as custom plugin repository if you only want this plugin from the `beta` channel\n- Add `https://plugins.jetbrains.com/plugins/beta/list` as custom plugin repository and you get all plugins with builds in the `beta` channel\n\n\n<!-- ROADMAP -->\n## Roadmap\n\n- [ ] Multiline ErrorLabels (Inlays)\n- [ ] Delay before adding problems\n- [ ] Listen to changed width of editor and redraw labels if needed\n\n\n\n\n<!-- LICENSE -->\n## License\n\nDistributed under the GNU General Public License v3 See `LICENSE` for more information.\n \n\n\n<!-- CONTACT -->\n## Contact\n\nJulian Hackinger - dev@hackinger.net\n\nProject Link: [https://github.com/0verEngineer/InlineProblems](https://github.com/0verEngineer/InlineProblems)\n\n\n\n<!-- MARKDOWN LINKS & IMAGES -->\n[contributors-shield]: https://img.shields.io/github/contributors/0verEngineer/InlineProblems.svg?style=for-the-badge\n[contributors-url]: https://github.com/0verEngineer/InlineProblems/graphs/contributors\n[forks-shield]: https://img.shields.io/github/forks/0verEngineer/InlineProblems.svg?style=for-the-badge\n[forks-url]: https://github.com/0verEngineer/InlineProblems/network/members\n[stars-shield]: https://img.shields.io/github/stars/0verEngineer/InlineProblems.svg?style=for-the-badge\n[stars-url]: https://github.com/0verEngineer/InlineProblems/stargazers\n[issues-shield]: https://img.shields.io/github/issues/0verEngineer/InlineProblems.svg?style=for-the-badge\n[issues-url]: https://github.com/0verEngineer/InlineProblems/issues\n[license-shield]: https://img.shields.io/github/license/0verEngineer/InlineProblems.svg?style=for-the-badge\n[license-url]: https://github.com/0verEngineer/InlineProblems/blob/master/LICENSE.txt\n[plugin-url]: https://plugins.jetbrains.com/plugin/20789-inlineproblems\n[plugin-version-shield]: https://img.shields.io/jetbrains/plugin/v/20789-inlineproblems.svg?style=for-the-badge\n[plugin-downloads-shield]: https://img.shields.io/jetbrains/plugin/d/20789-inlineproblems.svg?style=for-the-badge\n[plugin-rating-shield]: https://img.shields.io/jetbrains/plugin/r/rating/20789-inlineproblems?style=for-the-badge", "head_content": "<div id=\"top\"></div>\n\n\n<!-- PROJECT SHIELDS -->\n[![Contributors][contributors-shield]][contributors-url]\n[![Forks][forks-shield]][forks-url]\n[![Stargazers][stars-shield]][stars-url]\n[![Issues][issues-shield]][issues-url]\n[![GPLv3 License][license-shield]][license-url]\n[![Version][plugin-version-shield]][plugin-url]\n[![Downloads][plugin-downloads-shield]][plugin-url]\n[![Rating][plugin-rating-shield]][plugin-url]\n\n\n\n<!-- PROJECT LOGO -->\n<br />\n<div align=\"center\">\n <a href=\"https://github.com/0verEngineer/InlineProblems\">\n <img src=\"src/main/resources/META-INF/pluginIcon.svg\" alt=\"Logo\" width=\"100\" height=\"100\">\n </a>\n\n<h3 align=\"center\">InlineProblems</h3>\n\n<!-- Plugin description -->\nPlugin to show problems like errors and warnings inside the text editor (inline) for IDEs based on the IntelliJ Platform, inspired by Error Lens and InlineError.\n\nYou can turn this plugin on and off by the keyboard shortcut `alt+u`. \n<!-- Plugin description end -->\n\n <p align=\"center\">\n <br />\n <a href=\"https://plugins.jetbrains.com/plugin/20789-inlineproblems\">Jetbrains Marketplace</a>\n .\n <a href=\"https://codeberg.org/OverEngineer/InlineProblems\">Codeberg</a>\n \u00b7\n <a href=\"https://github.com/0verEngineer/InlineProblems\">Github</a>\n .\n <a href=\"https://github.com/0verEngineer/InlineProblems/issues\">Report Bug</a>\n \u00b7\n <a href=\"https://github.com/0verEngineer/InlineProblems/issues\">Request Feature</a>\n </p>\n\n\n\n</div>\n\n\n---\n<details>\n <summary>Screenshots</summary>\n\n\n\n\n\n\n\n\n\n\n\n\n</details>\n\n\n<!-- TABLE OF CONTENTS -->\n<details>\n <summary>Table of Contents</summary>\n <ol>\n <li>\n <a href=\"#about-the-project\">About The Project</a>\n </li>\n <li>\n <a href=\"#getting-started\">Getting Started</a>\n </li>\n <li><a href=\"#beta versions\">Beta Versions</a></li>\n <li><a href=\"#roadmap\">Roadmap</a></li>\n <li><a href=\"#license\">License</a></li>\n <li><a href=\"#contact\">Contact</a></li>\n </ol>\n</details>\n\n\n\n<!-- ABOUT THE PROJECT -->\n## About The Project\n\n- I use this plugin professionally on a daily basis in IntelliJ and CLion in combination with the IdeaVIM extension\n\n\n\n<!-- GETTING STARTED -->\n## Getting Started\n\n- Clone the repository and open it with IntelliJ\n\n\n\n<!-- BETA VERSIONS -->\n## Beta Versions\n\n### Download\n- You can download beta versions from the GitHub release page, there are available as pre-releases.\n\n### Custom Repository\n- Add `https://plugins.jetbrains.com/plugins/beta/20789` as custom plugin repository if you only want this plugin from the `beta` channel\n- Add `https://plugins.jetbrains.com/plugins/beta/list` as custom plugin repository and you get all plugins with builds in the `beta` channel\n\n\n<!-- ROADMAP -->\n## Roadmap\n\n- [ ] Multiline ErrorLabels (Inlays)\n- [ ] Delay before adding problems\n- [ ] Listen to changed width of editor and redraw labels if needed\n\n\n\n\n<!-- LICENSE -->\n## License\n\nDistributed under the GNU General Public License v3 See `LICENSE` for more information.\n \n\n\n<!-- CONTACT -->\n## Contact\n\nJulian Hackinger - dev@hackinger.net\n\nProject Link: [https://github.com/0verEngineer/InlineProblems](https://github.com/0verEngineer/InlineProblems)\n\n\n\n<!-- MARKDOWN LINKS & IMAGES -->\n[contributors-shield]: https://img.shields.io/github/contributors/0verEngineer/InlineProblems.svg?style=for-the-badge\n[contributors-url]: https://github.com/0verEngineer/InlineProblems/graphs/contributors\n[forks-shield]: https://img.shields.io/github/forks/0verEngineer/InlineProblems.svg?style=for-the-badge\n[forks-url]: https://github.com/0verEngineer/InlineProblems/network/members\n[stars-shield]: https://img.shields.io/github/stars/0verEngineer/InlineProblems.svg?style=for-the-badge\n[stars-url]: https://github.com/0verEngineer/InlineProblems/stargazers\n[issues-shield]: https://img.shields.io/github/issues/0verEngineer/InlineProblems.svg?style=for-the-badge\n[issues-url]: https://github.com/0verEngineer/InlineProblems/issues\n[license-shield]: https://img.shields.io/github/license/0verEngineer/InlineProblems.svg?style=for-the-badge\n[license-url]: https://github.com/0verEngineer/InlineProblems/blob/master/LICENSE.txt\n[plugin-url]: https://plugins.jetbrains.com/plugin/20789-inlineproblems\n[plugin-version-shield]: https://img.shields.io/jetbrains/plugin/v/20789-inlineproblems.svg?style=for-the-badge\n[plugin-downloads-shield]: https://img.shields.io/jetbrains/plugin/d/20789-inlineproblems.svg?style=for-the-badge\n[plugin-rating-shield]: https://img.shields.io/jetbrains/plugin/r/rating/20789-inlineproblems?style=for-the-badge", "patch": "--- a/README.md\n+++ b/README.md\n@@ -23,7 +23,9 @@\n <h3 align=\"center\">InlineProblems</h3>\n \n <!-- Plugin description -->\n-Plugin to show problems like errors and warnings inside the text editor (inline) for IDEs based on the IntelliJ Platform, inspired by Error Lens and InlineError\n+Plugin to show problems like errors and warnings inside the text editor (inline) for IDEs based on the IntelliJ Platform, inspired by Error Lens and InlineError.\n+\n+You can turn this plugin on and off by the keyboard shortcut `alt+u`. \n <!-- Plugin description end -->\n \n <p align=\"center\">\n"}, {"path": "src/main/java/org/overengineer/inlineproblems/DocumentMarkupModelScanner.java", "additions": 15, "deletions": 16, "changeType": "MODIFIED", "base_content": "package org.overengineer.inlineproblems;\n\nimport com.intellij.codeInsight.daemon.impl.HighlightInfo;\nimport com.intellij.openapi.Disposable;\nimport com.intellij.openapi.application.ApplicationManager;\nimport com.intellij.openapi.diagnostic.Logger;\nimport com.intellij.openapi.editor.Document;\nimport com.intellij.openapi.editor.Editor;\nimport com.intellij.openapi.editor.impl.DocumentMarkupModel;\nimport com.intellij.openapi.editor.markup.RangeHighlighter;\nimport com.intellij.openapi.fileEditor.FileEditorManager;\nimport com.intellij.openapi.fileEditor.TextEditor;\nimport com.intellij.openapi.project.ProjectManager;\nimport com.intellij.openapi.util.Disposer;\nimport com.intellij.util.concurrency.AppExecutorUtil;\nimport com.intellij.util.ui.update.MergingUpdateQueue;\nimport com.intellij.util.ui.update.Update;\nimport org.overengineer.inlineproblems.entities.InlineProblem;\nimport org.overengineer.inlineproblems.entities.enums.Listener;\nimport org.overengineer.inlineproblems.listeners.HighlightProblemListener;\nimport org.overengineer.inlineproblems.settings.SettingsState;\nimport org.overengineer.inlineproblems.utils.FileNameUtil;\n\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.List;\nimport java.util.concurrent.ScheduledFuture;\nimport java.util.concurrent.TimeUnit;\n\n\npublic class DocumentMarkupModelScanner implements Disposable {\n private final ProblemManager problemManager = ApplicationManager.getApplication().getService(ProblemManager.class);\n private final SettingsState settingsState;\n\n private final Logger logger = Logger.getInstance(DocumentMarkupModelScanner.class);\n\n private int delayMilliseconds = HighlightProblemListener.ADDITIONAL_MANUAL_SCAN_DELAY_MILLIS;\n\n private static DocumentMarkupModelScanner instance;\n\n private final MergingUpdateQueue mergingUpdateQueue;\n\n private ScheduledFuture<?> scheduledFuture;\n\n public static final String NAME = \"ManualScanner\";\n\n private DocumentMarkupModelScanner() {\n Disposer.register(problemManager, this);\n\n settingsState = SettingsState.getInstance();\n\n mergingUpdateQueue = new MergingUpdateQueue(\n \"DocumentMarkupModelScannerQueue\",\n 10,\n true,\n null,\n this,\n null,\n true\n );\n\n SettingsState settingsState = SettingsState.getInstance();\n if (settingsState.getEnabledListener() == Listener.MANUAL_SCANNING) {\n delayMilliseconds = settingsState.getManualScannerDelay();\n }\n\n createAndStartScheduledFuture();\n }\n\n public static DocumentMarkupModelScanner getInstance() {\n if (instance == null)\n instance = new DocumentMarkupModelScanner();\n\n return instance;\n }\n\n @Override\n public void dispose() {\n mergingUpdateQueue.cancelAllUpdates();\n }\n\n public void scanForProblemsManually() {\n ProjectManager projectManager = ProjectManager.getInstanceIfCreated();\n\n if (projectManager != null) {\n List<InlineProblem> problems = new ArrayList<>();\n\n for (var project : projectManager.getOpenProjects()) {\n if (!project.isInitialized() || project.isDisposed())\n continue;\n\n FileEditorManager fileEditorManager = FileEditorManager.getInstance(project);\n for (var editor : fileEditorManager.getAllEditors()) {\n\n if (editor.getFile() == null || FileNameUtil.ignoreFile(editor.getFile().getName())) {\n continue;\n }\n\n if (editor instanceof TextEditor) {\n var textEditor = (TextEditor) editor;\n problems.addAll(getProblemsInEditor(textEditor));\n }\n }\n }\n\n problemManager.updateFromNewActiveProblems(problems);\n }\n }\n\n /**\n * This function is queued in the mergingUpdateQueue because it is called frequently, this can be multiple times per\n * millisecond if the HighlightProblemListener is used.\n */\n public void scanForProblemsManuallyInTextEditor(TextEditor textEditor) {\n if (textEditor.getFile() == null || FileNameUtil.ignoreFile(textEditor.getFile().getName())) {\n return;\n }\n\n mergingUpdateQueue.queue(new Update(\"scan\") {\n @Override\n public void run() {\n List<InlineProblem> problems = getProblemsInEditor(textEditor);\n\n problemManager.updateFromNewActiveProblemsForProjectAndFile(\n problems,\n textEditor.getEditor().getProject(),\n textEditor.getFile().getPath()\n );\n }\n });\n }\n\n private List<InlineProblem> getProblemsInEditor(TextEditor textEditor) {\n Editor editor = textEditor.getEditor();\n Document document = editor.getDocument();\n List<InlineProblem> problems = new ArrayList<>();\n\n int lineCount = document.getLineCount();\n if (lineCount <= 0) {\n return problems;\n }\n\n int fileEndOffset = document.getLineEndOffset(lineCount - 1);\n\n RangeHighlighter[] highlighters = DocumentMarkupModel\n .forDocument(document, editor.getProject(), false)\n .getAllHighlighters();\n\n List<String> problemTextBeginningFilterList = new ArrayList<>(\n Arrays.asList(SettingsState.getInstance().getProblemFilterList().split(\";\"))\n );\n\n Arrays.stream(highlighters)\n .filter(h -> {\n if (h.isValid() && h.getErrorStripeTooltip() instanceof HighlightInfo) {\n HighlightInfo highlightInfo = (HighlightInfo) h.getErrorStripeTooltip();\n return highlightInfo.getDescription() != null &&\n !highlightInfo.getDescription().isEmpty() &&\n problemTextBeginningFilterList.stream()\n .noneMatch(f -> highlightInfo.getDescription().stripLeading().toLowerCase().startsWith(f.toLowerCase())) &&\n fileEndOffset >= highlightInfo.getStartOffset()\n ;\n }\n\n return false;\n })\n .forEach(h -> {\n HighlightInfo highlightInfo = (HighlightInfo) h.getErrorStripeTooltip();\n\n InlineProblem newProblem = new InlineProblem(\n document.getLineNumber(highlightInfo.getStartOffset()),\n textEditor.getFile().getPath(),\n highlightInfo,\n textEditor,\n h,\n settingsState\n );\n\n problemManager.applyCustomSeverity(newProblem);\n if (problemManager.shouldProblemBeIgnored(newProblem.getSeverity())) {\n return;\n }\n\n problems.add(newProblem);\n });\n\n return problems;\n }\n\n public void restartManualScan() {\n cancelScheduledFuture();\n createAndStartScheduledFuture();\n }\n\n public void setDelayMilliseconds(int newDelayMilliseconds) {\n delayMilliseconds = newDelayMilliseconds;\n restartManualScan();\n }\n\n private void cancelScheduledFuture() {\n if (!scheduledFuture.cancel(false)) {\n if (!scheduledFuture.cancel(true)) {\n logger.warn(\"Unable to cancel scheduledFuture\");\n }\n }\n }\n\n private void createAndStartScheduledFuture() {\n scheduledFuture = AppExecutorUtil.getAppScheduledExecutorService().scheduleWithFixedDelay(\n () -> ApplicationManager.getApplication().invokeAndWait(this::scanForProblemsManually),\n 2000,\n delayMilliseconds,\n TimeUnit.MILLISECONDS\n );\n }\n}\n", "head_content": "package org.overengineer.inlineproblems;\n\nimport com.intellij.codeInsight.daemon.impl.HighlightInfo;\nimport com.intellij.openapi.Disposable;\nimport com.intellij.openapi.application.ApplicationManager;\nimport com.intellij.openapi.diagnostic.Logger;\nimport com.intellij.openapi.editor.Document;\nimport com.intellij.openapi.editor.Editor;\nimport com.intellij.openapi.editor.impl.DocumentMarkupModel;\nimport com.intellij.openapi.editor.markup.RangeHighlighter;\nimport com.intellij.openapi.fileEditor.FileEditorManager;\nimport com.intellij.openapi.fileEditor.TextEditor;\nimport com.intellij.openapi.project.ProjectManager;\nimport com.intellij.openapi.util.Disposer;\nimport com.intellij.util.concurrency.AppExecutorUtil;\nimport com.intellij.util.ui.update.MergingUpdateQueue;\nimport com.intellij.util.ui.update.Update;\nimport org.overengineer.inlineproblems.entities.InlineProblem;\nimport org.overengineer.inlineproblems.entities.enums.Listener;\nimport org.overengineer.inlineproblems.listeners.HighlightProblemListener;\nimport org.overengineer.inlineproblems.settings.SettingsState;\nimport org.overengineer.inlineproblems.utils.FileNameUtil;\n\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.List;\nimport java.util.concurrent.ScheduledFuture;\nimport java.util.concurrent.TimeUnit;\n\n\npublic class DocumentMarkupModelScanner implements Disposable {\n private final ProblemManager problemManager = ApplicationManager.getApplication().getService(ProblemManager.class);\n private final SettingsState settingsState;\n\n private final Logger logger = Logger.getInstance(DocumentMarkupModelScanner.class);\n\n private int delayMilliseconds = HighlightProblemListener.ADDITIONAL_MANUAL_SCAN_DELAY_MILLIS;\n\n private static DocumentMarkupModelScanner instance;\n\n private final MergingUpdateQueue mergingUpdateQueue;\n\n private ScheduledFuture<?> scheduledFuture;\n\n public static final String NAME = \"ManualScanner\";\n\n private DocumentMarkupModelScanner() {\n Disposer.register(problemManager, this);\n\n settingsState = SettingsState.getInstance();\n\n mergingUpdateQueue = new MergingUpdateQueue(\n \"DocumentMarkupModelScannerQueue\",\n 10,\n true,\n null,\n this,\n null,\n true\n );\n\n SettingsState settingsState = SettingsState.getInstance();\n if (settingsState.getEnabledListener() == Listener.MANUAL_SCANNING) {\n delayMilliseconds = settingsState.getManualScannerDelay();\n }\n\n createAndStartScheduledFuture();\n }\n\n public static DocumentMarkupModelScanner getInstance() {\n if (instance == null)\n instance = new DocumentMarkupModelScanner();\n\n return instance;\n }\n\n @Override\n public void dispose() {\n mergingUpdateQueue.cancelAllUpdates();\n }\n\n public void scanForProblemsManually() {\n ProjectManager projectManager = ProjectManager.getInstanceIfCreated();\n\n if (projectManager != null) {\n List<InlineProblem> problems = new ArrayList<>();\n if (settingsState.isEnableInlineProblem())\n for (var project : projectManager.getOpenProjects()) {\n if (!project.isInitialized() || project.isDisposed())\n continue;\n\n FileEditorManager fileEditorManager = FileEditorManager.getInstance(project);\n for (var editor : fileEditorManager.getAllEditors()) {\n\n if (editor.getFile() == null || FileNameUtil.ignoreFile(editor.getFile().getName())) {\n continue;\n }\n\n if (editor instanceof TextEditor) {\n var textEditor = (TextEditor) editor;\n problems.addAll(getProblemsInEditor(textEditor));\n }\n }\n }\n\n problemManager.updateFromNewActiveProblems(problems);\n }\n }\n\n /**\n * This function is queued in the mergingUpdateQueue because it is called frequently, this can be multiple times per\n * millisecond if the HighlightProblemListener is used.\n */\n public void scanForProblemsManuallyInTextEditor(TextEditor textEditor) {\n if (textEditor.getFile() == null || FileNameUtil.ignoreFile(textEditor.getFile().getName())) {\n return;\n }\n\n mergingUpdateQueue.queue(new Update(\"scan\") {\n @Override\n public void run() {\n List<InlineProblem> problems = settingsState.isEnableInlineProblem() ? List.of() : getProblemsInEditor(textEditor);\n\n problemManager.updateFromNewActiveProblemsForProjectAndFile(\n problems,\n textEditor.getEditor().getProject(),\n textEditor.getFile().getPath()\n );\n }\n });\n }\n\n private List<InlineProblem> getProblemsInEditor(TextEditor textEditor) {\n Editor editor = textEditor.getEditor();\n Document document = editor.getDocument();\n List<InlineProblem> problems = new ArrayList<>();\n\n int lineCount = document.getLineCount();\n if (lineCount <= 0) {\n return problems;\n }\n\n int fileEndOffset = document.getLineEndOffset(lineCount - 1);\n\n RangeHighlighter[] highlighters = DocumentMarkupModel\n .forDocument(document, editor.getProject(), false)\n .getAllHighlighters();\n\n List<String> problemTextBeginningFilterList = new ArrayList<>(\n Arrays.asList(SettingsState.getInstance().getProblemFilterList().split(\";\"))\n );\n\n Arrays.stream(highlighters)\n .filter(h -> {\n if (h.isValid() && h.getErrorStripeTooltip() instanceof HighlightInfo) {\n HighlightInfo highlightInfo = (HighlightInfo) h.getErrorStripeTooltip();\n return highlightInfo.getDescription() != null &&\n !highlightInfo.getDescription().isEmpty() &&\n problemTextBeginningFilterList.stream()\n .noneMatch(f -> highlightInfo.getDescription().stripLeading().toLowerCase().startsWith(f.toLowerCase())) &&\n fileEndOffset >= highlightInfo.getStartOffset();\n }\n\n return false;\n })\n .forEach(h -> {\n HighlightInfo highlightInfo = (HighlightInfo) h.getErrorStripeTooltip();\n\n InlineProblem newProblem = new InlineProblem(\n document.getLineNumber(highlightInfo.getStartOffset()),\n textEditor.getFile().getPath(),\n highlightInfo,\n textEditor,\n h,\n settingsState\n );\n\n problemManager.applyCustomSeverity(newProblem);\n if (problemManager.shouldProblemBeIgnored(newProblem.getSeverity())) {\n return;\n }\n\n problems.add(newProblem);\n });\n\n return problems;\n }\n\n public void restartManualScan() {\n cancelScheduledFuture();\n createAndStartScheduledFuture();\n }\n\n public void setDelayMilliseconds(int newDelayMilliseconds) {\n delayMilliseconds = newDelayMilliseconds;\n restartManualScan();\n }\n\n private void cancelScheduledFuture() {\n if (!scheduledFuture.cancel(false)) {\n if (!scheduledFuture.cancel(true)) {\n logger.warn(\"Unable to cancel scheduledFuture\");\n }\n }\n }\n\n private void createAndStartScheduledFuture() {\n scheduledFuture = AppExecutorUtil.getAppScheduledExecutorService().scheduleWithFixedDelay(\n () -> ApplicationManager.getApplication().invokeAndWait(this::scanForProblemsManually),\n 2000,\n delayMilliseconds,\n TimeUnit.MILLISECONDS\n );\n }\n}\n", "patch": "--- a/src/main/java/org/overengineer/inlineproblems/DocumentMarkupModelScanner.java\n+++ b/src/main/java/org/overengineer/inlineproblems/DocumentMarkupModelScanner.java\n@@ -84,24 +84,24 @@\n \n if (projectManager != null) {\n List<InlineProblem> problems = new ArrayList<>();\n-\n- for (var project : projectManager.getOpenProjects()) {\n- if (!project.isInitialized() || project.isDisposed())\n- continue;\n-\n- FileEditorManager fileEditorManager = FileEditorManager.getInstance(project);\n- for (var editor : fileEditorManager.getAllEditors()) {\n-\n- if (editor.getFile() == null || FileNameUtil.ignoreFile(editor.getFile().getName())) {\n+ if (settingsState.isEnableInlineProblem())\n+ for (var project : projectManager.getOpenProjects()) {\n+ if (!project.isInitialized() || project.isDisposed())\n continue;\n- }\n-\n- if (editor instanceof TextEditor) {\n- var textEditor = (TextEditor) editor;\n- problems.addAll(getProblemsInEditor(textEditor));\n+\n+ FileEditorManager fileEditorManager = FileEditorManager.getInstance(project);\n+ for (var editor : fileEditorManager.getAllEditors()) {\n+\n+ if (editor.getFile() == null || FileNameUtil.ignoreFile(editor.getFile().getName())) {\n+ continue;\n+ }\n+\n+ if (editor instanceof TextEditor) {\n+ var textEditor = (TextEditor) editor;\n+ problems.addAll(getProblemsInEditor(textEditor));\n+ }\n }\n }\n- }\n \n problemManager.updateFromNewActiveProblems(problems);\n }\n@@ -119,7 +119,7 @@\n mergingUpdateQueue.queue(new Update(\"scan\") {\n @Override\n public void run() {\n- List<InlineProblem> problems = getProblemsInEditor(textEditor);\n+ List<InlineProblem> problems = settingsState.isEnableInlineProblem() ? List.of() : getProblemsInEditor(textEditor);\n \n problemManager.updateFromNewActiveProblemsForProjectAndFile(\n problems,\n@@ -158,8 +158,7 @@\n !highlightInfo.getDescription().isEmpty() &&\n problemTextBeginningFilterList.stream()\n .noneMatch(f -> highlightInfo.getDescription().stripLeading().toLowerCase().startsWith(f.toLowerCase())) &&\n- fileEndOffset >= highlightInfo.getStartOffset()\n- ;\n+ fileEndOffset >= highlightInfo.getStartOffset();\n }\n \n return false;\n"}, {"path": "src/main/java/org/overengineer/inlineproblems/actions/EnableInlineProblemsAction.java", "additions": 30, "deletions": 0, "changeType": "ADDED", "base_content": null, "is_new_file": true, "head_content": "package org.overengineer.inlineproblems.actions;\n\nimport com.intellij.notification.NotificationType;\nimport com.intellij.openapi.actionSystem.AnAction;\nimport com.intellij.openapi.actionSystem.AnActionEvent;\nimport com.intellij.openapi.application.ApplicationManager;\nimport org.jetbrains.annotations.NotNull;\nimport org.overengineer.inlineproblems.DocumentMarkupModelScanner;\nimport org.overengineer.inlineproblems.Notifier;\nimport org.overengineer.inlineproblems.bundles.SettingsBundle;\nimport org.overengineer.inlineproblems.settings.SettingsState;\n\npublic class EnableInlineProblemsAction extends AnAction {\n\n @Override\n public void actionPerformed(@NotNull AnActionEvent anActionEvent) {\n SettingsState settingsState = SettingsState.getInstance();\n if (settingsState.isEnableInlineProblemsNotifications()) {\n Notifier.notify(SettingsBundle.message(\n settingsState.isEnableInlineProblem()\n ? \"settings.enableInlineProblem.disabled\"\n : \"settings.enableInlineProblem.enabled\"),\n NotificationType.INFORMATION,\n anActionEvent.getProject()\n );\n }\n settingsState.setEnableInlineProblem(!settingsState.isEnableInlineProblem());\n ApplicationManager.getApplication().invokeAndWait(DocumentMarkupModelScanner.getInstance()::scanForProblemsManually);\n }\n}\n", "patch": "--- a/src/main/java/org/overengineer/inlineproblems/actions/EnableInlineProblemsAction.java\n+++ b/src/main/java/org/overengineer/inlineproblems/actions/EnableInlineProblemsAction.java\n@@ -0,0 +1,30 @@\n+package org.overengineer.inlineproblems.actions;\n+\n+import com.intellij.notification.NotificationType;\n+import com.intellij.openapi.actionSystem.AnAction;\n+import com.intellij.openapi.actionSystem.AnActionEvent;\n+import com.intellij.openapi.application.ApplicationManager;\n+import org.jetbrains.annotations.NotNull;\n+import org.overengineer.inlineproblems.DocumentMarkupModelScanner;\n+import org.overengineer.inlineproblems.Notifier;\n+import org.overengineer.inlineproblems.bundles.SettingsBundle;\n+import org.overengineer.inlineproblems.settings.SettingsState;\n+\n+public class EnableInlineProblemsAction extends AnAction {\n+\n+ @Override\n+ public void actionPerformed(@NotNull AnActionEvent anActionEvent) {\n+ SettingsState settingsState = SettingsState.getInstance();\n+ if (settingsState.isEnableInlineProblemsNotifications()) {\n+ Notifier.notify(SettingsBundle.message(\n+ settingsState.isEnableInlineProblem()\n+ ? \"settings.enableInlineProblem.disabled\"\n+ : \"settings.enableInlineProblem.enabled\"),\n+ NotificationType.INFORMATION,\n+ anActionEvent.getProject()\n+ );\n+ }\n+ settingsState.setEnableInlineProblem(!settingsState.isEnableInlineProblem());\n+ ApplicationManager.getApplication().invokeAndWait(DocumentMarkupModelScanner.getInstance()::scanForProblemsManually);\n+ }\n+}\n"}, {"path": "src/main/java/org/overengineer/inlineproblems/actions/ShowErrorsAction.java", "additions": 14, "deletions": 0, "changeType": "ADDED", "base_content": null, "is_new_file": true, "head_content": "package org.overengineer.inlineproblems.actions;\n\nimport com.intellij.openapi.actionSystem.AnAction;\nimport com.intellij.openapi.actionSystem.AnActionEvent;\nimport org.jetbrains.annotations.NotNull;\nimport org.overengineer.inlineproblems.settings.SettingsState;\n\npublic class ShowErrorsAction extends AnAction {\n @Override\n public void actionPerformed(@NotNull AnActionEvent anActionEvent) {\n SettingsState settingsState = SettingsState.getInstance();\n settingsState.setShowErrors(!settingsState.isShowErrors());\n }\n}\n", "patch": "--- a/src/main/java/org/overengineer/inlineproblems/actions/ShowErrorsAction.java\n+++ b/src/main/java/org/overengineer/inlineproblems/actions/ShowErrorsAction.java\n@@ -0,0 +1,14 @@\n+package org.overengineer.inlineproblems.actions;\n+\n+import com.intellij.openapi.actionSystem.AnAction;\n+import com.intellij.openapi.actionSystem.AnActionEvent;\n+import org.jetbrains.annotations.NotNull;\n+import org.overengineer.inlineproblems.settings.SettingsState;\n+\n+public class ShowErrorsAction extends AnAction {\n+ @Override\n+ public void actionPerformed(@NotNull AnActionEvent anActionEvent) {\n+ SettingsState settingsState = SettingsState.getInstance();\n+ settingsState.setShowErrors(!settingsState.isShowErrors());\n+ }\n+}\n"}, {"path": "src/main/java/org/overengineer/inlineproblems/actions/ShowInfosAction.java", "additions": 14, "deletions": 0, "changeType": "ADDED", "base_content": null, "is_new_file": true, "head_content": "package org.overengineer.inlineproblems.actions;\n\nimport com.intellij.openapi.actionSystem.AnAction;\nimport com.intellij.openapi.actionSystem.AnActionEvent;\nimport org.jetbrains.annotations.NotNull;\nimport org.overengineer.inlineproblems.settings.SettingsState;\n\npublic class ShowInfosAction extends AnAction {\n @Override\n public void actionPerformed(@NotNull AnActionEvent anActionEvent) {\n SettingsState settingsState = SettingsState.getInstance();\n settingsState.setShowInfos(!settingsState.isShowInfos());\n }\n}\n", "patch": "--- a/src/main/java/org/overengineer/inlineproblems/actions/ShowInfosAction.java\n+++ b/src/main/java/org/overengineer/inlineproblems/actions/ShowInfosAction.java\n@@ -0,0 +1,14 @@\n+package org.overengineer.inlineproblems.actions;\n+\n+import com.intellij.openapi.actionSystem.AnAction;\n+import com.intellij.openapi.actionSystem.AnActionEvent;\n+import org.jetbrains.annotations.NotNull;\n+import org.overengineer.inlineproblems.settings.SettingsState;\n+\n+public class ShowInfosAction extends AnAction {\n+ @Override\n+ public void actionPerformed(@NotNull AnActionEvent anActionEvent) {\n+ SettingsState settingsState = SettingsState.getInstance();\n+ settingsState.setShowInfos(!settingsState.isShowInfos());\n+ }\n+}\n"}, {"path": "src/main/java/org/overengineer/inlineproblems/actions/ShowWarningsAction.java", "additions": 14, "deletions": 0, "changeType": "ADDED", "base_content": null, "is_new_file": true, "head_content": "package org.overengineer.inlineproblems.actions;\n\nimport com.intellij.openapi.actionSystem.AnAction;\nimport com.intellij.openapi.actionSystem.AnActionEvent;\nimport org.jetbrains.annotations.NotNull;\nimport org.overengineer.inlineproblems.settings.SettingsState;\n\npublic class ShowWarningsAction extends AnAction {\n @Override\n public void actionPerformed(@NotNull AnActionEvent anActionEvent) {\n SettingsState settingsState = SettingsState.getInstance();\n settingsState.setShowWarnings(!settingsState.isShowWarnings());\n }\n}\n", "patch": "--- a/src/main/java/org/overengineer/inlineproblems/actions/ShowWarningsAction.java\n+++ b/src/main/java/org/overengineer/inlineproblems/actions/ShowWarningsAction.java\n@@ -0,0 +1,14 @@\n+package org.overengineer.inlineproblems.actions;\n+\n+import com.intellij.openapi.actionSystem.AnAction;\n+import com.intellij.openapi.actionSystem.AnActionEvent;\n+import org.jetbrains.annotations.NotNull;\n+import org.overengineer.inlineproblems.settings.SettingsState;\n+\n+public class ShowWarningsAction extends AnAction {\n+ @Override\n+ public void actionPerformed(@NotNull AnActionEvent anActionEvent) {\n+ SettingsState settingsState = SettingsState.getInstance();\n+ settingsState.setShowWarnings(!settingsState.isShowWarnings());\n+ }\n+}\n"}, {"path": "src/main/java/org/overengineer/inlineproblems/actions/ShowWeakWarningsAction.java", "additions": 14, "deletions": 0, "changeType": "ADDED", "base_content": null, "is_new_file": true, "head_content": "package org.overengineer.inlineproblems.actions;\n\nimport com.intellij.openapi.actionSystem.AnAction;\nimport com.intellij.openapi.actionSystem.AnActionEvent;\nimport org.jetbrains.annotations.NotNull;\nimport org.overengineer.inlineproblems.settings.SettingsState;\n\npublic class ShowWeakWarningsAction extends AnAction {\n @Override\n public void actionPerformed(@NotNull AnActionEvent anActionEvent) {\n SettingsState settingsState = SettingsState.getInstance();\n settingsState.setShowWeakWarnings(!settingsState.isShowWeakWarnings());\n }\n}\n", "patch": "--- a/src/main/java/org/overengineer/inlineproblems/actions/ShowWeakWarningsAction.java\n+++ b/src/main/java/org/overengineer/inlineproblems/actions/ShowWeakWarningsAction.java\n@@ -0,0 +1,14 @@\n+package org.overengineer.inlineproblems.actions;\n+\n+import com.intellij.openapi.actionSystem.AnAction;\n+import com.intellij.openapi.actionSystem.AnActionEvent;\n+import org.jetbrains.annotations.NotNull;\n+import org.overengineer.inlineproblems.settings.SettingsState;\n+\n+public class ShowWeakWarningsAction extends AnAction {\n+ @Override\n+ public void actionPerformed(@NotNull AnActionEvent anActionEvent) {\n+ SettingsState settingsState = SettingsState.getInstance();\n+ settingsState.setShowWeakWarnings(!settingsState.isShowWeakWarnings());\n+ }\n+}\n"}, {"path": "src/main/java/org/overengineer/inlineproblems/listeners/MarkupModelProblemListener.java", "additions": 2, "deletions": 0, "changeType": "MODIFIED", "base_content": "package org.overengineer.inlineproblems.listeners;\n\nimport com.intellij.codeInsight.daemon.impl.HighlightInfo;\nimport com.intellij.openapi.Disposable;\nimport com.intellij.openapi.application.ApplicationManager;\nimport com.intellij.openapi.editor.Editor;\nimport com.intellij.openapi.editor.ex.MarkupModelEx;\nimport com.intellij.openapi.editor.ex.RangeHighlighterEx;\nimport com.intellij.openapi.editor.impl.DocumentMarkupModel;\nimport com.intellij.openapi.editor.impl.event.MarkupModelListener;\nimport com.intellij.openapi.fileEditor.TextEditor;\nimport com.intellij.openapi.util.Disposer;\nimport org.jetbrains.annotations.NotNull;\nimport org.overengineer.inlineproblems.DocumentMarkupModelScanner;\nimport org.overengineer.inlineproblems.ProblemManager;\nimport org.overengineer.inlineproblems.entities.InlineProblem;\nimport org.overengineer.inlineproblems.entities.enums.Listener;\nimport org.overengineer.inlineproblems.settings.SettingsState;\n\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.List;\nimport java.util.Objects;\n\n\npublic class MarkupModelProblemListener implements MarkupModelListener {\n private final SettingsState settingsState;\n private final ProblemManager problemManager;\n private final TextEditor textEditor;\n\n private static final List<Disposable> disposables = new ArrayList<>();\n\n public static final String NAME = \"MarkupModelListener (default)\";\n\n private enum EventType {\n ADD, REMOVE, CHANGE\n }\n\n private MarkupModelProblemListener(\n final TextEditor textEditor\n ) {\n this.textEditor = textEditor;\n\n problemManager = ApplicationManager.getApplication().getService(ProblemManager.class);\n settingsState = SettingsState.getInstance();\n }\n\n @Override\n public void afterAdded(@NotNull RangeHighlighterEx highlighter) {\n ApplicationManager.getApplication().invokeLater(() -> handleEvent(EventType.ADD, highlighter));\n }\n\n @Override\n public void beforeRemoved(@NotNull RangeHighlighterEx highlighter) {\n ApplicationManager.getApplication().invokeLater(() -> handleEvent(EventType.REMOVE, highlighter));\n }\n\n @Override\n public void attributesChanged(@NotNull RangeHighlighterEx highlighter, boolean renderersChanged, boolean fontStyleOrColorChanged) {\n ApplicationManager.getApplication().invokeLater(() -> handleEvent(EventType.CHANGE, highlighter));\n }\n\n public static void setup(TextEditor textEditor) {\n Editor editor = textEditor.getEditor();\n var documentMarkupModel = DocumentMarkupModel.forDocument(editor.getDocument(), editor.getProject(), false);\n\n if (!(documentMarkupModel instanceof MarkupModelEx) || textEditor.getFile() == null) {\n return;\n }\n\n Disposable disposable = new MarkupModelProblemListenerDisposable();\n Disposer.register(ApplicationManager.getApplication().getService(ProblemManager.class), disposable);\n\n ((MarkupModelEx) documentMarkupModel).addMarkupModelListener(\n disposable,\n new MarkupModelProblemListener(textEditor)\n );\n\n disposables.add(disposable);\n }\n\n public static void disposeAll() {\n List.copyOf(disposables)\n .forEach(d -> {\n Disposer.dispose(d);\n disposables.remove(d);\n });\n }\n\n private void handleEvent(EventType type, @NotNull RangeHighlighterEx highlighter) {\n\n if (settingsState.getEnabledListener() != Listener.MARKUP_MODEL_LISTENER)\n return;\n\n Editor editor = textEditor.getEditor();\n\n if (editor.isDisposed() || editor.getProject() == null || editor.getProject().isDisposed() || !editor.getProject().isInitialized() || textEditor.getFile() == null)\n return;\n\n int lineCount = editor.getDocument().getLineCount();\n if (lineCount <= 0)\n return;\n\n int fileEndOffset = editor.getDocument().getLineEndOffset(lineCount - 1);\n\n if (fileEndOffset < highlighter.getStartOffset()) {\n return;\n }\n\n if (!(highlighter.getErrorStripeTooltip() instanceof HighlightInfo))\n return;\n\n /*\n * We use manual scanning if this option is enabled because we need all problems in the current textEditor to be\n * updated.\n */\n if (settingsState.isShowOnlyHighestSeverityPerLine() && highlighter.getErrorStripeTooltip() != null) {\n var highlightInfo = (HighlightInfo) highlighter.getErrorStripeTooltip();\n\n if (highlightInfo != null &&\n highlightInfo.getDescription() != null &&\n !Objects.equals(highlightInfo.getDescription(), \"\")\n ) {\n DocumentMarkupModelScanner.getInstance().scanForProblemsManuallyInTextEditor(textEditor);\n return;\n }\n\n return;\n }\n\n InlineProblem newProblem;\n InlineProblem problemToRemove = null;\n\n var highlightInfo = (HighlightInfo) highlighter.getErrorStripeTooltip();\n if (highlightInfo == null)\n return;\n\n int startOffset = highlighter.getStartOffset();\n if (startOffset < 0)\n return;\n\n newProblem = new InlineProblem(\n editor.getDocument().getLineNumber(startOffset),\n textEditor.getFile().getPath(),\n highlightInfo,\n textEditor,\n highlighter,\n settingsState\n );\n\n if (type == EventType.CHANGE || type == EventType.REMOVE) {\n problemToRemove = findActiveProblemByRangeHighlighterHashCode(highlighter.hashCode());\n\n if (problemToRemove == null) {\n return;\n }\n }\n\n List<String> problemTextBeginningFilterList = new ArrayList<>(\n Arrays.asList(SettingsState.getInstance().getProblemFilterList().split(\";\"))\n );\n\n if (\n newProblem.getText().isEmpty() ||\n problemTextBeginningFilterList.stream()\n .anyMatch(f -> newProblem.getText().toLowerCase().startsWith(f.toLowerCase()))\n ) {\n return;\n }\n\n problemManager.applyCustomSeverity(newProblem);\n if (problemManager.shouldProblemBeIgnored(newProblem.getSeverity())) {\n return;\n }\n\n switch (type) {\n case ADD:\n problemManager.addProblem(newProblem);\n break;\n case REMOVE:\n problemManager.removeProblem(problemToRemove);\n break;\n case CHANGE:\n problemManager.removeProblem(problemToRemove);\n problemManager.addProblem(newProblem);\n break;\n }\n }\n\n private InlineProblem findActiveProblemByRangeHighlighterHashCode(int hashCode) {\n return problemManager.getActiveProblems().stream()\n .filter(p -> p.getRangeHighlighterHashCode() == hashCode)\n .findFirst()\n .orElse(null);\n }\n}\n", "head_content": "package org.overengineer.inlineproblems.listeners;\n\nimport com.intellij.codeInsight.daemon.impl.HighlightInfo;\nimport com.intellij.openapi.Disposable;\nimport com.intellij.openapi.application.ApplicationManager;\nimport com.intellij.openapi.editor.Editor;\nimport com.intellij.openapi.editor.ex.MarkupModelEx;\nimport com.intellij.openapi.editor.ex.RangeHighlighterEx;\nimport com.intellij.openapi.editor.impl.DocumentMarkupModel;\nimport com.intellij.openapi.editor.impl.event.MarkupModelListener;\nimport com.intellij.openapi.fileEditor.TextEditor;\nimport com.intellij.openapi.util.Disposer;\nimport org.jetbrains.annotations.NotNull;\nimport org.overengineer.inlineproblems.DocumentMarkupModelScanner;\nimport org.overengineer.inlineproblems.ProblemManager;\nimport org.overengineer.inlineproblems.entities.InlineProblem;\nimport org.overengineer.inlineproblems.entities.enums.Listener;\nimport org.overengineer.inlineproblems.settings.SettingsState;\n\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.List;\nimport java.util.Objects;\n\n\npublic class MarkupModelProblemListener implements MarkupModelListener {\n private final SettingsState settingsState;\n private final ProblemManager problemManager;\n private final TextEditor textEditor;\n\n private static final List<Disposable> disposables = new ArrayList<>();\n\n public static final String NAME = \"MarkupModelListener (default)\";\n\n private enum EventType {\n ADD, REMOVE, CHANGE\n }\n\n private MarkupModelProblemListener(\n final TextEditor textEditor\n ) {\n this.textEditor = textEditor;\n\n problemManager = ApplicationManager.getApplication().getService(ProblemManager.class);\n settingsState = SettingsState.getInstance();\n }\n\n @Override\n public void afterAdded(@NotNull RangeHighlighterEx highlighter) {\n ApplicationManager.getApplication().invokeLater(() -> handleEvent(EventType.ADD, highlighter));\n }\n\n @Override\n public void beforeRemoved(@NotNull RangeHighlighterEx highlighter) {\n ApplicationManager.getApplication().invokeLater(() -> handleEvent(EventType.REMOVE, highlighter));\n }\n\n @Override\n public void attributesChanged(@NotNull RangeHighlighterEx highlighter, boolean renderersChanged, boolean fontStyleOrColorChanged) {\n ApplicationManager.getApplication().invokeLater(() -> handleEvent(EventType.CHANGE, highlighter));\n }\n\n public static void setup(TextEditor textEditor) {\n Editor editor = textEditor.getEditor();\n var documentMarkupModel = DocumentMarkupModel.forDocument(editor.getDocument(), editor.getProject(), false);\n\n if (!(documentMarkupModel instanceof MarkupModelEx) || textEditor.getFile() == null) {\n return;\n }\n\n Disposable disposable = new MarkupModelProblemListenerDisposable();\n Disposer.register(ApplicationManager.getApplication().getService(ProblemManager.class), disposable);\n\n ((MarkupModelEx) documentMarkupModel).addMarkupModelListener(\n disposable,\n new MarkupModelProblemListener(textEditor)\n );\n\n disposables.add(disposable);\n }\n\n public static void disposeAll() {\n List.copyOf(disposables)\n .forEach(d -> {\n Disposer.dispose(d);\n disposables.remove(d);\n });\n }\n\n private void handleEvent(EventType type, @NotNull RangeHighlighterEx highlighter) {\n if (!settingsState.isEnableInlineProblem())\n return;\n\n if (settingsState.getEnabledListener() != Listener.MARKUP_MODEL_LISTENER)\n return;\n\n Editor editor = textEditor.getEditor();\n\n if (editor.isDisposed() || editor.getProject() == null || editor.getProject().isDisposed() || !editor.getProject().isInitialized() || textEditor.getFile() == null)\n return;\n\n int lineCount = editor.getDocument().getLineCount();\n if (lineCount <= 0)\n return;\n\n int fileEndOffset = editor.getDocument().getLineEndOffset(lineCount - 1);\n\n if (fileEndOffset < highlighter.getStartOffset()) {\n return;\n }\n\n if (!(highlighter.getErrorStripeTooltip() instanceof HighlightInfo))\n return;\n\n /*\n * We use manual scanning if this option is enabled because we need all problems in the current textEditor to be\n * updated.\n */\n if (settingsState.isShowOnlyHighestSeverityPerLine() && highlighter.getErrorStripeTooltip() != null) {\n var highlightInfo = (HighlightInfo) highlighter.getErrorStripeTooltip();\n\n if (highlightInfo != null &&\n highlightInfo.getDescription() != null &&\n !Objects.equals(highlightInfo.getDescription(), \"\")\n ) {\n DocumentMarkupModelScanner.getInstance().scanForProblemsManuallyInTextEditor(textEditor);\n return;\n }\n\n return;\n }\n\n InlineProblem newProblem;\n InlineProblem problemToRemove = null;\n\n var highlightInfo = (HighlightInfo) highlighter.getErrorStripeTooltip();\n if (highlightInfo == null)\n return;\n\n int startOffset = highlighter.getStartOffset();\n if (startOffset < 0)\n return;\n\n newProblem = new InlineProblem(\n editor.getDocument().getLineNumber(startOffset),\n textEditor.getFile().getPath(),\n highlightInfo,\n textEditor,\n highlighter,\n settingsState\n );\n\n if (type == EventType.CHANGE || type == EventType.REMOVE) {\n problemToRemove = findActiveProblemByRangeHighlighterHashCode(highlighter.hashCode());\n\n if (problemToRemove == null) {\n return;\n }\n }\n\n List<String> problemTextBeginningFilterList = new ArrayList<>(\n Arrays.asList(SettingsState.getInstance().getProblemFilterList().split(\";\"))\n );\n\n if (\n newProblem.getText().isEmpty() ||\n problemTextBeginningFilterList.stream()\n .anyMatch(f -> newProblem.getText().toLowerCase().startsWith(f.toLowerCase()))\n ) {\n return;\n }\n\n problemManager.applyCustomSeverity(newProblem);\n if (problemManager.shouldProblemBeIgnored(newProblem.getSeverity())) {\n return;\n }\n\n switch (type) {\n case ADD:\n problemManager.addProblem(newProblem);\n break;\n case REMOVE:\n problemManager.removeProblem(problemToRemove);\n break;\n case CHANGE:\n problemManager.removeProblem(problemToRemove);\n problemManager.addProblem(newProblem);\n break;\n }\n }\n\n private InlineProblem findActiveProblemByRangeHighlighterHashCode(int hashCode) {\n return problemManager.getActiveProblems().stream()\n .filter(p -> p.getRangeHighlighterHashCode() == hashCode)\n .findFirst()\n .orElse(null);\n }\n}\n", "patch": "--- a/src/main/java/org/overengineer/inlineproblems/listeners/MarkupModelProblemListener.java\n+++ b/src/main/java/org/overengineer/inlineproblems/listeners/MarkupModelProblemListener.java\n@@ -88,6 +88,8 @@\n }\n \n private void handleEvent(EventType type, @NotNull RangeHighlighterEx highlighter) {\n+ if (!settingsState.isEnableInlineProblem())\n+ return;\n \n if (settingsState.getEnabledListener() != Listener.MARKUP_MODEL_LISTENER)\n return;\n"}, {"path": "src/main/java/org/overengineer/inlineproblems/settings/SettingsComponent.java", "additions": 24, "deletions": 0, "changeType": "MODIFIED", "base_content": "package org.overengineer.inlineproblems.settings;\n\nimport com.intellij.openapi.ui.ComboBox;\nimport com.intellij.ui.ColorPanel;\nimport com.intellij.ui.components.JBCheckBox;\nimport com.intellij.ui.components.JBLabel;\nimport com.intellij.ui.components.JBTextField;\nimport com.intellij.util.ui.FormBuilder;\nimport lombok.Getter;\nimport org.overengineer.inlineproblems.DocumentMarkupModelScanner;\nimport org.overengineer.inlineproblems.bundles.SettingsBundle;\nimport org.overengineer.inlineproblems.listeners.HighlightProblemListener;\nimport org.overengineer.inlineproblems.listeners.MarkupModelProblemListener;\n\nimport javax.swing.*;\nimport javax.swing.text.NumberFormatter;\nimport java.awt.*;\nimport java.text.NumberFormat;\nimport java.util.Arrays;\nimport java.util.Optional;\nimport java.util.stream.Collectors;\nimport java.util.List;\n\n\npublic class SettingsComponent {\n private final JBCheckBox showErrors = new JBCheckBox(SettingsBundle.message(\"settings.showErrors\"));\n private final JBCheckBox highlightErrors = new JBCheckBox(SettingsBundle.message(\"settings.highlightErrors\"));\n private final JBCheckBox showErrorsInGutter = new JBCheckBox(SettingsBundle.message(\"settings.showErrorsInGutter\"));\n\n private final JBCheckBox showWarnings = new JBCheckBox(SettingsBundle.message(\"settings.showWarnings\"));\n private final JBCheckBox highlightWarnings = new JBCheckBox(SettingsBundle.message(\"settings.highlightWarnings\"));\n private final JBCheckBox showWarningsInGutter = new JBCheckBox(SettingsBundle.message(\"settings.showWarningsInGutter\"));\n\n private final JBCheckBox showWeakWarnings = new JBCheckBox(SettingsBundle.message(\"settings.showWeakWarnings\"));\n private final JBCheckBox highlightWeakWarnings = new JBCheckBox(SettingsBundle.message(\"settings.highlightWeakWarnings\"));\n private final JBCheckBox showWeakWarningsInGutter = new JBCheckBox(SettingsBundle.message(\"settings.showWeakWarningsInGutter\"));\n\n private final JBCheckBox showInfos = new JBCheckBox(SettingsBundle.message(\"settings.showInfos\"));\n private final JBCheckBox highlightInfo = new JBCheckBox(SettingsBundle.message(\"settings.highlightInfos\"));\n private final JBCheckBox showInfosInGutter = new JBCheckBox(SettingsBundle.message(\"settings.showInfosInGutter\"));\n\n private final ColorPanel errorTextColor = new ColorPanel();\n private final ColorPanel errorLabelBackgroundColor = new ColorPanel();\n private final ColorPanel errorHighlightColor = new ColorPanel();\n\n private final ColorPanel warningTextColor = new ColorPanel();\n private final ColorPanel warningLabelBackgroundColor = new ColorPanel();\n private final ColorPanel warningHighlightColor = new ColorPanel();\n\n private final ColorPanel weakWarningTextColor = new ColorPanel();\n private final ColorPanel weakWarningLabelBackgroundColor = new ColorPanel();\n private final ColorPanel weakWarningHighlightColor = new ColorPanel();\n\n private final ColorPanel infoTextColor = new ColorPanel();\n private final ColorPanel infoLabelBackgroundColor = new ColorPanel();\n private final ColorPanel infoHighlightColor = new ColorPanel();\n\n private final JBCheckBox forceErrorsInSameLine = new JBCheckBox(SettingsBundle.message(\"settings.forceProblemsInOneLine\"));\n private final JBCheckBox drawBoxesAroundProblemLabels = new JBCheckBox(SettingsBundle.message(\"settings.drawBoxesAroundProblemLabels\"));\n private final JBCheckBox roundedCornerBoxes = new JBCheckBox(SettingsBundle.message(\"settings.roundedCornerBoxes\"));\n private final JBCheckBox useEditorFont = new JBCheckBox(SettingsBundle.message(\"settings.useEditorFont\"));\n\n private final JBCheckBox showOnlyHighestSeverityPerLine = new JBCheckBox(SettingsBundle.message(\"settings.showOnlyHighestPerLine\"));\n private final JBCheckBox enableHtmlStripping = new JBCheckBox(SettingsBundle.message(\"settings.enableHtmlStripping\"));\n private final JBCheckBox enableXmlUnescaping = new JBCheckBox(SettingsBundle.message(\"settings.enableXmlUnescaping\"));\n private final JFormattedTextField inlayFontSizeDeltaText;\n private final JFormattedTextField manualScannerDelay;\n private final JBCheckBox fillProblemLabels = new JBCheckBox(SettingsBundle.message(\"settings.fillProblemLabels\"));\n private final JBCheckBox boldProblemLabels = new JBCheckBox(SettingsBundle.message(\"settings.boldProblemLabels\"));\n private final JBCheckBox italicProblemLabels = new JBCheckBox(SettingsBundle.message(\"settings.italicProblemLabels\"));\n private final JBCheckBox clickableContext = new JBCheckBox(SettingsBundle.message(\"settings.enableClickableContext\"));\n\n private final JBTextField problemFilterList = new JBTextField();\n private final JBTextField fileExtensionBlacklist = new JBTextField();\n\n private final String[] availableListeners = {HighlightProblemListener.NAME, MarkupModelProblemListener.NAME, DocumentMarkupModelScanner.NAME};\n private final JComboBox<String> enabledListener = new ComboBox<>(availableListeners);\n\n private final JBTextField additionalInfoSeverities = new JBTextField();\n private final JBTextField additionalWarningSeverities = new JBTextField();\n private final JBTextField additionalWeakWarningSeverities = new JBTextField();\n private final JBTextField additionalErrorSeverities = new JBTextField();\n\n @Getter\n private final JPanel settingsPanel;\n\n public SettingsComponent() {\n SettingsState settingsState = SettingsState.getInstance();\n\n showErrors.setSelected(settingsState.isShowErrors());\n highlightErrors.setSelected(settingsState.isHighlightErrors());\n showErrorsInGutter.setSelected(settingsState.isShowErrorsInGutter());\n errorTextColor.setSelectedColor(settingsState.getErrorTextColor());\n errorLabelBackgroundColor.setSelectedColor(settingsState.getErrorBackgroundColor());\n errorHighlightColor.setSelectedColor(settingsState.getErrorHighlightColor());\n\n showWarnings.setSelected(settingsState.isShowWarnings());\n highlightWarnings.setSelected(settingsState.isHighlightWarnings());\n showWarningsInGutter.setSelected(settingsState.isShowWarningsInGutter());\n warningTextColor.setSelectedColor(settingsState.getWarningTextColor());\n warningLabelBackgroundColor.setSelectedColor(settingsState.getWarningBackgroundColor());\n warningHighlightColor.setSelectedColor(settingsState.getWarningHighlightColor());\n\n showWeakWarnings.setSelected(settingsState.isShowWeakWarnings());\n highlightWeakWarnings.setSelected(settingsState.isHighlightWeakWarnings());\n showWeakWarningsInGutter.setSelected(settingsState.isShowWeakWarningsInGutter());\n weakWarningTextColor.setSelectedColor(settingsState.getWeakWarningTextColor());\n weakWarningLabelBackgroundColor.setSelectedColor(settingsState.getWeakWarningBackgroundColor());\n weakWarningHighlightColor.setSelectedColor(settingsState.getWeakWarningHighlightColor());\n\n showInfos.setSelected(settingsState.isShowInfos());\n highlightInfo.setSelected(settingsState.isHighlightInfos());\n showInfosInGutter.setSelected(settingsState.isShowInfosInGutter());\n infoTextColor.setSelectedColor(settingsState.getInfoTextColor());\n infoLabelBackgroundColor.setSelectedColor(settingsState.getInfoBackgroundColor());\n infoHighlightColor.setSelectedColor(settingsState.getInfoHighlightColor());\n\n forceErrorsInSameLine.setSelected(settingsState.isForceProblemsInSameLine());\n drawBoxesAroundProblemLabels.setSelected(settingsState.isDrawBoxesAroundErrorLabels());\n roundedCornerBoxes.setSelected(settingsState.isRoundedCornerBoxes());\n\n useEditorFont.setSelected(settingsState.isUseEditorFont());\n\n NumberFormat intFormat = NumberFormat.getIntegerInstance();\n intFormat.setGroupingUsed(false);\n NumberFormatter numberFormatter = new NumberFormatter(intFormat);\n numberFormatter.setValueClass(Integer.class); // Optional, ensures we always get a int value\n\n inlayFontSizeDeltaText = new JFormattedTextField(numberFormatter);\n inlayFontSizeDeltaText.setText(Integer.toString(settingsState.getInlayFontSizeDelta()));\n\n manualScannerDelay = new JFormattedTextField(numberFormatter);\n manualScannerDelay.setText(Integer.toString(settingsState.getManualScannerDelay()));\n\n fillProblemLabels.setSelected(settingsState.isFillProblemLabels());\n boldProblemLabels.setSelected(settingsState.isBoldProblemLabels());\n italicProblemLabels.setSelected(settingsState.isItalicProblemLabels());\n clickableContext.setSelected(settingsState.isClickableContext());\n\n additionalInfoSeverities.setText(settingsState.getAdditionalInfoSeveritiesAsString());\n additionalWeakWarningSeverities.setText(settingsState.getAdditionalWeakWarningSeveritiesAsString());\n additionalWarningSeverities.setText(settingsState.getAdditionalWarningSeveritiesAsString());\n additionalErrorSeverities.setText(settingsState.getAdditionalErrorSeveritiesAsString());\n\n problemFilterList.setText(settingsState.getProblemFilterList());\n fileExtensionBlacklist.setText(settingsState.getFileExtensionBlacklist());\n enabledListener.setSelectedItem(Optional.of(settingsState.getEnabledListener()));\n\n Dimension enabledListenerDimension = enabledListener.getPreferredSize();\n enabledListenerDimension.width += 100;\n enabledListener.setPreferredSize(enabledListenerDimension);\n\n settingsPanel = FormBuilder.createFormBuilder()\n .addComponent(new JBLabel(SettingsBundle.message(\"settings.submenu.label\")))\n .addComponent(drawBoxesAroundProblemLabels, 0)\n .addComponent(roundedCornerBoxes, 0)\n .addComponent(fillProblemLabels, 0)\n .addComponent(boldProblemLabels, 0)\n .addComponent(italicProblemLabels, 0)\n .addComponent(clickableContext, 0)\n .addSeparator()\n .addComponent(new JBLabel(SettingsBundle.message(\"settings.submenu.general\")))\n .addLabeledComponent(new JBLabel(SettingsBundle.message(\"settings.activeProblemListener\")), enabledListener)\n .addTooltip(SettingsBundle.message(\"settings.markupModelListenerDescription\"))\n .addTooltip(SettingsBundle.message(\"settings.highlightProblemListenerDescription\"))\n .addTooltip(SettingsBundle.message(\"settings.manualScannerDescription\"))\n .addTooltip(SettingsBundle.message(\"settings.manualScannerDescriptionSupplement\"))\n .addLabeledComponent(new JBLabel(SettingsBundle.message(\"settings.manualScannerDelayLabel\")), manualScannerDelay)\n .addTooltip(SettingsBundle.message(\"settings.manualScannerDelayTooltip\"))\n .addComponent(forceErrorsInSameLine, 0)\n .addComponent(useEditorFont, 0)\n .addComponent(showOnlyHighestSeverityPerLine, 0)\n .addComponent(enableHtmlStripping, 0)\n .addComponent(enableXmlUnescaping, 0)\n .addLabeledComponent(new JBLabel(SettingsBundle.message(\"settings.inlaySizeDelta\")), inlayFontSizeDeltaText)\n .addTooltip(SettingsBundle.message(\"settings.inlaySizeDeltaTooltip\"))\n .addLabeledComponent(new JLabel(SettingsBundle.message(\"settings.problemFilterListLabel\")), problemFilterList)\n .addTooltip(SettingsBundle.message(\"settings.problemFilterListTooltip\"))\n .addLabeledComponent(new JLabel(SettingsBundle.message(\"settings.fileExtensionBlacklistLabel\")), fileExtensionBlacklist)\n .addTooltip(SettingsBundle.message(\"settings.fileExtensionBlaclistTooltip\"))\n .addSeparator()\n .addComponent(new JBLabel(SettingsBundle.message(\"settings.submenu.colors\")))\n .addComponent(showErrors)\n .addComponent(highlightErrors)\n .addComponent(showErrorsInGutter)\n .addLabeledComponent(new JLabel(SettingsBundle.message(\"settings.errorTextColor\")), errorTextColor)\n .addLabeledComponent(new JLabel(SettingsBundle.message(\"settings.errorLabelBorderColor\")), errorLabelBackgroundColor)\n .addLabeledComponent(new JLabel(SettingsBundle.message(\"settings.errorLineHighlightColor\")), errorHighlightColor)\n .addLabeledComponent(new JLabel(SettingsBundle.message(\"settings.additionalSeverities\")), additionalErrorSeverities)\n .addTooltip(SettingsBundle.message(\"settings.additionalSeveritiesErrorDesc\"))\n .addSeparator()\n .addComponent(showWarnings)\n .addComponent(highlightWarnings)\n .addComponent(showWarningsInGutter)\n .addLabeledComponent(new JLabel(SettingsBundle.message(\"settings.warningTextColor\")), warningTextColor)\n .addLabeledComponent(new JLabel(SettingsBundle.message(\"settings.warningLabelBorderColor\")), warningLabelBackgroundColor)\n .addLabeledComponent(new JLabel(SettingsBundle.message(\"settings.warningLineHighlightColor\")), warningHighlightColor)\n .addLabeledComponent(new JLabel(SettingsBundle.message(\"settings.additionalSeverities\")), additionalWarningSeverities)\n .addTooltip(SettingsBundle.message(\"settings.additionalSeveritiesWarningDesc\"))\n .addSeparator()\n .addComponent(showWeakWarnings)\n .addComponent(highlightWeakWarnings)\n .addComponent(showWeakWarningsInGutter)\n .addLabeledComponent(new JLabel(SettingsBundle.message(\"settings.weakWarningTextColor\")), weakWarningTextColor)\n .addLabeledComponent(new JLabel(SettingsBundle.message(\"settings.weakWarningLabelBorderColor\")), weakWarningLabelBackgroundColor)\n .addLabeledComponent(new JLabel(SettingsBundle.message(\"settings.weakWarningLineHighlightColor\")), weakWarningHighlightColor)\n .addLabeledComponent(new JLabel(SettingsBundle.message(\"settings.additionalSeverities\")), additionalWeakWarningSeverities)\n .addTooltip(SettingsBundle.message(\"settings.additionalSeveritiesWeakWarningDesc\"))\n .addSeparator()\n .addComponent(showInfos)\n .addComponent(highlightInfo)\n .addComponent(showInfosInGutter)\n .addLabeledComponent(new JLabel(SettingsBundle.message(\"settings.infoTextColor\")), infoTextColor)\n .addLabeledComponent(new JLabel(SettingsBundle.message(\"settings.infoLabelBorderColor\")), infoLabelBackgroundColor)\n .addLabeledComponent(new JLabel(SettingsBundle.message(\"settings.infoLineHighlightColor\")), infoHighlightColor)\n .addLabeledComponent(new JLabel(SettingsBundle.message(\"settings.additionalSeverities\")), additionalInfoSeverities)\n .addTooltip(SettingsBundle.message(\"settings.additionalSeveritiesInfoDesc\"))\n .addComponentFillVertically(new JPanel(), 0)\n .getPanel();\n }\n\n public JComponent getPreferredFocusedComponent() {\n return settingsPanel;\n }\n\n public boolean isForceErrorsInSameLine() {\n return forceErrorsInSameLine.isSelected();\n }\n\n public void setForceErrorsInSameLine(final boolean isSelected) {\n forceErrorsInSameLine.setSelected(isSelected);\n }\n\n public boolean getDrawBoxesAroundProblemLabels() {\n return drawBoxesAroundProblemLabels.isSelected();\n }\n\n public void setDrawBoxesAroundProblemLabels(final boolean isSelected) {\n drawBoxesAroundProblemLabels.setSelected(isSelected);\n }\n\n public boolean isRoundedCornerBoxes() {\n return roundedCornerBoxes.isSelected();\n }\n\n public void setRoundedCornerBoxes(boolean isSelected) {\n roundedCornerBoxes.setSelected(isSelected);\n }\n\n public boolean isUseEditorFont() {\n return useEditorFont.isSelected();\n }\n\n public boolean isShowOnlyHighestSeverityPerLine() {\n return showOnlyHighestSeverityPerLine.isSelected();\n }\n\n public boolean isEnableHtmlStripping() {\n return enableHtmlStripping.isSelected();\n }\n\n public boolean isEnableXmlUnescaping() {\n return enableXmlUnescaping.isSelected();\n }\n\n public int getInlayFontSizeDelta() {\n int val = 0;\n // Convert the String\n try {\n val = Integer.parseInt(inlayFontSizeDeltaText.getText());\n } catch (NumberFormatException ignored) {\n }\n\n if (val < 0)\n val = 0;\n\n return val;\n }\n\n public void setInlayFontSizeDelta(int val) {\n inlayFontSizeDeltaText.setText(String.valueOf(Math.max(0, val)));\n }\n\n public void setUseEditorFont(boolean isSelected) {\n useEditorFont.setSelected(isSelected);\n }\n\n public void setShowOnlyHighestSeverityPerLine(boolean isSelected) {\n showOnlyHighestSeverityPerLine.setSelected(isSelected);\n }\n\n public void setEnableHtmlStripping(boolean isSelected) {\n enableHtmlStripping.setSelected(isSelected);\n }\n\n public void setEnableXmlUnescaping(boolean isSelected) {\n enableXmlUnescaping.setSelected(isSelected);\n }\n\n public boolean isFillProblemLabels() {\n return fillProblemLabels.isSelected();\n }\n\n public void setFillProblemLabels(boolean isSelected) {\n fillProblemLabels.setSelected(isSelected);\n }\n\n public boolean isBoldProblemLabels() {\n return boldProblemLabels.isSelected();\n }\n\n public void setBoldProblemLabels(boolean isSelected) {\n boldProblemLabels.setSelected(isSelected);\n }\n\n public boolean isItalicProblemLabels() {\n return italicProblemLabels.isSelected();\n }\n\n public void setItalicProblemLabels(boolean isSelected) {\n italicProblemLabels.setSelected(isSelected);\n }\n\n public boolean isClickableContext() {\n return clickableContext.isSelected();\n }\n\n public void setClickableContext(boolean isSelected) {\n clickableContext.setSelected(isSelected);\n }\n\n public boolean isShowErrors() {\n return showErrors.isSelected();\n }\n\n public void setShowErrors(final boolean isSelected) {\n showErrors.setSelected(isSelected);\n }\n\n public boolean isHighlightErrors() {\n return highlightErrors.isSelected();\n }\n\n public void setHighlightErrors(boolean isSelected) {\n highlightErrors.setSelected(isSelected);\n }\n\n public boolean isShowErrorsInGutter() {\n return showErrorsInGutter.isSelected();\n }\n\n public void setShowErrorsInGutter(boolean isSelected) {\n showErrorsInGutter.setSelected(isSelected);\n }\n\n public boolean isShowWarnings() {\n return showWarnings.isSelected();\n }\n\n public void setShowWarnings(final boolean isSelected) {\n showWarnings.setSelected(isSelected);\n }\n\n public boolean isHighlightWarnings() {\n return highlightWarnings.isSelected();\n }\n\n public void setHighlightWarnings(final boolean isSelected) {\n highlightWarnings.setSelected(isSelected);\n }\n\n public boolean isShowWarningsInGutter() {\n return showWarningsInGutter.isSelected();\n }\n\n public void setShowWarningsInGutter(final boolean isSelected) {\n showWarningsInGutter.setSelected(isSelected);\n }\n\n public boolean isShowWeakWarnings() {\n return showWeakWarnings.isSelected();\n }\n\n public void setShowWeakWarnings(final boolean isSelected) {\n showWeakWarnings.setSelected(isSelected);\n }\n\n public boolean isHighlightWeakWarnings() {\n return highlightWeakWarnings.isSelected();\n }\n\n public void setHighlightWeakWarnings(final boolean isSelected) {\n highlightWeakWarnings.setSelected(isSelected);\n }\n\n public boolean isShowWeakWarningsInGutter() {\n return showWeakWarningsInGutter.isSelected();\n }\n\n public void setShowWeakWarningsInGutter(boolean isSelected) {\n showWeakWarningsInGutter.setSelected(isSelected);\n }\n\n public boolean isShowInfos() {\n return showInfos.isSelected();\n }\n\n public void setShowInfos(final boolean isSelected) {\n showInfos.setSelected(isSelected);\n }\n\n public boolean isHighlightInfo() {\n return highlightInfo.isSelected();\n }\n\n public void setHighlightInfo(final boolean isSelected) {\n highlightInfo.setSelected(isSelected);\n }\n\n public boolean isShowInfosInGutter() {\n return showInfosInGutter.isSelected();\n }\n\n public void setShowInfosInGutter(boolean isSelected) {\n showInfosInGutter.setSelected(isSelected);\n }\n\n public Color getErrorTextColor() {\n return errorTextColor.getSelectedColor();\n }\n\n public void setErrorTextColor(final Color color) {\n errorTextColor.setSelectedColor(color);\n }\n\n public Color getErrorLabelBackgroundColor() {\n return errorLabelBackgroundColor.getSelectedColor();\n }\n\n public void setErrorLabelBackgroundColor(final Color color) {\n errorLabelBackgroundColor.setSelectedColor(color);\n }\n\n public Color getWarningTextColor() {\n return warningTextColor.getSelectedColor();\n }\n\n public void setWarningTextColor(final Color color) {\n warningTextColor.setSelectedColor(color);\n }\n\n public Color getWarningLabelBackgroundColor() {\n return warningLabelBackgroundColor.getSelectedColor();\n }\n\n public void setWarningLabelBackgroundColor(final Color color) {\n warningLabelBackgroundColor.setSelectedColor(color);\n }\n\n public Color getWeakWarningTextColor() {\n return weakWarningTextColor.getSelectedColor();\n }\n\n public void setWeakWarningTextColor(final Color color) {\n weakWarningTextColor.setSelectedColor(color);\n }\n\n public Color getWeakWarningLabelBackgroundColor() {\n return weakWarningLabelBackgroundColor.getSelectedColor();\n }\n\n public void setWeakWarningLabelBackgroundColor(final Color color) {\n weakWarningLabelBackgroundColor.setSelectedColor(color);\n }\n\n public Color getInfoTextColor() {\n return infoTextColor.getSelectedColor();\n }\n\n public void setInfoTextColor(final Color color) {\n infoTextColor.setSelectedColor(color);\n }\n\n public Color getInfoLabelBackgroundColor() {\n return infoLabelBackgroundColor.getSelectedColor();\n }\n\n public void setInfoLabelBackgroundColor(final Color color) {\n infoLabelBackgroundColor.setSelectedColor(color);\n }\n\n public Color getErrorHighlightColor() {\n return errorHighlightColor.getSelectedColor();\n }\n\n public void setErrorHighlightColor(final Color color) {\n errorHighlightColor.setSelectedColor(color);\n }\n\n public Color getWarningHighlightColor() {\n return warningHighlightColor.getSelectedColor();\n }\n\n public void setWarningHighlightColor(final Color color) {\n warningHighlightColor.setSelectedColor(color);\n }\n\n public Color getWeakWarningHighlightColor() {\n return weakWarningHighlightColor.getSelectedColor();\n }\n\n public void setWeakWarningHighlightColor(final Color color) {\n weakWarningHighlightColor.setSelectedColor(color);\n }\n\n public Color getInfoHighlightColor() {\n return infoHighlightColor.getSelectedColor();\n }\n\n public void setInfoHighlightColor(final Color color) {\n infoHighlightColor.setSelectedColor(color);\n }\n\n public String getProblemFilterList() {\n return problemFilterList.getText();\n }\n\n public void setProblemFilterList(final String newText) {\n problemFilterList.setText(newText);\n }\n\n public String getFileExtensionBlacklist() {\n return fileExtensionBlacklist.getText();\n }\n\n public void setFileExtensionBlacklist(final String newText) {\n fileExtensionBlacklist.setText(newText);\n }\n\n public String getAdditionalInfoSeverities() {\n return additionalInfoSeverities.getText();\n }\n\n public List<Integer> getAdditionalInfoSeveritiesList() {\n return getSeverityIntegerList(additionalInfoSeverities.getText());\n }\n\n public void setAdditionalInfoSeverities(final String newText) {\n additionalInfoSeverities.setText(newText);\n }\n\n public String getAdditionalWarningSeverities() {\n return additionalWarningSeverities.getText();\n }\n\n public List<Integer> getAdditionalWarningSeveritiesList() {\n return getSeverityIntegerList(additionalWarningSeverities.getText());\n }\n\n public void setAdditionalWarningSeverities(final String newText) {\n additionalWarningSeverities.setText(newText);\n }\n\n public String getAdditionalErrorSeverities() {\n return additionalErrorSeverities.getText();\n }\n\n public List<Integer> getAdditionalErrorSeveritiesList() {\n return getSeverityIntegerList(additionalErrorSeverities.getText());\n }\n\n public void setAdditionalErrorSeverities(final String newText) {\n additionalErrorSeverities.setText(newText);\n }\n\n public String getAdditionalWeakWarningSeverities() {\n return additionalWeakWarningSeverities.getText();\n }\n\n public List<Integer> getAdditionalWeakWarningSeveritiesList() {\n return getSeverityIntegerList(additionalWeakWarningSeverities.getText());\n }\n\n public void setAdditionalWeakWarningSeverities(final String newText) {\n additionalWeakWarningSeverities.setText(newText);\n }\n\n public int getEnabledListener() {\n return enabledListener.getSelectedIndex();\n }\n\n public void setEnabledListener(int index) {\n enabledListener.setSelectedIndex(index);\n }\n\n private List<Integer> getSeverityIntegerList(String text) {\n return Arrays.stream(text.split(\";\"))\n .map(String::trim)\n .filter(s -> !s.isEmpty())\n .filter(s -> {\n try {\n Integer.parseInt(s);\n return true;\n } catch (NumberFormatException e) {\n return false;\n }\n })\n .map(Integer::parseInt)\n .collect(Collectors.toList());\n }\n\n public int getManualScannerDelay() {\n try {\n return Math.max(Integer.parseInt(manualScannerDelay.getText()), 10);\n } catch (NumberFormatException e) {\n return 100;\n }\n }\n\n public void setManualScannerDelay(int delay) {\n manualScannerDelay.setText(Integer.toString(Math.max(10, delay)));\n }\n}\n", "head_content": "package org.overengineer.inlineproblems.settings;\n\nimport com.intellij.openapi.ui.ComboBox;\nimport com.intellij.ui.ColorPanel;\nimport com.intellij.ui.components.JBCheckBox;\nimport com.intellij.ui.components.JBLabel;\nimport com.intellij.ui.components.JBTextField;\nimport com.intellij.util.ui.FormBuilder;\nimport lombok.Getter;\nimport org.overengineer.inlineproblems.DocumentMarkupModelScanner;\nimport org.overengineer.inlineproblems.bundles.SettingsBundle;\nimport org.overengineer.inlineproblems.listeners.HighlightProblemListener;\nimport org.overengineer.inlineproblems.listeners.MarkupModelProblemListener;\n\nimport javax.swing.*;\nimport javax.swing.text.NumberFormatter;\nimport java.awt.*;\nimport java.text.NumberFormat;\nimport java.util.Arrays;\nimport java.util.Optional;\nimport java.util.stream.Collectors;\nimport java.util.List;\n\n\npublic class SettingsComponent {\n private final JBCheckBox showErrors = new JBCheckBox(SettingsBundle.message(\"settings.showErrors\"));\n private final JBCheckBox highlightErrors = new JBCheckBox(SettingsBundle.message(\"settings.highlightErrors\"));\n private final JBCheckBox showErrorsInGutter = new JBCheckBox(SettingsBundle.message(\"settings.showErrorsInGutter\"));\n\n private final JBCheckBox showWarnings = new JBCheckBox(SettingsBundle.message(\"settings.showWarnings\"));\n private final JBCheckBox highlightWarnings = new JBCheckBox(SettingsBundle.message(\"settings.highlightWarnings\"));\n private final JBCheckBox showWarningsInGutter = new JBCheckBox(SettingsBundle.message(\"settings.showWarningsInGutter\"));\n\n private final JBCheckBox showWeakWarnings = new JBCheckBox(SettingsBundle.message(\"settings.showWeakWarnings\"));\n private final JBCheckBox highlightWeakWarnings = new JBCheckBox(SettingsBundle.message(\"settings.highlightWeakWarnings\"));\n private final JBCheckBox showWeakWarningsInGutter = new JBCheckBox(SettingsBundle.message(\"settings.showWeakWarningsInGutter\"));\n\n private final JBCheckBox showInfos = new JBCheckBox(SettingsBundle.message(\"settings.showInfos\"));\n private final JBCheckBox highlightInfo = new JBCheckBox(SettingsBundle.message(\"settings.highlightInfos\"));\n private final JBCheckBox showInfosInGutter = new JBCheckBox(SettingsBundle.message(\"settings.showInfosInGutter\"));\n\n private final ColorPanel errorTextColor = new ColorPanel();\n private final ColorPanel errorLabelBackgroundColor = new ColorPanel();\n private final ColorPanel errorHighlightColor = new ColorPanel();\n\n private final ColorPanel warningTextColor = new ColorPanel();\n private final ColorPanel warningLabelBackgroundColor = new ColorPanel();\n private final ColorPanel warningHighlightColor = new ColorPanel();\n\n private final ColorPanel weakWarningTextColor = new ColorPanel();\n private final ColorPanel weakWarningLabelBackgroundColor = new ColorPanel();\n private final ColorPanel weakWarningHighlightColor = new ColorPanel();\n\n private final ColorPanel infoTextColor = new ColorPanel();\n private final ColorPanel infoLabelBackgroundColor = new ColorPanel();\n private final ColorPanel infoHighlightColor = new ColorPanel();\n\n private final JBCheckBox enableInlineProblem = new JBCheckBox(SettingsBundle.message(\"settings.enableInlineProblem\"));\n private final JBCheckBox enableInlineProblemsNotifications = new JBCheckBox(SettingsBundle.message(\"settings.enableInlineProblemsNotifications\"));\n\n private final JBCheckBox forceErrorsInSameLine = new JBCheckBox(SettingsBundle.message(\"settings.forceProblemsInOneLine\"));\n private final JBCheckBox drawBoxesAroundProblemLabels = new JBCheckBox(SettingsBundle.message(\"settings.drawBoxesAroundProblemLabels\"));\n private final JBCheckBox roundedCornerBoxes = new JBCheckBox(SettingsBundle.message(\"settings.roundedCornerBoxes\"));\n private final JBCheckBox useEditorFont = new JBCheckBox(SettingsBundle.message(\"settings.useEditorFont\"));\n\n private final JBCheckBox showOnlyHighestSeverityPerLine = new JBCheckBox(SettingsBundle.message(\"settings.showOnlyHighestPerLine\"));\n private final JBCheckBox enableHtmlStripping = new JBCheckBox(SettingsBundle.message(\"settings.enableHtmlStripping\"));\n private final JBCheckBox enableXmlUnescaping = new JBCheckBox(SettingsBundle.message(\"settings.enableXmlUnescaping\"));\n private final JFormattedTextField inlayFontSizeDeltaText;\n private final JFormattedTextField manualScannerDelay;\n private final JBCheckBox fillProblemLabels = new JBCheckBox(SettingsBundle.message(\"settings.fillProblemLabels\"));\n private final JBCheckBox boldProblemLabels = new JBCheckBox(SettingsBundle.message(\"settings.boldProblemLabels\"));\n private final JBCheckBox italicProblemLabels = new JBCheckBox(SettingsBundle.message(\"settings.italicProblemLabels\"));\n private final JBCheckBox clickableContext = new JBCheckBox(SettingsBundle.message(\"settings.enableClickableContext\"));\n\n private final JBTextField problemFilterList = new JBTextField();\n private final JBTextField fileExtensionBlacklist = new JBTextField();\n\n private final String[] availableListeners = {HighlightProblemListener.NAME, MarkupModelProblemListener.NAME, DocumentMarkupModelScanner.NAME};\n private final JComboBox<String> enabledListener = new ComboBox<>(availableListeners);\n\n private final JBTextField additionalInfoSeverities = new JBTextField();\n private final JBTextField additionalWarningSeverities = new JBTextField();\n private final JBTextField additionalWeakWarningSeverities = new JBTextField();\n private final JBTextField additionalErrorSeverities = new JBTextField();\n\n @Getter\n private final JPanel settingsPanel;\n\n public SettingsComponent() {\n SettingsState settingsState = SettingsState.getInstance();\n\n showErrors.setSelected(settingsState.isShowErrors());\n highlightErrors.setSelected(settingsState.isHighlightErrors());\n showErrorsInGutter.setSelected(settingsState.isShowErrorsInGutter());\n errorTextColor.setSelectedColor(settingsState.getErrorTextColor());\n errorLabelBackgroundColor.setSelectedColor(settingsState.getErrorBackgroundColor());\n errorHighlightColor.setSelectedColor(settingsState.getErrorHighlightColor());\n\n showWarnings.setSelected(settingsState.isShowWarnings());\n highlightWarnings.setSelected(settingsState.isHighlightWarnings());\n showWarningsInGutter.setSelected(settingsState.isShowWarningsInGutter());\n warningTextColor.setSelectedColor(settingsState.getWarningTextColor());\n warningLabelBackgroundColor.setSelectedColor(settingsState.getWarningBackgroundColor());\n warningHighlightColor.setSelectedColor(settingsState.getWarningHighlightColor());\n\n showWeakWarnings.setSelected(settingsState.isShowWeakWarnings());\n highlightWeakWarnings.setSelected(settingsState.isHighlightWeakWarnings());\n showWeakWarningsInGutter.setSelected(settingsState.isShowWeakWarningsInGutter());\n weakWarningTextColor.setSelectedColor(settingsState.getWeakWarningTextColor());\n weakWarningLabelBackgroundColor.setSelectedColor(settingsState.getWeakWarningBackgroundColor());\n weakWarningHighlightColor.setSelectedColor(settingsState.getWeakWarningHighlightColor());\n\n showInfos.setSelected(settingsState.isShowInfos());\n highlightInfo.setSelected(settingsState.isHighlightInfos());\n showInfosInGutter.setSelected(settingsState.isShowInfosInGutter());\n infoTextColor.setSelectedColor(settingsState.getInfoTextColor());\n infoLabelBackgroundColor.setSelectedColor(settingsState.getInfoBackgroundColor());\n infoHighlightColor.setSelectedColor(settingsState.getInfoHighlightColor());\n\n enableInlineProblem.setSelected(settingsState.isEnableInlineProblem());\n enableInlineProblemsNotifications.setSelected(settingsState.isEnableInlineProblemsNotifications());\n\n forceErrorsInSameLine.setSelected(settingsState.isForceProblemsInSameLine());\n drawBoxesAroundProblemLabels.setSelected(settingsState.isDrawBoxesAroundErrorLabels());\n roundedCornerBoxes.setSelected(settingsState.isRoundedCornerBoxes());\n\n useEditorFont.setSelected(settingsState.isUseEditorFont());\n\n NumberFormat intFormat = NumberFormat.getIntegerInstance();\n intFormat.setGroupingUsed(false);\n NumberFormatter numberFormatter = new NumberFormatter(intFormat);\n numberFormatter.setValueClass(Integer.class); // Optional, ensures we always get a int value\n\n inlayFontSizeDeltaText = new JFormattedTextField(numberFormatter);\n inlayFontSizeDeltaText.setText(Integer.toString(settingsState.getInlayFontSizeDelta()));\n\n manualScannerDelay = new JFormattedTextField(numberFormatter);\n manualScannerDelay.setText(Integer.toString(settingsState.getManualScannerDelay()));\n\n fillProblemLabels.setSelected(settingsState.isFillProblemLabels());\n boldProblemLabels.setSelected(settingsState.isBoldProblemLabels());\n italicProblemLabels.setSelected(settingsState.isItalicProblemLabels());\n clickableContext.setSelected(settingsState.isClickableContext());\n\n additionalInfoSeverities.setText(settingsState.getAdditionalInfoSeveritiesAsString());\n additionalWeakWarningSeverities.setText(settingsState.getAdditionalWeakWarningSeveritiesAsString());\n additionalWarningSeverities.setText(settingsState.getAdditionalWarningSeveritiesAsString());\n additionalErrorSeverities.setText(settingsState.getAdditionalErrorSeveritiesAsString());\n\n problemFilterList.setText(settingsState.getProblemFilterList());\n fileExtensionBlacklist.setText(settingsState.getFileExtensionBlacklist());\n enabledListener.setSelectedItem(Optional.of(settingsState.getEnabledListener()));\n\n Dimension enabledListenerDimension = enabledListener.getPreferredSize();\n enabledListenerDimension.width += 100;\n enabledListener.setPreferredSize(enabledListenerDimension);\n\n settingsPanel = FormBuilder.createFormBuilder()\n .addComponent(new JBLabel(SettingsBundle.message(\"settings.submenu.label\")))\n .addComponent(enableInlineProblem, 0)\n .addComponent(enableInlineProblemsNotifications, 0)\n .addComponent(drawBoxesAroundProblemLabels, 0)\n .addComponent(roundedCornerBoxes, 0)\n .addComponent(fillProblemLabels, 0)\n .addComponent(boldProblemLabels, 0)\n .addComponent(italicProblemLabels, 0)\n .addComponent(clickableContext, 0)\n .addSeparator()\n .addComponent(new JBLabel(SettingsBundle.message(\"settings.submenu.general\")))\n .addLabeledComponent(new JBLabel(SettingsBundle.message(\"settings.activeProblemListener\")), enabledListener)\n .addTooltip(SettingsBundle.message(\"settings.markupModelListenerDescription\"))\n .addTooltip(SettingsBundle.message(\"settings.highlightProblemListenerDescription\"))\n .addTooltip(SettingsBundle.message(\"settings.manualScannerDescription\"))\n .addTooltip(SettingsBundle.message(\"settings.manualScannerDescriptionSupplement\"))\n .addLabeledComponent(new JBLabel(SettingsBundle.message(\"settings.manualScannerDelayLabel\")), manualScannerDelay)\n .addTooltip(SettingsBundle.message(\"settings.manualScannerDelayTooltip\"))\n .addComponent(forceErrorsInSameLine, 0)\n .addComponent(useEditorFont, 0)\n .addComponent(showOnlyHighestSeverityPerLine, 0)\n .addComponent(enableHtmlStripping, 0)\n .addComponent(enableXmlUnescaping, 0)\n .addLabeledComponent(new JBLabel(SettingsBundle.message(\"settings.inlaySizeDelta\")), inlayFontSizeDeltaText)\n .addTooltip(SettingsBundle.message(\"settings.inlaySizeDeltaTooltip\"))\n .addLabeledComponent(new JLabel(SettingsBundle.message(\"settings.problemFilterListLabel\")), problemFilterList)\n .addTooltip(SettingsBundle.message(\"settings.problemFilterListTooltip\"))\n .addLabeledComponent(new JLabel(SettingsBundle.message(\"settings.fileExtensionBlacklistLabel\")), fileExtensionBlacklist)\n .addTooltip(SettingsBundle.message(\"settings.fileExtensionBlaclistTooltip\"))\n .addSeparator()\n .addComponent(new JBLabel(SettingsBundle.message(\"settings.submenu.colors\")))\n .addComponent(showErrors)\n .addComponent(highlightErrors)\n .addComponent(showErrorsInGutter)\n .addLabeledComponent(new JLabel(SettingsBundle.message(\"settings.errorTextColor\")), errorTextColor)\n .addLabeledComponent(new JLabel(SettingsBundle.message(\"settings.errorLabelBorderColor\")), errorLabelBackgroundColor)\n .addLabeledComponent(new JLabel(SettingsBundle.message(\"settings.errorLineHighlightColor\")), errorHighlightColor)\n .addLabeledComponent(new JLabel(SettingsBundle.message(\"settings.additionalSeverities\")), additionalErrorSeverities)\n .addTooltip(SettingsBundle.message(\"settings.additionalSeveritiesErrorDesc\"))\n .addSeparator()\n .addComponent(showWarnings)\n .addComponent(highlightWarnings)\n .addComponent(showWarningsInGutter)\n .addLabeledComponent(new JLabel(SettingsBundle.message(\"settings.warningTextColor\")), warningTextColor)\n .addLabeledComponent(new JLabel(SettingsBundle.message(\"settings.warningLabelBorderColor\")), warningLabelBackgroundColor)\n .addLabeledComponent(new JLabel(SettingsBundle.message(\"settings.warningLineHighlightColor\")), warningHighlightColor)\n .addLabeledComponent(new JLabel(SettingsBundle.message(\"settings.additionalSeverities\")), additionalWarningSeverities)\n .addTooltip(SettingsBundle.message(\"settings.additionalSeveritiesWarningDesc\"))\n .addSeparator()\n .addComponent(showWeakWarnings)\n .addComponent(highlightWeakWarnings)\n .addComponent(showWeakWarningsInGutter)\n .addLabeledComponent(new JLabel(SettingsBundle.message(\"settings.weakWarningTextColor\")), weakWarningTextColor)\n .addLabeledComponent(new JLabel(SettingsBundle.message(\"settings.weakWarningLabelBorderColor\")), weakWarningLabelBackgroundColor)\n .addLabeledComponent(new JLabel(SettingsBundle.message(\"settings.weakWarningLineHighlightColor\")), weakWarningHighlightColor)\n .addLabeledComponent(new JLabel(SettingsBundle.message(\"settings.additionalSeverities\")), additionalWeakWarningSeverities)\n .addTooltip(SettingsBundle.message(\"settings.additionalSeveritiesWeakWarningDesc\"))\n .addSeparator()\n .addComponent(showInfos)\n .addComponent(highlightInfo)\n .addComponent(showInfosInGutter)\n .addLabeledComponent(new JLabel(SettingsBundle.message(\"settings.infoTextColor\")), infoTextColor)\n .addLabeledComponent(new JLabel(SettingsBundle.message(\"settings.infoLabelBorderColor\")), infoLabelBackgroundColor)\n .addLabeledComponent(new JLabel(SettingsBundle.message(\"settings.infoLineHighlightColor\")), infoHighlightColor)\n .addLabeledComponent(new JLabel(SettingsBundle.message(\"settings.additionalSeverities\")), additionalInfoSeverities)\n .addTooltip(SettingsBundle.message(\"settings.additionalSeveritiesInfoDesc\"))\n .addComponentFillVertically(new JPanel(), 0)\n .getPanel();\n }\n\n public JComponent getPreferredFocusedComponent() {\n return settingsPanel;\n }\n\n public boolean isForceErrorsInSameLine() {\n return forceErrorsInSameLine.isSelected();\n }\n\n public void setForceErrorsInSameLine(final boolean isSelected) {\n forceErrorsInSameLine.setSelected(isSelected);\n }\n\n public boolean isEnableInlineProblem() {\n return enableInlineProblem.isSelected();\n }\n\n public void setEnableInlineProblem(final boolean isSelected) {\n enableInlineProblem.setSelected(isSelected);\n }\n\n public boolean isEnableInlineProblemsNotifications() {\n return enableInlineProblemsNotifications.isSelected();\n }\n\n public void setEnableInlineProblemsNotifications(final boolean isSelected) {\n enableInlineProblemsNotifications.setSelected(isSelected);\n }\n\n public boolean getDrawBoxesAroundProblemLabels() {\n return drawBoxesAroundProblemLabels.isSelected();\n }\n\n public void setDrawBoxesAroundProblemLabels(final boolean isSelected) {\n drawBoxesAroundProblemLabels.setSelected(isSelected);\n }\n\n public boolean isRoundedCornerBoxes() {\n return roundedCornerBoxes.isSelected();\n }\n\n public void setRoundedCornerBoxes(boolean isSelected) {\n roundedCornerBoxes.setSelected(isSelected);\n }\n\n public boolean isUseEditorFont() {\n return useEditorFont.isSelected();\n }\n\n public boolean isShowOnlyHighestSeverityPerLine() {\n return showOnlyHighestSeverityPerLine.isSelected();\n }\n\n public boolean isEnableHtmlStripping() {\n return enableHtmlStripping.isSelected();\n }\n\n public boolean isEnableXmlUnescaping() {\n return enableXmlUnescaping.isSelected();\n }\n\n public int getInlayFontSizeDelta() {\n int val = 0;\n // Convert the String\n try {\n val = Integer.parseInt(inlayFontSizeDeltaText.getText());\n } catch (NumberFormatException ignored) {\n }\n\n if (val < 0)\n val = 0;\n\n return val;\n }\n\n public void setInlayFontSizeDelta(int val) {\n inlayFontSizeDeltaText.setText(String.valueOf(Math.max(0, val)));\n }\n\n public void setUseEditorFont(boolean isSelected) {\n useEditorFont.setSelected(isSelected);\n }\n\n public void setShowOnlyHighestSeverityPerLine(boolean isSelected) {\n showOnlyHighestSeverityPerLine.setSelected(isSelected);\n }\n\n public void setEnableHtmlStripping(boolean isSelected) {\n enableHtmlStripping.setSelected(isSelected);\n }\n\n public void setEnableXmlUnescaping(boolean isSelected) {\n enableXmlUnescaping.setSelected(isSelected);\n }\n\n public boolean isFillProblemLabels() {\n return fillProblemLabels.isSelected();\n }\n\n public void setFillProblemLabels(boolean isSelected) {\n fillProblemLabels.setSelected(isSelected);\n }\n\n public boolean isBoldProblemLabels() {\n return boldProblemLabels.isSelected();\n }\n\n public void setBoldProblemLabels(boolean isSelected) {\n boldProblemLabels.setSelected(isSelected);\n }\n\n public boolean isItalicProblemLabels() {\n return italicProblemLabels.isSelected();\n }\n\n public void setItalicProblemLabels(boolean isSelected) {\n italicProblemLabels.setSelected(isSelected);\n }\n\n public boolean isClickableContext() {\n return clickableContext.isSelected();\n }\n\n public void setClickableContext(boolean isSelected) {\n clickableContext.setSelected(isSelected);\n }\n\n public boolean isShowErrors() {\n return showErrors.isSelected();\n }\n\n public void setShowErrors(final boolean isSelected) {\n showErrors.setSelected(isSelected);\n }\n\n public boolean isHighlightErrors() {\n return highlightErrors.isSelected();\n }\n\n public void setHighlightErrors(boolean isSelected) {\n highlightErrors.setSelected(isSelected);\n }\n\n public boolean isShowErrorsInGutter() {\n return showErrorsInGutter.isSelected();\n }\n\n public void setShowErrorsInGutter(boolean isSelected) {\n showErrorsInGutter.setSelected(isSelected);\n }\n\n public boolean isShowWarnings() {\n return showWarnings.isSelected();\n }\n\n public void setShowWarnings(final boolean isSelected) {\n showWarnings.setSelected(isSelected);\n }\n\n public boolean isHighlightWarnings() {\n return highlightWarnings.isSelected();\n }\n\n public void setHighlightWarnings(final boolean isSelected) {\n highlightWarnings.setSelected(isSelected);\n }\n\n public boolean isShowWarningsInGutter() {\n return showWarningsInGutter.isSelected();\n }\n\n public void setShowWarningsInGutter(final boolean isSelected) {\n showWarningsInGutter.setSelected(isSelected);\n }\n\n public boolean isShowWeakWarnings() {\n return showWeakWarnings.isSelected();\n }\n\n public void setShowWeakWarnings(final boolean isSelected) {\n showWeakWarnings.setSelected(isSelected);\n }\n\n public boolean isHighlightWeakWarnings() {\n return highlightWeakWarnings.isSelected();\n }\n\n public void setHighlightWeakWarnings(final boolean isSelected) {\n highlightWeakWarnings.setSelected(isSelected);\n }\n\n public boolean isShowWeakWarningsInGutter() {\n return showWeakWarningsInGutter.isSelected();\n }\n\n public void setShowWeakWarningsInGutter(boolean isSelected) {\n showWeakWarningsInGutter.setSelected(isSelected);\n }\n\n public boolean isShowInfos() {\n return showInfos.isSelected();\n }\n\n public void setShowInfos(final boolean isSelected) {\n showInfos.setSelected(isSelected);\n }\n\n public boolean isHighlightInfo() {\n return highlightInfo.isSelected();\n }\n\n public void setHighlightInfo(final boolean isSelected) {\n highlightInfo.setSelected(isSelected);\n }\n\n public boolean isShowInfosInGutter() {\n return showInfosInGutter.isSelected();\n }\n\n public void setShowInfosInGutter(boolean isSelected) {\n showInfosInGutter.setSelected(isSelected);\n }\n\n public Color getErrorTextColor() {\n return errorTextColor.getSelectedColor();\n }\n\n public void setErrorTextColor(final Color color) {\n errorTextColor.setSelectedColor(color);\n }\n\n public Color getErrorLabelBackgroundColor() {\n return errorLabelBackgroundColor.getSelectedColor();\n }\n\n public void setErrorLabelBackgroundColor(final Color color) {\n errorLabelBackgroundColor.setSelectedColor(color);\n }\n\n public Color getWarningTextColor() {\n return warningTextColor.getSelectedColor();\n }\n\n public void setWarningTextColor(final Color color) {\n warningTextColor.setSelectedColor(color);\n }\n\n public Color getWarningLabelBackgroundColor() {\n return warningLabelBackgroundColor.getSelectedColor();\n }\n\n public void setWarningLabelBackgroundColor(final Color color) {\n warningLabelBackgroundColor.setSelectedColor(color);\n }\n\n public Color getWeakWarningTextColor() {\n return weakWarningTextColor.getSelectedColor();\n }\n\n public void setWeakWarningTextColor(final Color color) {\n weakWarningTextColor.setSelectedColor(color);\n }\n\n public Color getWeakWarningLabelBackgroundColor() {\n return weakWarningLabelBackgroundColor.getSelectedColor();\n }\n\n public void setWeakWarningLabelBackgroundColor(final Color color) {\n weakWarningLabelBackgroundColor.setSelectedColor(color);\n }\n\n public Color getInfoTextColor() {\n return infoTextColor.getSelectedColor();\n }\n\n public void setInfoTextColor(final Color color) {\n infoTextColor.setSelectedColor(color);\n }\n\n public Color getInfoLabelBackgroundColor() {\n return infoLabelBackgroundColor.getSelectedColor();\n }\n\n public void setInfoLabelBackgroundColor(final Color color) {\n infoLabelBackgroundColor.setSelectedColor(color);\n }\n\n public Color getErrorHighlightColor() {\n return errorHighlightColor.getSelectedColor();\n }\n\n public void setErrorHighlightColor(final Color color) {\n errorHighlightColor.setSelectedColor(color);\n }\n\n public Color getWarningHighlightColor() {\n return warningHighlightColor.getSelectedColor();\n }\n\n public void setWarningHighlightColor(final Color color) {\n warningHighlightColor.setSelectedColor(color);\n }\n\n public Color getWeakWarningHighlightColor() {\n return weakWarningHighlightColor.getSelectedColor();\n }\n\n public void setWeakWarningHighlightColor(final Color color) {\n weakWarningHighlightColor.setSelectedColor(color);\n }\n\n public Color getInfoHighlightColor() {\n return infoHighlightColor.getSelectedColor();\n }\n\n public void setInfoHighlightColor(final Color color) {\n infoHighlightColor.setSelectedColor(color);\n }\n\n public String getProblemFilterList() {\n return problemFilterList.getText();\n }\n\n public void setProblemFilterList(final String newText) {\n problemFilterList.setText(newText);\n }\n\n public String getFileExtensionBlacklist() {\n return fileExtensionBlacklist.getText();\n }\n\n public void setFileExtensionBlacklist(final String newText) {\n fileExtensionBlacklist.setText(newText);\n }\n\n public String getAdditionalInfoSeverities() {\n return additionalInfoSeverities.getText();\n }\n\n public List<Integer> getAdditionalInfoSeveritiesList() {\n return getSeverityIntegerList(additionalInfoSeverities.getText());\n }\n\n public void setAdditionalInfoSeverities(final String newText) {\n additionalInfoSeverities.setText(newText);\n }\n\n public String getAdditionalWarningSeverities() {\n return additionalWarningSeverities.getText();\n }\n\n public List<Integer> getAdditionalWarningSeveritiesList() {\n return getSeverityIntegerList(additionalWarningSeverities.getText());\n }\n\n public void setAdditionalWarningSeverities(final String newText) {\n additionalWarningSeverities.setText(newText);\n }\n\n public String getAdditionalErrorSeverities() {\n return additionalErrorSeverities.getText();\n }\n\n public List<Integer> getAdditionalErrorSeveritiesList() {\n return getSeverityIntegerList(additionalErrorSeverities.getText());\n }\n\n public void setAdditionalErrorSeverities(final String newText) {\n additionalErrorSeverities.setText(newText);\n }\n\n public String getAdditionalWeakWarningSeverities() {\n return additionalWeakWarningSeverities.getText();\n }\n\n public List<Integer> getAdditionalWeakWarningSeveritiesList() {\n return getSeverityIntegerList(additionalWeakWarningSeverities.getText());\n }\n\n public void setAdditionalWeakWarningSeverities(final String newText) {\n additionalWeakWarningSeverities.setText(newText);\n }\n\n public int getEnabledListener() {\n return enabledListener.getSelectedIndex();\n }\n\n public void setEnabledListener(int index) {\n enabledListener.setSelectedIndex(index);\n }\n\n private List<Integer> getSeverityIntegerList(String text) {\n return Arrays.stream(text.split(\";\"))\n .map(String::trim)\n .filter(s -> !s.isEmpty())\n .filter(s -> {\n try {\n Integer.parseInt(s);\n return true;\n } catch (NumberFormatException e) {\n return false;\n }\n })\n .map(Integer::parseInt)\n .collect(Collectors.toList());\n }\n\n public int getManualScannerDelay() {\n try {\n return Math.max(Integer.parseInt(manualScannerDelay.getText()), 10);\n } catch (NumberFormatException e) {\n return 100;\n }\n }\n\n public void setManualScannerDelay(int delay) {\n manualScannerDelay.setText(Integer.toString(Math.max(10, delay)));\n }\n}\n", "patch": "--- a/src/main/java/org/overengineer/inlineproblems/settings/SettingsComponent.java\n+++ b/src/main/java/org/overengineer/inlineproblems/settings/SettingsComponent.java\n@@ -55,6 +55,9 @@\n private final ColorPanel infoLabelBackgroundColor = new ColorPanel();\n private final ColorPanel infoHighlightColor = new ColorPanel();\n \n+ private final JBCheckBox enableInlineProblem = new JBCheckBox(SettingsBundle.message(\"settings.enableInlineProblem\"));\n+ private final JBCheckBox enableInlineProblemsNotifications = new JBCheckBox(SettingsBundle.message(\"settings.enableInlineProblemsNotifications\"));\n+\n private final JBCheckBox forceErrorsInSameLine = new JBCheckBox(SettingsBundle.message(\"settings.forceProblemsInOneLine\"));\n private final JBCheckBox drawBoxesAroundProblemLabels = new JBCheckBox(SettingsBundle.message(\"settings.drawBoxesAroundProblemLabels\"));\n private final JBCheckBox roundedCornerBoxes = new JBCheckBox(SettingsBundle.message(\"settings.roundedCornerBoxes\"));\n@@ -115,6 +118,9 @@\n infoLabelBackgroundColor.setSelectedColor(settingsState.getInfoBackgroundColor());\n infoHighlightColor.setSelectedColor(settingsState.getInfoHighlightColor());\n \n+ enableInlineProblem.setSelected(settingsState.isEnableInlineProblem());\n+ enableInlineProblemsNotifications.setSelected(settingsState.isEnableInlineProblemsNotifications());\n+\n forceErrorsInSameLine.setSelected(settingsState.isForceProblemsInSameLine());\n drawBoxesAroundProblemLabels.setSelected(settingsState.isDrawBoxesAroundErrorLabels());\n roundedCornerBoxes.setSelected(settingsState.isRoundedCornerBoxes());\n@@ -152,6 +158,8 @@\n \n settingsPanel = FormBuilder.createFormBuilder()\n .addComponent(new JBLabel(SettingsBundle.message(\"settings.submenu.label\")))\n+ .addComponent(enableInlineProblem, 0)\n+ .addComponent(enableInlineProblemsNotifications, 0)\n .addComponent(drawBoxesAroundProblemLabels, 0)\n .addComponent(roundedCornerBoxes, 0)\n .addComponent(fillProblemLabels, 0)\n@@ -231,6 +239,22 @@\n forceErrorsInSameLine.setSelected(isSelected);\n }\n \n+ public boolean isEnableInlineProblem() {\n+ return enableInlineProblem.isSelected();\n+ }\n+\n+ public void setEnableInlineProblem(final boolean isSelected) {\n+ enableInlineProblem.setSelected(isSelected);\n+ }\n+\n+ public boolean isEnableInlineProblemsNotifications() {\n+ return enableInlineProblemsNotifications.isSelected();\n+ }\n+\n+ public void setEnableInlineProblemsNotifications(final boolean isSelected) {\n+ enableInlineProblemsNotifications.setSelected(isSelected);\n+ }\n+\n public boolean getDrawBoxesAroundProblemLabels() {\n return drawBoxesAroundProblemLabels.isSelected();\n }\n"}, {"path": "src/main/java/org/overengineer/inlineproblems/settings/SettingsConfigurable.java", "additions": 9, "deletions": 1, "changeType": "MODIFIED", "base_content": "package org.overengineer.inlineproblems.settings;\n\nimport com.intellij.openapi.options.Configurable;\nimport com.intellij.openapi.util.NlsContexts;\nimport org.jetbrains.annotations.Nullable;\nimport org.overengineer.inlineproblems.DocumentMarkupModelScanner;\nimport org.overengineer.inlineproblems.ListenerManager;\nimport org.overengineer.inlineproblems.entities.enums.Listener;\n\nimport javax.swing.*;\nimport java.util.Objects;\n\n\npublic class SettingsConfigurable implements Configurable {\n\n private SettingsComponent settingsComponent;\n\n private final ListenerManager listenerManager = ListenerManager.getInstance();\n\n SettingsConfigurable() {}\n\n @Override\n @NlsContexts.ConfigurableName\n public String getDisplayName() {\n return \"InlineProblems\";\n }\n\n @Override\n public JComponent getPreferredFocusedComponent() {\n return settingsComponent.getPreferredFocusedComponent();\n }\n\n @Override\n @Nullable\n public JComponent createComponent() {\n settingsComponent = new SettingsComponent();\n return settingsComponent.getSettingsPanel();\n }\n\n @Override\n public boolean isModified() {\n SettingsState state = SettingsState.getInstance();\n\n boolean oldStateEqualsNewState = state.isForceProblemsInSameLine() == settingsComponent.isForceErrorsInSameLine() &&\n state.isDrawBoxesAroundErrorLabels() == settingsComponent.getDrawBoxesAroundProblemLabels() &&\n state.isRoundedCornerBoxes() == settingsComponent.isRoundedCornerBoxes() &&\n state.isUseEditorFont() == settingsComponent.isUseEditorFont() &&\n state.isShowOnlyHighestSeverityPerLine() == settingsComponent.isShowOnlyHighestSeverityPerLine() &&\n state.isEnableHtmlStripping() == settingsComponent.isEnableHtmlStripping() &&\n state.isEnableXmlUnescaping() == settingsComponent.isEnableXmlUnescaping() &&\n state.getInlayFontSizeDelta() == settingsComponent.getInlayFontSizeDelta() &&\n state.isFillProblemLabels() == settingsComponent.isFillProblemLabels() &&\n state.isBoldProblemLabels() == settingsComponent.isBoldProblemLabels() &&\n state.isItalicProblemLabels() == settingsComponent.isItalicProblemLabels() &&\n state.isClickableContext() == settingsComponent.isClickableContext() &&\n\n state.getErrorTextColor().equals(settingsComponent.getErrorTextColor()) &&\n state.getErrorBackgroundColor().equals(settingsComponent.getErrorLabelBackgroundColor()) &&\n state.getErrorHighlightColor().equals(settingsComponent.getErrorHighlightColor()) &&\n state.isShowErrors() == settingsComponent.isShowErrors() &&\n state.isHighlightErrors() == settingsComponent.isHighlightErrors() &&\n state.isShowErrorsInGutter() == settingsComponent.isShowErrorsInGutter() &&\n\n state.getWarningTextColor().equals(settingsComponent.getWarningTextColor()) &&\n state.getWarningBackgroundColor().equals(settingsComponent.getWarningLabelBackgroundColor()) &&\n state.getWarningHighlightColor().equals(settingsComponent.getWarningHighlightColor()) &&\n state.isShowWarnings() == settingsComponent.isShowWarnings() &&\n state.isHighlightWarnings() == settingsComponent.isHighlightWarnings() &&\n state.isShowWarningsInGutter() == settingsComponent.isShowWarningsInGutter() &&\n\n state.getWeakWarningTextColor().equals(settingsComponent.getWeakWarningTextColor()) &&\n state.getWeakWarningBackgroundColor().equals(settingsComponent.getWeakWarningLabelBackgroundColor()) &&\n state.getWeakWarningHighlightColor().equals(settingsComponent.getWeakWarningHighlightColor()) &&\n state.isShowWeakWarnings() == settingsComponent.isShowWeakWarnings() &&\n state.isHighlightWeakWarnings() == settingsComponent.isHighlightWeakWarnings() &&\n state.isShowWeakWarningsInGutter() == settingsComponent.isShowWeakWarningsInGutter() &&\n\n state.getInfoTextColor().equals(settingsComponent.getInfoTextColor()) &&\n state.getInfoBackgroundColor().equals(settingsComponent.getInfoLabelBackgroundColor()) &&\n state.getInfoHighlightColor().equals(settingsComponent.getInfoHighlightColor()) &&\n state.isShowInfos() == settingsComponent.isShowInfos() &&\n state.isHighlightInfos() == settingsComponent.isHighlightInfo() &&\n state.isShowInfosInGutter() == settingsComponent.isShowInfosInGutter() &&\n\n state.getEnabledListener() == settingsComponent.getEnabledListener() &&\n state.getManualScannerDelay() == settingsComponent.getManualScannerDelay() &&\n\n state.getProblemFilterList().equals(settingsComponent.getProblemFilterList()) &&\n state.getFileExtensionBlacklist().equals(settingsComponent.getFileExtensionBlacklist()) &&\n\n state.getAdditionalInfoSeveritiesAsString().equals(settingsComponent.getAdditionalInfoSeverities()) &&\n state.getAdditionalWarningSeveritiesAsString().equals(settingsComponent.getAdditionalWarningSeverities()) &&\n state.getAdditionalWeakWarningSeveritiesAsString().equals(settingsComponent.getAdditionalWeakWarningSeverities()) &&\n state.getAdditionalErrorSeveritiesAsString().equals(settingsComponent.getAdditionalErrorSeverities()\n );\n\n return !oldStateEqualsNewState;\n }\n\n @Override\n public void apply() {\n SettingsState state = SettingsState.getInstance();\n\n boolean listenerChanged = state.getEnabledListener() != settingsComponent.getEnabledListener();\n boolean fileExtensionBlacklistChanged = !Objects.equals(state.getFileExtensionBlacklist(), settingsComponent.getFileExtensionBlacklist());\n boolean manualScannerDelayChanged = state.getManualScannerDelay() != settingsComponent.getManualScannerDelay();\n\n state.setShowErrors(settingsComponent.isShowErrors());\n state.setHighlightErrors(settingsComponent.isHighlightErrors());\n state.setShowErrorsInGutter(settingsComponent.isShowErrorsInGutter());\n state.setErrorTextColor(settingsComponent.getErrorTextColor());\n state.setErrorBackgroundColor(settingsComponent.getErrorLabelBackgroundColor());\n state.setErrorHighlightColor(settingsComponent.getErrorHighlightColor());\n\n state.setShowWarnings(settingsComponent.isShowWarnings());\n state.setHighlightWarnings(settingsComponent.isHighlightWarnings());\n state.setShowWarningsInGutter(settingsComponent.isShowWarningsInGutter());\n state.setWarningTextColor(settingsComponent.getWarningTextColor());\n state.setWarningBackgroundColor(settingsComponent.getWarningLabelBackgroundColor());\n state.setWarningHighlightColor(settingsComponent.getWarningHighlightColor());\n\n state.setShowWeakWarnings(settingsComponent.isShowWeakWarnings());\n state.setHighlightWeakWarnings(settingsComponent.isHighlightWeakWarnings());\n state.setShowWeakWarningsInGutter(settingsComponent.isShowWeakWarningsInGutter());\n state.setWeakWarningTextColor(settingsComponent.getWeakWarningTextColor());\n state.setWeakWarningBackgroundColor(settingsComponent.getWeakWarningLabelBackgroundColor());\n state.setWeakWarningHighlightColor(settingsComponent.getWeakWarningHighlightColor());\n\n state.setShowInfos(settingsComponent.isShowInfos());\n state.setHighlightInfos(settingsComponent.isHighlightInfo());\n state.setShowInfosInGutter(settingsComponent.isShowInfosInGutter());\n state.setInfoTextColor(settingsComponent.getInfoTextColor());\n state.setInfoBackgroundColor(settingsComponent.getInfoLabelBackgroundColor());\n state.setInfoHighlightColor(settingsComponent.getInfoHighlightColor());\n\n state.setForceProblemsInSameLine(settingsComponent.isForceErrorsInSameLine());\n state.setDrawBoxesAroundErrorLabels(settingsComponent.getDrawBoxesAroundProblemLabels());\n state.setRoundedCornerBoxes(settingsComponent.isRoundedCornerBoxes());\n state.setUseEditorFont(settingsComponent.isUseEditorFont());\n state.setShowOnlyHighestSeverityPerLine(settingsComponent.isShowOnlyHighestSeverityPerLine());\n state.setEnableHtmlStripping(settingsComponent.isEnableHtmlStripping());\n state.setEnableXmlUnescaping(settingsComponent.isEnableXmlUnescaping());\n state.setInlayFontSizeDelta(settingsComponent.getInlayFontSizeDelta());\n state.setFillProblemLabels(settingsComponent.isFillProblemLabels());\n state.setBoldProblemLabels(settingsComponent.isBoldProblemLabels());\n state.setItalicProblemLabels(settingsComponent.isItalicProblemLabels());\n state.setClickableContext(settingsComponent.isClickableContext());\n\n state.setEnabledListener(settingsComponent.getEnabledListener());\n state.setManualScannerDelay(settingsComponent.getManualScannerDelay());\n state.setProblemFilterList(settingsComponent.getProblemFilterList());\n state.setFileExtensionBlacklist(settingsComponent.getFileExtensionBlacklist());\n\n state.setAdditionalInfoSeverities(settingsComponent.getAdditionalInfoSeveritiesList());\n state.setAdditionalWarningSeverities(settingsComponent.getAdditionalWarningSeveritiesList());\n state.setAdditionalWeakWarningSeverities(settingsComponent.getAdditionalWeakWarningSeveritiesList());\n state.setAdditionalErrorSeverities(settingsComponent.getAdditionalErrorSeveritiesList());\n\n if (manualScannerDelayChanged && state.getEnabledListener() == Listener.MANUAL_SCANNING) {\n DocumentMarkupModelScanner.getInstance().setDelayMilliseconds(state.getManualScannerDelay());\n }\n\n listenerManager.resetAndRescan();\n\n // When the blacklist changes we need to re-apply all MarkupModelProblemListeners\n if (fileExtensionBlacklistChanged && state.getEnabledListener() == Listener.MARKUP_MODEL_LISTENER) {\n listenerManager.resetMarkupModelProblemListeners();\n }\n\n if (listenerChanged) {\n listenerManager.changeListener();\n }\n }\n\n @Override\n public void reset() {\n SettingsState state = SettingsState.getInstance();\n\n settingsComponent.setShowErrors(state.isShowErrors());\n settingsComponent.setHighlightErrors(state.isHighlightErrors());\n settingsComponent.setShowErrorsInGutter(state.isShowErrorsInGutter());\n settingsComponent.setErrorTextColor(state.getErrorTextColor());\n settingsComponent.setErrorLabelBackgroundColor(state.getErrorBackgroundColor());\n settingsComponent.setErrorHighlightColor(state.getErrorHighlightColor());\n\n settingsComponent.setShowWarnings(state.isShowWarnings());\n settingsComponent.setHighlightWarnings(state.isHighlightWarnings());\n settingsComponent.setShowWarningsInGutter(state.isShowWarningsInGutter());\n settingsComponent.setWarningTextColor(state.getWarningTextColor());\n settingsComponent.setWarningLabelBackgroundColor(state.getWarningBackgroundColor());\n settingsComponent.setWarningHighlightColor(state.getWarningHighlightColor());\n\n settingsComponent.setShowWeakWarnings(state.isShowWeakWarnings());\n settingsComponent.setHighlightWeakWarnings(state.isHighlightWeakWarnings());\n settingsComponent.setShowWeakWarningsInGutter(state.isShowWeakWarningsInGutter());\n settingsComponent.setWeakWarningTextColor(state.getWeakWarningTextColor());\n settingsComponent.setWeakWarningLabelBackgroundColor(state.getWeakWarningBackgroundColor());\n settingsComponent.setWeakWarningHighlightColor(state.getWeakWarningHighlightColor());\n\n settingsComponent.setShowInfos(state.isShowInfos());\n settingsComponent.setHighlightInfo(state.isHighlightInfos());\n settingsComponent.setShowInfosInGutter(state.isShowInfosInGutter());\n settingsComponent.setInfoTextColor(state.getInfoTextColor());\n settingsComponent.setInfoLabelBackgroundColor(state.getInfoBackgroundColor());\n settingsComponent.setInfoHighlightColor(state.getInfoHighlightColor());\n\n settingsComponent.setForceErrorsInSameLine(state.isForceProblemsInSameLine());\n settingsComponent.setDrawBoxesAroundProblemLabels(state.isDrawBoxesAroundErrorLabels());\n settingsComponent.setRoundedCornerBoxes(state.isRoundedCornerBoxes());\n settingsComponent.setUseEditorFont(state.isUseEditorFont());\n settingsComponent.setShowOnlyHighestSeverityPerLine(state.isShowOnlyHighestSeverityPerLine());\n settingsComponent.setEnableHtmlStripping(state.isEnableHtmlStripping());\n settingsComponent.setEnableXmlUnescaping(state.isEnableXmlUnescaping());\n settingsComponent.setInlayFontSizeDelta(state.getInlayFontSizeDelta());\n settingsComponent.setFillProblemLabels(state.isFillProblemLabels());\n settingsComponent.setBoldProblemLabels(state.isBoldProblemLabels());\n settingsComponent.setItalicProblemLabels(state.isItalicProblemLabels());\n settingsComponent.setClickableContext(state.isClickableContext());\n\n settingsComponent.setEnabledListener(state.getEnabledListener());\n settingsComponent.setManualScannerDelay(state.getManualScannerDelay());\n settingsComponent.setProblemFilterList(state.getProblemFilterList());\n settingsComponent.setFileExtensionBlacklist(state.getFileExtensionBlacklist());\n\n settingsComponent.setAdditionalInfoSeverities(state.getAdditionalInfoSeveritiesAsString());\n settingsComponent.setAdditionalWarningSeverities(state.getAdditionalWarningSeveritiesAsString());\n settingsComponent.setAdditionalWeakWarningSeverities(state.getAdditionalWeakWarningSeveritiesAsString());\n settingsComponent.setAdditionalErrorSeverities(state.getAdditionalErrorSeveritiesAsString());\n }\n\n @Override\n public void disposeUIResources() {\n settingsComponent = null;\n }\n}\n", "head_content": "package org.overengineer.inlineproblems.settings;\n\nimport com.intellij.openapi.options.Configurable;\nimport com.intellij.openapi.util.NlsContexts;\nimport org.jetbrains.annotations.Nullable;\nimport org.overengineer.inlineproblems.DocumentMarkupModelScanner;\nimport org.overengineer.inlineproblems.ListenerManager;\nimport org.overengineer.inlineproblems.entities.enums.Listener;\n\nimport javax.swing.*;\nimport java.util.Objects;\n\n\npublic class SettingsConfigurable implements Configurable {\n\n private SettingsComponent settingsComponent;\n\n private final ListenerManager listenerManager = ListenerManager.getInstance();\n\n SettingsConfigurable() {\n }\n\n @Override\n @NlsContexts.ConfigurableName\n public String getDisplayName() {\n return \"InlineProblems\";\n }\n\n @Override\n public JComponent getPreferredFocusedComponent() {\n return settingsComponent.getPreferredFocusedComponent();\n }\n\n @Override\n @Nullable\n public JComponent createComponent() {\n settingsComponent = new SettingsComponent();\n return settingsComponent.getSettingsPanel();\n }\n\n @Override\n public boolean isModified() {\n SettingsState state = SettingsState.getInstance();\n\n boolean oldStateEqualsNewState = state.isForceProblemsInSameLine() == settingsComponent.isForceErrorsInSameLine() &&\n state.isEnableInlineProblem() == settingsComponent.isEnableInlineProblem() &&\n state.isDrawBoxesAroundErrorLabels() == settingsComponent.getDrawBoxesAroundProblemLabels() &&\n state.isRoundedCornerBoxes() == settingsComponent.isRoundedCornerBoxes() &&\n state.isUseEditorFont() == settingsComponent.isUseEditorFont() &&\n state.isShowOnlyHighestSeverityPerLine() == settingsComponent.isShowOnlyHighestSeverityPerLine() &&\n state.isEnableHtmlStripping() == settingsComponent.isEnableHtmlStripping() &&\n state.isEnableXmlUnescaping() == settingsComponent.isEnableXmlUnescaping() &&\n state.getInlayFontSizeDelta() == settingsComponent.getInlayFontSizeDelta() &&\n state.isFillProblemLabels() == settingsComponent.isFillProblemLabels() &&\n state.isBoldProblemLabels() == settingsComponent.isBoldProblemLabels() &&\n state.isItalicProblemLabels() == settingsComponent.isItalicProblemLabels() &&\n state.isClickableContext() == settingsComponent.isClickableContext() &&\n\n state.getErrorTextColor().equals(settingsComponent.getErrorTextColor()) &&\n state.getErrorBackgroundColor().equals(settingsComponent.getErrorLabelBackgroundColor()) &&\n state.getErrorHighlightColor().equals(settingsComponent.getErrorHighlightColor()) &&\n state.isShowErrors() == settingsComponent.isShowErrors() &&\n state.isHighlightErrors() == settingsComponent.isHighlightErrors() &&\n state.isShowErrorsInGutter() == settingsComponent.isShowErrorsInGutter() &&\n\n state.getWarningTextColor().equals(settingsComponent.getWarningTextColor()) &&\n state.getWarningBackgroundColor().equals(settingsComponent.getWarningLabelBackgroundColor()) &&\n state.getWarningHighlightColor().equals(settingsComponent.getWarningHighlightColor()) &&\n state.isShowWarnings() == settingsComponent.isShowWarnings() &&\n state.isHighlightWarnings() == settingsComponent.isHighlightWarnings() &&\n state.isShowWarningsInGutter() == settingsComponent.isShowWarningsInGutter() &&\n\n state.getWeakWarningTextColor().equals(settingsComponent.getWeakWarningTextColor()) &&\n state.getWeakWarningBackgroundColor().equals(settingsComponent.getWeakWarningLabelBackgroundColor()) &&\n state.getWeakWarningHighlightColor().equals(settingsComponent.getWeakWarningHighlightColor()) &&\n state.isShowWeakWarnings() == settingsComponent.isShowWeakWarnings() &&\n state.isHighlightWeakWarnings() == settingsComponent.isHighlightWeakWarnings() &&\n state.isShowWeakWarningsInGutter() == settingsComponent.isShowWeakWarningsInGutter() &&\n\n state.getInfoTextColor().equals(settingsComponent.getInfoTextColor()) &&\n state.getInfoBackgroundColor().equals(settingsComponent.getInfoLabelBackgroundColor()) &&\n state.getInfoHighlightColor().equals(settingsComponent.getInfoHighlightColor()) &&\n state.isShowInfos() == settingsComponent.isShowInfos() &&\n state.isHighlightInfos() == settingsComponent.isHighlightInfo() &&\n state.isShowInfosInGutter() == settingsComponent.isShowInfosInGutter() &&\n\n state.getEnabledListener() == settingsComponent.getEnabledListener() &&\n state.getManualScannerDelay() == settingsComponent.getManualScannerDelay() &&\n\n state.getProblemFilterList().equals(settingsComponent.getProblemFilterList()) &&\n state.getFileExtensionBlacklist().equals(settingsComponent.getFileExtensionBlacklist()) &&\n\n state.getAdditionalInfoSeveritiesAsString().equals(settingsComponent.getAdditionalInfoSeverities()) &&\n state.getAdditionalWarningSeveritiesAsString().equals(settingsComponent.getAdditionalWarningSeverities()) &&\n state.getAdditionalWeakWarningSeveritiesAsString().equals(settingsComponent.getAdditionalWeakWarningSeverities()) &&\n state.getAdditionalErrorSeveritiesAsString().equals(settingsComponent.getAdditionalErrorSeverities()\n );\n\n return !oldStateEqualsNewState;\n }\n\n @Override\n public void apply() {\n SettingsState state = SettingsState.getInstance();\n\n boolean listenerChanged = state.getEnabledListener() != settingsComponent.getEnabledListener();\n boolean fileExtensionBlacklistChanged = !Objects.equals(state.getFileExtensionBlacklist(), settingsComponent.getFileExtensionBlacklist());\n boolean manualScannerDelayChanged = state.getManualScannerDelay() != settingsComponent.getManualScannerDelay();\n\n state.setShowErrors(settingsComponent.isShowErrors());\n state.setHighlightErrors(settingsComponent.isHighlightErrors());\n state.setShowErrorsInGutter(settingsComponent.isShowErrorsInGutter());\n state.setErrorTextColor(settingsComponent.getErrorTextColor());\n state.setErrorBackgroundColor(settingsComponent.getErrorLabelBackgroundColor());\n state.setErrorHighlightColor(settingsComponent.getErrorHighlightColor());\n\n state.setShowWarnings(settingsComponent.isShowWarnings());\n state.setHighlightWarnings(settingsComponent.isHighlightWarnings());\n state.setShowWarningsInGutter(settingsComponent.isShowWarningsInGutter());\n state.setWarningTextColor(settingsComponent.getWarningTextColor());\n state.setWarningBackgroundColor(settingsComponent.getWarningLabelBackgroundColor());\n state.setWarningHighlightColor(settingsComponent.getWarningHighlightColor());\n\n state.setShowWeakWarnings(settingsComponent.isShowWeakWarnings());\n state.setHighlightWeakWarnings(settingsComponent.isHighlightWeakWarnings());\n state.setShowWeakWarningsInGutter(settingsComponent.isShowWeakWarningsInGutter());\n state.setWeakWarningTextColor(settingsComponent.getWeakWarningTextColor());\n state.setWeakWarningBackgroundColor(settingsComponent.getWeakWarningLabelBackgroundColor());\n state.setWeakWarningHighlightColor(settingsComponent.getWeakWarningHighlightColor());\n\n state.setShowInfos(settingsComponent.isShowInfos());\n state.setHighlightInfos(settingsComponent.isHighlightInfo());\n state.setShowInfosInGutter(settingsComponent.isShowInfosInGutter());\n state.setInfoTextColor(settingsComponent.getInfoTextColor());\n state.setInfoBackgroundColor(settingsComponent.getInfoLabelBackgroundColor());\n state.setInfoHighlightColor(settingsComponent.getInfoHighlightColor());\n\n state.setEnableInlineProblem(settingsComponent.isEnableInlineProblem());\n state.setEnableInlineProblemsNotifications(settingsComponent.isEnableInlineProblemsNotifications());\n\n state.setForceProblemsInSameLine(settingsComponent.isForceErrorsInSameLine());\n state.setDrawBoxesAroundErrorLabels(settingsComponent.getDrawBoxesAroundProblemLabels());\n state.setRoundedCornerBoxes(settingsComponent.isRoundedCornerBoxes());\n state.setUseEditorFont(settingsComponent.isUseEditorFont());\n state.setShowOnlyHighestSeverityPerLine(settingsComponent.isShowOnlyHighestSeverityPerLine());\n state.setEnableHtmlStripping(settingsComponent.isEnableHtmlStripping());\n state.setEnableXmlUnescaping(settingsComponent.isEnableXmlUnescaping());\n state.setInlayFontSizeDelta(settingsComponent.getInlayFontSizeDelta());\n state.setFillProblemLabels(settingsComponent.isFillProblemLabels());\n state.setBoldProblemLabels(settingsComponent.isBoldProblemLabels());\n state.setItalicProblemLabels(settingsComponent.isItalicProblemLabels());\n state.setClickableContext(settingsComponent.isClickableContext());\n\n state.setEnabledListener(settingsComponent.getEnabledListener());\n state.setManualScannerDelay(settingsComponent.getManualScannerDelay());\n state.setProblemFilterList(settingsComponent.getProblemFilterList());\n state.setFileExtensionBlacklist(settingsComponent.getFileExtensionBlacklist());\n\n state.setAdditionalInfoSeverities(settingsComponent.getAdditionalInfoSeveritiesList());\n state.setAdditionalWarningSeverities(settingsComponent.getAdditionalWarningSeveritiesList());\n state.setAdditionalWeakWarningSeverities(settingsComponent.getAdditionalWeakWarningSeveritiesList());\n state.setAdditionalErrorSeverities(settingsComponent.getAdditionalErrorSeveritiesList());\n\n if (manualScannerDelayChanged && state.getEnabledListener() == Listener.MANUAL_SCANNING) {\n DocumentMarkupModelScanner.getInstance().setDelayMilliseconds(state.getManualScannerDelay());\n }\n\n listenerManager.resetAndRescan();\n\n // When the blacklist changes we need to re-apply all MarkupModelProblemListeners\n if (fileExtensionBlacklistChanged && state.getEnabledListener() == Listener.MARKUP_MODEL_LISTENER) {\n listenerManager.resetMarkupModelProblemListeners();\n }\n\n if (listenerChanged) {\n listenerManager.changeListener();\n }\n }\n\n @Override\n public void reset() {\n SettingsState state = SettingsState.getInstance();\n\n settingsComponent.setShowErrors(state.isShowErrors());\n settingsComponent.setHighlightErrors(state.isHighlightErrors());\n settingsComponent.setShowErrorsInGutter(state.isShowErrorsInGutter());\n settingsComponent.setErrorTextColor(state.getErrorTextColor());\n settingsComponent.setErrorLabelBackgroundColor(state.getErrorBackgroundColor());\n settingsComponent.setErrorHighlightColor(state.getErrorHighlightColor());\n\n settingsComponent.setShowWarnings(state.isShowWarnings());\n settingsComponent.setHighlightWarnings(state.isHighlightWarnings());\n settingsComponent.setShowWarningsInGutter(state.isShowWarningsInGutter());\n settingsComponent.setWarningTextColor(state.getWarningTextColor());\n settingsComponent.setWarningLabelBackgroundColor(state.getWarningBackgroundColor());\n settingsComponent.setWarningHighlightColor(state.getWarningHighlightColor());\n\n settingsComponent.setShowWeakWarnings(state.isShowWeakWarnings());\n settingsComponent.setHighlightWeakWarnings(state.isHighlightWeakWarnings());\n settingsComponent.setShowWeakWarningsInGutter(state.isShowWeakWarningsInGutter());\n settingsComponent.setWeakWarningTextColor(state.getWeakWarningTextColor());\n settingsComponent.setWeakWarningLabelBackgroundColor(state.getWeakWarningBackgroundColor());\n settingsComponent.setWeakWarningHighlightColor(state.getWeakWarningHighlightColor());\n\n settingsComponent.setShowInfos(state.isShowInfos());\n settingsComponent.setHighlightInfo(state.isHighlightInfos());\n settingsComponent.setShowInfosInGutter(state.isShowInfosInGutter());\n settingsComponent.setInfoTextColor(state.getInfoTextColor());\n settingsComponent.setInfoLabelBackgroundColor(state.getInfoBackgroundColor());\n settingsComponent.setInfoHighlightColor(state.getInfoHighlightColor());\n\n settingsComponent.setEnableInlineProblem(state.isEnableInlineProblem());\n settingsComponent.setEnableInlineProblemsNotifications(state.isEnableInlineProblemsNotifications());\n\n settingsComponent.setForceErrorsInSameLine(state.isForceProblemsInSameLine());\n settingsComponent.setDrawBoxesAroundProblemLabels(state.isDrawBoxesAroundErrorLabels());\n settingsComponent.setRoundedCornerBoxes(state.isRoundedCornerBoxes());\n settingsComponent.setUseEditorFont(state.isUseEditorFont());\n settingsComponent.setShowOnlyHighestSeverityPerLine(state.isShowOnlyHighestSeverityPerLine());\n settingsComponent.setEnableHtmlStripping(state.isEnableHtmlStripping());\n settingsComponent.setEnableXmlUnescaping(state.isEnableXmlUnescaping());\n settingsComponent.setInlayFontSizeDelta(state.getInlayFontSizeDelta());\n settingsComponent.setFillProblemLabels(state.isFillProblemLabels());\n settingsComponent.setBoldProblemLabels(state.isBoldProblemLabels());\n settingsComponent.setItalicProblemLabels(state.isItalicProblemLabels());\n settingsComponent.setClickableContext(state.isClickableContext());\n\n settingsComponent.setEnabledListener(state.getEnabledListener());\n settingsComponent.setManualScannerDelay(state.getManualScannerDelay());\n settingsComponent.setProblemFilterList(state.getProblemFilterList());\n settingsComponent.setFileExtensionBlacklist(state.getFileExtensionBlacklist());\n\n settingsComponent.setAdditionalInfoSeverities(state.getAdditionalInfoSeveritiesAsString());\n settingsComponent.setAdditionalWarningSeverities(state.getAdditionalWarningSeveritiesAsString());\n settingsComponent.setAdditionalWeakWarningSeverities(state.getAdditionalWeakWarningSeveritiesAsString());\n settingsComponent.setAdditionalErrorSeverities(state.getAdditionalErrorSeveritiesAsString());\n }\n\n @Override\n public void disposeUIResources() {\n settingsComponent = null;\n }\n}\n", "patch": "--- a/src/main/java/org/overengineer/inlineproblems/settings/SettingsConfigurable.java\n+++ b/src/main/java/org/overengineer/inlineproblems/settings/SettingsConfigurable.java\n@@ -17,7 +17,8 @@\n \n private final ListenerManager listenerManager = ListenerManager.getInstance();\n \n- SettingsConfigurable() {}\n+ SettingsConfigurable() {\n+ }\n \n @Override\n @NlsContexts.ConfigurableName\n@@ -42,6 +43,7 @@\n SettingsState state = SettingsState.getInstance();\n \n boolean oldStateEqualsNewState = state.isForceProblemsInSameLine() == settingsComponent.isForceErrorsInSameLine() &&\n+ state.isEnableInlineProblem() == settingsComponent.isEnableInlineProblem() &&\n state.isDrawBoxesAroundErrorLabels() == settingsComponent.getDrawBoxesAroundProblemLabels() &&\n state.isRoundedCornerBoxes() == settingsComponent.isRoundedCornerBoxes() &&\n state.isUseEditorFont() == settingsComponent.isUseEditorFont() &&\n@@ -132,6 +134,9 @@\n state.setInfoTextColor(settingsComponent.getInfoTextColor());\n state.setInfoBackgroundColor(settingsComponent.getInfoLabelBackgroundColor());\n state.setInfoHighlightColor(settingsComponent.getInfoHighlightColor());\n+\n+ state.setEnableInlineProblem(settingsComponent.isEnableInlineProblem());\n+ state.setEnableInlineProblemsNotifications(settingsComponent.isEnableInlineProblemsNotifications());\n \n state.setForceProblemsInSameLine(settingsComponent.isForceErrorsInSameLine());\n state.setDrawBoxesAroundErrorLabels(settingsComponent.getDrawBoxesAroundProblemLabels());\n@@ -204,6 +209,9 @@\n settingsComponent.setInfoLabelBackgroundColor(state.getInfoBackgroundColor());\n settingsComponent.setInfoHighlightColor(state.getInfoHighlightColor());\n \n+ settingsComponent.setEnableInlineProblem(state.isEnableInlineProblem());\n+ settingsComponent.setEnableInlineProblemsNotifications(state.isEnableInlineProblemsNotifications());\n+\n settingsComponent.setForceErrorsInSameLine(state.isForceProblemsInSameLine());\n settingsComponent.setDrawBoxesAroundProblemLabels(state.isDrawBoxesAroundErrorLabels());\n settingsComponent.setRoundedCornerBoxes(state.isRoundedCornerBoxes());\n"}, {"path": "src/main/java/org/overengineer/inlineproblems/settings/SettingsState.java", "additions": 2, "deletions": 0, "changeType": "MODIFIED", "base_content": "package org.overengineer.inlineproblems.settings;\n\nimport com.intellij.openapi.application.ApplicationManager;\nimport com.intellij.openapi.components.PersistentStateComponent;\nimport com.intellij.openapi.components.State;\nimport com.intellij.openapi.components.Storage;\nimport com.intellij.util.xmlb.XmlSerializerUtil;\nimport com.intellij.util.xmlb.annotations.OptionTag;\nimport com.intellij.util.xmlb.annotations.Transient;\nimport lombok.Getter;\nimport lombok.Setter;\nimport org.jetbrains.annotations.NotNull;\nimport org.jetbrains.annotations.Nullable;\nimport org.overengineer.inlineproblems.entities.enums.Listener;\nimport org.overengineer.inlineproblems.utils.ColorConverter;\n\nimport java.awt.*;\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.stream.Collectors;\n\n\n@Getter\n@Setter\n@State(\n name = \"org.overengineer.inlineproblems.settings.SettingsState\",\n storages = @Storage(\"OverEngineer_InlineProblems.xml\")\n)\npublic class SettingsState implements PersistentStateComponent<SettingsState> {\n\n private boolean showErrors = true;\n private boolean highlightErrors = false;\n private boolean showErrorsInGutter = false;\n private boolean showWarnings = true;\n private boolean highlightWarnings = false;\n private boolean showWarningsInGutter = false;\n private boolean showWeakWarnings = false;\n private boolean highlightWeakWarnings = false;\n private boolean showWeakWarningsInGutter = false;\n private boolean showInfos = false;\n private boolean highlightInfos = false;\n private boolean showInfosInGutter = false;\n private boolean clickableContext = false;\n\n /**\n * Colors renamed from '<NAME>Color' to '<NAME>Col' to solve\n * the compatibility issue with old version persisted xml setting file.\n *\n * @see <a href=\"https://github.com/0verEngineer/InlineProblems/pull/10\">Github discussion</a>\n */\n\n @OptionTag(converter = ColorConverter.class)\n private Color errorBackgroundCol = new Color(0x654243);\n\n @OptionTag(converter = ColorConverter.class)\n private Color errorTextCol = new Color(0xEC5151);\n\n @OptionTag(converter = ColorConverter.class)\n private Color errorHighlightCol = errorBackgroundCol;\n\n @OptionTag(converter = ColorConverter.class)\n private Color warningTextCol = new Color(0xEC821F);\n\n @OptionTag(converter = ColorConverter.class)\n private Color warningBackgroundCol = new Color(0x815125);\n\n @OptionTag(converter = ColorConverter.class)\n private Color warningHighlightCol = warningBackgroundCol;\n\n @OptionTag(converter = ColorConverter.class)\n private Color weakWarningTextCol= new Color(0xC07937);\n\n @OptionTag(converter = ColorConverter.class)\n private Color weakWarningBackgroundCol = new Color(0xA47956);\n\n @OptionTag(converter = ColorConverter.class)\n private Color weakWarningHighlightCol = weakWarningBackgroundCol;\n\n @OptionTag(converter = ColorConverter.class)\n private Color infoTextCol = new Color(0x3BB1CE);\n\n @OptionTag(converter = ColorConverter.class)\n private Color infoBackgroundCol = new Color(0x1E5664);\n\n @OptionTag(converter = ColorConverter.class)\n private Color infoHighlightCol = infoBackgroundCol;\n\n private int manualScannerDelay = 200;\n private boolean drawBoxesAroundErrorLabels = true;\n private boolean roundedCornerBoxes = true;\n private boolean forceProblemsInSameLine = true;\n private boolean useEditorFont = false;\n private int inlayFontSizeDelta = 0;\n private boolean fillProblemLabels = false;\n private boolean boldProblemLabels = false;\n private boolean italicProblemLabels = false;\n private int problemLineLengthOffsetPixels = 50;\n private int enabledListener = Listener.MARKUP_MODEL_LISTENER;\n private String problemFilterList = \"todo;fixme;open in browser\";\n private String fileExtensionBlacklist = \"\";\n\n private List<Integer> additionalErrorSeverities = new ArrayList<>();\n private List<Integer> additionalWarningSeverities = new ArrayList<>();\n private List<Integer> additionalWeakWarningSeverities = new ArrayList<>();\n private List<Integer> additionalInfoSeverities = new ArrayList<>();\n\n private boolean showOnlyHighestSeverityPerLine = false;\n private boolean enableHtmlStripping = true;\n private boolean enableXmlUnescaping = true;\n\n // migration booleans\n private boolean highlightProblemListenerDeprecateMigrationDone = false;\n private boolean filterListMigrationDone01 = false;\n\n public static SettingsState getInstance() {\n return ApplicationManager.getApplication().getService(SettingsState.class);\n }\n\n @Override\n public @Nullable SettingsState getState() {\n return this;\n }\n\n @Override\n public void loadState(@NotNull SettingsState state) {\n XmlSerializerUtil.copyBean(state, this);\n\n migrateState();\n }\n\n @Override\n public void noStateLoaded() {\n migrateState();\n }\n\n private void migrateState() {\n // filter list\n if (!filterListMigrationDone01) {\n List<String> newFilterListEntries = List.of(\"Consider unknown contexts non-blocking\");\n for (String entry : newFilterListEntries) {\n if (!problemFilterList.contains(entry)) {\n problemFilterList += \";\" + entry;\n }\n }\n\n filterListMigrationDone01 = true;\n }\n\n // listener\n if (!highlightProblemListenerDeprecateMigrationDone) {\n if (enabledListener == Listener.HIGHLIGHT_PROBLEMS_LISTENER) {\n enabledListener = Listener.MARKUP_MODEL_LISTENER;\n }\n\n highlightProblemListenerDeprecateMigrationDone = true;\n }\n }\n\n public String getAdditionalInfoSeveritiesAsString() {\n return getSeverityListAsString(additionalInfoSeverities);\n }\n\n public String getAdditionalErrorSeveritiesAsString() {\n return getSeverityListAsString(additionalErrorSeverities);\n }\n\n public String getAdditionalWarningSeveritiesAsString() {\n return getSeverityListAsString(additionalWarningSeverities);\n }\n\n public String getAdditionalWeakWarningSeveritiesAsString() {\n return getSeverityListAsString(additionalWeakWarningSeverities);\n }\n\n private String getSeverityListAsString(List<Integer> severityList) {\n return severityList.stream().map(String::valueOf).collect(Collectors.joining(\"; \"));\n }\n\n //<editor-fold desc=\"Handwritten Colors getter/setter to compatible with external callers.\">\n @Transient\n public Color getErrorTextColor() {\n return errorTextCol;\n }\n\n @Transient\n public void setErrorTextColor(Color color) {\n this.errorTextCol = color;\n }\n\n @Transient\n public Color getErrorBackgroundColor() {\n return errorBackgroundCol;\n }\n\n @Transient\n public void setErrorBackgroundColor(Color color) {\n this.errorBackgroundCol = color;\n }\n\n @Transient\n public Color getErrorHighlightColor() {\n return errorHighlightCol;\n }\n\n @Transient\n public void setErrorHighlightColor(Color color) {\n this.errorHighlightCol = color;\n }\n\n @Transient\n public Color getWarningTextColor() {\n return warningTextCol;\n }\n\n @Transient\n public void setWarningTextColor(Color color) {\n this.warningTextCol = color;\n }\n\n @Transient\n public Color getWarningBackgroundColor() {\n return warningBackgroundCol;\n }\n\n @Transient\n public void setWarningBackgroundColor(Color color) {\n this.warningBackgroundCol = color;\n }\n\n @Transient\n public Color getWarningHighlightColor() {\n return warningHighlightCol;\n }\n\n @Transient\n public void setWarningHighlightColor(Color color) {\n this.warningHighlightCol = color;\n }\n\n @Transient\n public Color getWeakWarningTextColor() {\n return weakWarningTextCol;\n }\n\n @Transient\n public void setWeakWarningTextColor(Color color) {\n this.weakWarningTextCol = color;\n }\n\n @Transient\n public Color getWeakWarningBackgroundColor() {\n return weakWarningBackgroundCol;\n }\n\n @Transient\n public void setWeakWarningBackgroundColor(Color color) {\n this.weakWarningBackgroundCol = color;\n }\n\n @Transient\n public Color getWeakWarningHighlightColor() {\n return weakWarningHighlightCol;\n }\n\n @Transient\n public void setWeakWarningHighlightColor(Color color) {\n this.weakWarningHighlightCol = color;\n }\n\n @Transient\n public Color getInfoTextColor() {\n return infoTextCol;\n }\n\n @Transient\n public void setInfoTextColor(Color color) {\n this.infoTextCol = color;\n }\n\n @Transient\n public Color getInfoBackgroundColor() {\n return infoBackgroundCol;\n }\n\n @Transient\n public void setInfoBackgroundColor(Color color) {\n this.infoBackgroundCol = color;\n }\n\n @Transient\n public Color getInfoHighlightColor() {\n return infoHighlightCol;\n }\n\n @Transient\n public void setInfoHighlightColor(Color color) {\n this.infoHighlightCol = color;\n }\n //</editor-fold>\n\n @Transient\n public boolean isShowAnyGutterIcons() {\n return showErrorsInGutter || showWarningsInGutter || showWeakWarningsInGutter || showInfosInGutter;\n }\n}\n", "head_content": "package org.overengineer.inlineproblems.settings;\n\nimport com.intellij.openapi.application.ApplicationManager;\nimport com.intellij.openapi.components.PersistentStateComponent;\nimport com.intellij.openapi.components.State;\nimport com.intellij.openapi.components.Storage;\nimport com.intellij.util.xmlb.XmlSerializerUtil;\nimport com.intellij.util.xmlb.annotations.OptionTag;\nimport com.intellij.util.xmlb.annotations.Transient;\nimport lombok.Getter;\nimport lombok.Setter;\nimport org.jetbrains.annotations.NotNull;\nimport org.jetbrains.annotations.Nullable;\nimport org.overengineer.inlineproblems.entities.enums.Listener;\nimport org.overengineer.inlineproblems.utils.ColorConverter;\n\nimport java.awt.*;\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.stream.Collectors;\n\n\n@Getter\n@Setter\n@State(\n name = \"org.overengineer.inlineproblems.settings.SettingsState\",\n storages = @Storage(\"OverEngineer_InlineProblems.xml\")\n)\npublic class SettingsState implements PersistentStateComponent<SettingsState> {\n\n private boolean showErrors = true;\n private boolean highlightErrors = false;\n private boolean showErrorsInGutter = false;\n private boolean showWarnings = true;\n private boolean highlightWarnings = false;\n private boolean showWarningsInGutter = false;\n private boolean showWeakWarnings = false;\n private boolean highlightWeakWarnings = false;\n private boolean showWeakWarningsInGutter = false;\n private boolean showInfos = false;\n private boolean highlightInfos = false;\n private boolean showInfosInGutter = false;\n private boolean clickableContext = false;\n private boolean enableInlineProblem = true;\n private boolean enableInlineProblemsNotifications = false;\n\n /**\n * Colors renamed from '<NAME>Color' to '<NAME>Col' to solve\n * the compatibility issue with old version persisted xml setting file.\n *\n * @see <a href=\"https://github.com/0verEngineer/InlineProblems/pull/10\">Github discussion</a>\n */\n\n @OptionTag(converter = ColorConverter.class)\n private Color errorBackgroundCol = new Color(0x654243);\n\n @OptionTag(converter = ColorConverter.class)\n private Color errorTextCol = new Color(0xEC5151);\n\n @OptionTag(converter = ColorConverter.class)\n private Color errorHighlightCol = errorBackgroundCol;\n\n @OptionTag(converter = ColorConverter.class)\n private Color warningTextCol = new Color(0xEC821F);\n\n @OptionTag(converter = ColorConverter.class)\n private Color warningBackgroundCol = new Color(0x815125);\n\n @OptionTag(converter = ColorConverter.class)\n private Color warningHighlightCol = warningBackgroundCol;\n\n @OptionTag(converter = ColorConverter.class)\n private Color weakWarningTextCol= new Color(0xC07937);\n\n @OptionTag(converter = ColorConverter.class)\n private Color weakWarningBackgroundCol = new Color(0xA47956);\n\n @OptionTag(converter = ColorConverter.class)\n private Color weakWarningHighlightCol = weakWarningBackgroundCol;\n\n @OptionTag(converter = ColorConverter.class)\n private Color infoTextCol = new Color(0x3BB1CE);\n\n @OptionTag(converter = ColorConverter.class)\n private Color infoBackgroundCol = new Color(0x1E5664);\n\n @OptionTag(converter = ColorConverter.class)\n private Color infoHighlightCol = infoBackgroundCol;\n\n private int manualScannerDelay = 200;\n private boolean drawBoxesAroundErrorLabels = true;\n private boolean roundedCornerBoxes = true;\n private boolean forceProblemsInSameLine = true;\n private boolean useEditorFont = false;\n private int inlayFontSizeDelta = 0;\n private boolean fillProblemLabels = false;\n private boolean boldProblemLabels = false;\n private boolean italicProblemLabels = false;\n private int problemLineLengthOffsetPixels = 50;\n private int enabledListener = Listener.MARKUP_MODEL_LISTENER;\n private String problemFilterList = \"todo;fixme;open in browser\";\n private String fileExtensionBlacklist = \"\";\n\n private List<Integer> additionalErrorSeverities = new ArrayList<>();\n private List<Integer> additionalWarningSeverities = new ArrayList<>();\n private List<Integer> additionalWeakWarningSeverities = new ArrayList<>();\n private List<Integer> additionalInfoSeverities = new ArrayList<>();\n\n private boolean showOnlyHighestSeverityPerLine = false;\n private boolean enableHtmlStripping = true;\n private boolean enableXmlUnescaping = true;\n\n // migration booleans\n private boolean highlightProblemListenerDeprecateMigrationDone = false;\n private boolean filterListMigrationDone01 = false;\n\n public static SettingsState getInstance() {\n return ApplicationManager.getApplication().getService(SettingsState.class);\n }\n\n @Override\n public @Nullable SettingsState getState() {\n return this;\n }\n\n @Override\n public void loadState(@NotNull SettingsState state) {\n XmlSerializerUtil.copyBean(state, this);\n\n migrateState();\n }\n\n @Override\n public void noStateLoaded() {\n migrateState();\n }\n\n private void migrateState() {\n // filter list\n if (!filterListMigrationDone01) {\n List<String> newFilterListEntries = List.of(\"Consider unknown contexts non-blocking\");\n for (String entry : newFilterListEntries) {\n if (!problemFilterList.contains(entry)) {\n problemFilterList += \";\" + entry;\n }\n }\n\n filterListMigrationDone01 = true;\n }\n\n // listener\n if (!highlightProblemListenerDeprecateMigrationDone) {\n if (enabledListener == Listener.HIGHLIGHT_PROBLEMS_LISTENER) {\n enabledListener = Listener.MARKUP_MODEL_LISTENER;\n }\n\n highlightProblemListenerDeprecateMigrationDone = true;\n }\n }\n\n public String getAdditionalInfoSeveritiesAsString() {\n return getSeverityListAsString(additionalInfoSeverities);\n }\n\n public String getAdditionalErrorSeveritiesAsString() {\n return getSeverityListAsString(additionalErrorSeverities);\n }\n\n public String getAdditionalWarningSeveritiesAsString() {\n return getSeverityListAsString(additionalWarningSeverities);\n }\n\n public String getAdditionalWeakWarningSeveritiesAsString() {\n return getSeverityListAsString(additionalWeakWarningSeverities);\n }\n\n private String getSeverityListAsString(List<Integer> severityList) {\n return severityList.stream().map(String::valueOf).collect(Collectors.joining(\"; \"));\n }\n\n //<editor-fold desc=\"Handwritten Colors getter/setter to compatible with external callers.\">\n @Transient\n public Color getErrorTextColor() {\n return errorTextCol;\n }\n\n @Transient\n public void setErrorTextColor(Color color) {\n this.errorTextCol = color;\n }\n\n @Transient\n public Color getErrorBackgroundColor() {\n return errorBackgroundCol;\n }\n\n @Transient\n public void setErrorBackgroundColor(Color color) {\n this.errorBackgroundCol = color;\n }\n\n @Transient\n public Color getErrorHighlightColor() {\n return errorHighlightCol;\n }\n\n @Transient\n public void setErrorHighlightColor(Color color) {\n this.errorHighlightCol = color;\n }\n\n @Transient\n public Color getWarningTextColor() {\n return warningTextCol;\n }\n\n @Transient\n public void setWarningTextColor(Color color) {\n this.warningTextCol = color;\n }\n\n @Transient\n public Color getWarningBackgroundColor() {\n return warningBackgroundCol;\n }\n\n @Transient\n public void setWarningBackgroundColor(Color color) {\n this.warningBackgroundCol = color;\n }\n\n @Transient\n public Color getWarningHighlightColor() {\n return warningHighlightCol;\n }\n\n @Transient\n public void setWarningHighlightColor(Color color) {\n this.warningHighlightCol = color;\n }\n\n @Transient\n public Color getWeakWarningTextColor() {\n return weakWarningTextCol;\n }\n\n @Transient\n public void setWeakWarningTextColor(Color color) {\n this.weakWarningTextCol = color;\n }\n\n @Transient\n public Color getWeakWarningBackgroundColor() {\n return weakWarningBackgroundCol;\n }\n\n @Transient\n public void setWeakWarningBackgroundColor(Color color) {\n this.weakWarningBackgroundCol = color;\n }\n\n @Transient\n public Color getWeakWarningHighlightColor() {\n return weakWarningHighlightCol;\n }\n\n @Transient\n public void setWeakWarningHighlightColor(Color color) {\n this.weakWarningHighlightCol = color;\n }\n\n @Transient\n public Color getInfoTextColor() {\n return infoTextCol;\n }\n\n @Transient\n public void setInfoTextColor(Color color) {\n this.infoTextCol = color;\n }\n\n @Transient\n public Color getInfoBackgroundColor() {\n return infoBackgroundCol;\n }\n\n @Transient\n public void setInfoBackgroundColor(Color color) {\n this.infoBackgroundCol = color;\n }\n\n @Transient\n public Color getInfoHighlightColor() {\n return infoHighlightCol;\n }\n\n @Transient\n public void setInfoHighlightColor(Color color) {\n this.infoHighlightCol = color;\n }\n //</editor-fold>\n\n @Transient\n public boolean isShowAnyGutterIcons() {\n return showErrorsInGutter || showWarningsInGutter || showWeakWarningsInGutter || showInfosInGutter;\n }\n}\n", "patch": "--- a/src/main/java/org/overengineer/inlineproblems/settings/SettingsState.java\n+++ b/src/main/java/org/overengineer/inlineproblems/settings/SettingsState.java\n@@ -41,6 +41,8 @@\n private boolean highlightInfos = false;\n private boolean showInfosInGutter = false;\n private boolean clickableContext = false;\n+ private boolean enableInlineProblem = true;\n+ private boolean enableInlineProblemsNotifications = false;\n \n /**\n * Colors renamed from '<NAME>Color' to '<NAME>Col' to solve\n"}, {"path": "src/main/resources/META-INF/plugin.xml", "additions": 33, "deletions": 8, "changeType": "MODIFIED", "base_content": "<!-- Plugin Configuration File. Read more: https://plugins.jetbrains.com/docs/intellij/plugin-configuration-file.html -->\n<idea-plugin>\n <!-- Unique identifier of the plugin. It should be FQN. It cannot be changed between the plugin versions. -->\n <id>org.OverEngineer.InlineProblems</id>\n\n <!-- Public plugin name should be written in Title Case.\n Guidelines: https://plugins.jetbrains.com/docs/marketplace/plugin-overview-page.html#plugin-name -->\n <name>InlineProblems</name>\n\n <!-- A displayed Vendor name or Organization ID displayed on the Plugins Page. -->\n <vendor url=\"https://github.com/0verEngineer/InlineProblems\">0verEngineer</vendor>\n\n <!-- Product and plugin compatibility requirements.\n Read more: https://plugins.jetbrains.com/docs/intellij/plugin-compatibility.html -->\n <depends>com.intellij.modules.platform</depends>\n\n <resource-bundle>messages.SettingsBundle</resource-bundle>\n\n <!-- Extension points defined by the plugin.\n Read more: https://plugins.jetbrains.com/docs/intellij/plugin-extension-points.html -->\n <extensions defaultExtensionNs=\"com.intellij\">\n <applicationConfigurable parentId=\"appearance\" instance=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n id=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n displayName=\"InlineProblems\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.settings.SettingsState\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.ProblemManager\"/>\n <daemon.highlightInfoFilter implementation=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\" id=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\" />\n\n <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\" />\n <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\"/>\n </extensions>\n\n <projectListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.FileEditorListener\" topic=\"com.intellij.openapi.fileEditor.FileEditorManagerListener\" />\n </projectListeners>\n\n <applicationListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.PluginListener\" topic=\"com.intellij.ide.plugins.DynamicPluginListener\" />\n <listener class=\"org.overengineer.inlineproblems.listeners.ProjectCloseListener\" topic=\"com.intellij.openapi.project.ProjectManagerListener\" />\n </applicationListeners>\n</idea-plugin>", "head_content": "<!-- Plugin Configuration File. Read more: https://plugins.jetbrains.com/docs/intellij/plugin-configuration-file.html -->\n<idea-plugin>\n <!-- Unique identifier of the plugin. It should be FQN. It cannot be changed between the plugin versions. -->\n <id>org.OverEngineer.InlineProblems</id>\n\n <!-- Public plugin name should be written in Title Case.\n Guidelines: https://plugins.jetbrains.com/docs/marketplace/plugin-overview-page.html#plugin-name -->\n <name>InlineProblems</name>\n\n <!-- A displayed Vendor name or Organization ID displayed on the Plugins Page. -->\n <vendor url=\"https://github.com/0verEngineer/InlineProblems\">0verEngineer</vendor>\n\n <!-- Product and plugin compatibility requirements.\n Read more: https://plugins.jetbrains.com/docs/intellij/plugin-compatibility.html -->\n <depends>com.intellij.modules.platform</depends>\n\n <resource-bundle>messages.SettingsBundle</resource-bundle>\n\n <!-- Extension points defined by the plugin.\n Read more: https://plugins.jetbrains.com/docs/intellij/plugin-extension-points.html -->\n <extensions defaultExtensionNs=\"com.intellij\">\n <applicationConfigurable parentId=\"appearance\"\n instance=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n id=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n key=\"application.configurable.InlineProblems\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.settings.SettingsState\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.ProblemManager\"/>\n <daemon.highlightInfoFilter implementation=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"\n id=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"/>\n\n <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\"/>\n <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\" bundle=\"messages.SettingsBundle\"\n key=\"notification.group.InlineProblems\"/>\n </extensions>\n\n <actions>\n <action class=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\"\n id=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\">\n <keyboard-shortcut first-keystroke=\"alt u\" keymap=\"$default\"/>\n </action>\n <action class=\"org.overengineer.inlineproblems.actions.ShowErrorsAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowErrorsAction\"\n />\n <action class=\"org.overengineer.inlineproblems.actions.ShowWarningsAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowWarningsAction\"\n />\n <action class=\"org.overengineer.inlineproblems.actions.ShowWeakWarningsAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowWeakWarningsAction\"\n />\n <action class=\"org.overengineer.inlineproblems.actions.ShowInfosAction\"\n id=\"org.overengineer.inlineproblems.actions.ShowInfosAction\"\n />\n </actions>\n\n <projectListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.FileEditorListener\"\n topic=\"com.intellij.openapi.fileEditor.FileEditorManagerListener\"/>\n </projectListeners>\n\n <applicationListeners>\n <listener class=\"org.overengineer.inlineproblems.listeners.PluginListener\"\n topic=\"com.intellij.ide.plugins.DynamicPluginListener\"/>\n <listener class=\"org.overengineer.inlineproblems.listeners.ProjectCloseListener\"\n topic=\"com.intellij.openapi.project.ProjectManagerListener\"/>\n </applicationListeners>\n</idea-plugin>", "patch": "--- a/src/main/resources/META-INF/plugin.xml\n+++ b/src/main/resources/META-INF/plugin.xml\n@@ -19,23 +19,48 @@\n <!-- Extension points defined by the plugin.\n Read more: https://plugins.jetbrains.com/docs/intellij/plugin-extension-points.html -->\n <extensions defaultExtensionNs=\"com.intellij\">\n- <applicationConfigurable parentId=\"appearance\" instance=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n+ <applicationConfigurable parentId=\"appearance\"\n+ instance=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n id=\"org.overengineer.inlineproblems.settings.SettingsConfigurable\"\n- displayName=\"InlineProblems\"/>\n+ key=\"application.configurable.InlineProblems\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.settings.SettingsState\"/>\n <applicationService serviceImplementation=\"org.overengineer.inlineproblems.ProblemManager\"/>\n- <daemon.highlightInfoFilter implementation=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\" id=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\" />\n+ <daemon.highlightInfoFilter implementation=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"\n+ id=\"org.overengineer.inlineproblems.listeners.HighlightProblemListener\"/>\n \n- <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\" />\n- <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\"/>\n+ <postStartupActivity implementation=\"org.overengineer.inlineproblems.ProjectStartupActivity\"/>\n+ <notificationGroup id=\"InlineProblems\" displayType=\"BALLOON\" bundle=\"messages.SettingsBundle\"\n+ key=\"notification.group.InlineProblems\"/>\n </extensions>\n \n+ <actions>\n+ <action class=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\"\n+ id=\"org.overengineer.inlineproblems.actions.EnableInlineProblemsAction\">\n+ <keyboard-shortcut first-keystroke=\"alt u\" keymap=\"$default\"/>\n+ </action>\n+ <action class=\"org.overengineer.inlineproblems.actions.ShowErrorsAction\"\n+ id=\"org.overengineer.inlineproblems.actions.ShowErrorsAction\"\n+ />\n+ <action class=\"org.overengineer.inlineproblems.actions.ShowWarningsAction\"\n+ id=\"org.overengineer.inlineproblems.actions.ShowWarningsAction\"\n+ />\n+ <action class=\"org.overengineer.inlineproblems.actions.ShowWeakWarningsAction\"\n+ id=\"org.overengineer.inlineproblems.actions.ShowWeakWarningsAction\"\n+ />\n+ <action class=\"org.overengineer.inlineproblems.actions.ShowInfosAction\"\n+ id=\"org.overengineer.inlineproblems.actions.ShowInfosAction\"\n+ />\n+ </actions>\n+\n <projectListeners>\n- <listener class=\"org.overengineer.inlineproblems.listeners.FileEditorListener\" topic=\"com.intellij.openapi.fileEditor.FileEditorManagerListener\" />\n+ <listener class=\"org.overengineer.inlineproblems.listeners.FileEditorListener\"\n+ topic=\"com.intellij.openapi.fileEditor.FileEditorManagerListener\"/>\n </projectListeners>\n \n <applicationListeners>\n- <listener class=\"org.overengineer.inlineproblems.listeners.PluginListener\" topic=\"com.intellij.ide.plugins.DynamicPluginListener\" />\n- <listener class=\"org.overengineer.inlineproblems.listeners.ProjectCloseListener\" topic=\"com.intellij.openapi.project.ProjectManagerListener\" />\n+ <listener class=\"org.overengineer.inlineproblems.listeners.PluginListener\"\n+ topic=\"com.intellij.ide.plugins.DynamicPluginListener\"/>\n+ <listener class=\"org.overengineer.inlineproblems.listeners.ProjectCloseListener\"\n+ topic=\"com.intellij.openapi.project.ProjectManagerListener\"/>\n </applicationListeners>\n </idea-plugin>"}, {"path": "src/main/resources/messages/SettingsBundle_en.properties", "additions": 17, "deletions": 1, "changeType": "MODIFIED", "base_content": "settings.showErrors=Show errors\nsettings.highlightErrors=Highlight errors\nsettings.showErrorsInGutter=Show error icons in gutter\nsettings.showWarnings=Show warnings\nsettings.highlightWarnings=Highlight warnings\nsettings.showWarningsInGutter=Show warning icons in gutter\nsettings.showWeakWarnings=Show weak warnings\nsettings.highlightWeakWarnings=Highlight weak warnings\nsettings.showWeakWarningsInGutter=Show weak warning icons in gutter\nsettings.showInfos=Show infos\nsettings.highlightInfos=Highlight infos\nsettings.showInfosInGutter=Show info icons in gutter\nsettings.submenu.label=Box / Label\nsettings.drawBoxesAroundProblemLabels=Draw boxes around problem labels\nsettings.roundedCornerBoxes=Rounded corners\nsettings.fillProblemLabels=Fill problem label background\nsettings.boldProblemLabels=Bold problem labels\nsettings.italicProblemLabels=Italic problem labels\nsettings.submenu.general=General\nsettings.activeProblemListener=Enabled problem listener\nsettings.markupModelListenerDescription=- MarkupModelListener (default): Called after addition of a RangeHighlighter to a file. Faster on large files, slower on small ones.\nsettings.highlightProblemListenerDescription=- HighlightProblemListener: Faster on small to medium sized files, slower on large ones. Called very often and can cause slowdowns.\nsettings.manualScannerDescription=- ManualScanner: Scans the DocumentMarkupModel for all highlighters at a fixed delay, uses the same logic\nsettings.manualScannerDescriptionSupplement= as HighlightProblemListener but can help with slowdowns on big files.\nsettings.manualScannerDelayLabel=ManualScanner delay in milliseconds\nsettings.manualScannerDelayTooltip=Delay between manual scans, only used when ManualScanner is enabled\nsettings.inlaySizeDelta=Inlay size delta\nsettings.inlaySizeDeltaTooltip=Used to have smaller font size for the inlays, should be smaller than editor font size\nsettings.problemFilterListLabel=Problem filter list\nsettings.problemFilterListTooltip=Semicolon separated list of problem text beginnings that will not be handled\nsettings.fileExtensionBlacklistLabel=File extension blacklist\nsettings.fileExtensionBlaclistTooltip=Semicolon separated list of file extensions to ignore (like \".java;.md\")\nsettings.submenu.colors=Colors\nsettings.errorTextColor=Error text color:\nsettings.errorLabelBorderColor=Error label border color:\nsettings.errorLineHighlightColor=Error line highlight color:\nsettings.additionalSeverities=Additional severities:\nsettings.additionalSeveritiesErrorDesc=Semicolon separated list of additional error severities e.g. '10, 100'\nsettings.warningTextColor=Warning text color:\nsettings.warningLabelBorderColor=Warning label border color:\nsettings.warningLineHighlightColor=Warning line highlight color:\nsettings.additionalSeveritiesWarningDesc=Semicolon separated list of additional warning severities e.g. '10, 100'\nsettings.weakWarningTextColor=Weak warning text color:\nsettings.weakWarningLabelBorderColor=Weak warning label border color:\nsettings.weakWarningLineHighlightColor=Weak warning line highlight color:\nsettings.additionalSeveritiesWeakWarningDesc=Semicolon separated list of additional weak-warning severities e.g. '10, 100'\nsettings.infoTextColor=Info text color:\nsettings.infoLabelBorderColor=Info label border color:\nsettings.infoLineHighlightColor=Info line highlight color:\nsettings.additionalSeveritiesInfoDesc=Semicolon separated list of additional info severities e.g. '10, 100'\nsettings.forceProblemsInOneLine=Force problems in the same line even if they are too long to fit\nsettings.useEditorFont=Use editor font instead of tooltip font\nsettings.showOnlyHighestPerLine=Show only the problem with the highest severity per line\nsettings.enableHtmlStripping=Enable stripping of HTML in the messages\nsettings.enableXmlUnescaping=Enable unescaping of XML in the messages\nsettings.enableClickableContext=Enable clickable inline problems for IDE context actions", "head_content": "settings.showErrors=Show errors\nsettings.highlightErrors=Highlight errors\nsettings.showErrorsInGutter=Show error icons in gutter\nsettings.showWarnings=Show warnings\nsettings.highlightWarnings=Highlight warnings\nsettings.showWarningsInGutter=Show warning icons in gutter\nsettings.showWeakWarnings=Show weak warnings\nsettings.highlightWeakWarnings=Highlight weak warnings\nsettings.showWeakWarningsInGutter=Show weak warning icons in gutter\nsettings.showInfos=Show infos\nsettings.highlightInfos=Highlight infos\nsettings.showInfosInGutter=Show info icons in gutter\nsettings.submenu.label=Box / Label\nsettings.drawBoxesAroundProblemLabels=Draw boxes around problem labels\nsettings.roundedCornerBoxes=Rounded corners\nsettings.fillProblemLabels=Fill problem label background\nsettings.boldProblemLabels=Bold problem labels\nsettings.italicProblemLabels=Italic problem labels\nsettings.submenu.general=General\nsettings.activeProblemListener=Enabled problem listener\nsettings.markupModelListenerDescription=- MarkupModelListener (default): Called after addition of a RangeHighlighter to a file. Faster on large files, slower on small ones.\nsettings.highlightProblemListenerDescription=- HighlightProblemListener: Faster on small to medium sized files, slower on large ones. Called very often and can cause slowdowns.\nsettings.manualScannerDescription=- ManualScanner: Scans the DocumentMarkupModel for all highlighters at a fixed delay, uses the same logic\nsettings.manualScannerDescriptionSupplement= as HighlightProblemListener but can help with slowdowns on big files.\nsettings.manualScannerDelayLabel=ManualScanner delay in milliseconds\nsettings.manualScannerDelayTooltip=Delay between manual scans, only used when ManualScanner is enabled\nsettings.inlaySizeDelta=Inlay size delta\nsettings.inlaySizeDeltaTooltip=Used to have smaller font size for the inlays, should be smaller than editor font size\nsettings.problemFilterListLabel=Problem filter list\nsettings.problemFilterListTooltip=Semicolon separated list of problem text beginnings that will not be handled\nsettings.fileExtensionBlacklistLabel=File extension blacklist\nsettings.fileExtensionBlaclistTooltip=Semicolon separated list of file extensions to ignore (like \".java;.md\")\nsettings.submenu.colors=Colors\nsettings.errorTextColor=Error text color:\nsettings.errorLabelBorderColor=Error label border color:\nsettings.errorLineHighlightColor=Error line highlight color:\nsettings.additionalSeverities=Additional severities:\nsettings.additionalSeveritiesErrorDesc=Semicolon separated list of additional error severities e.g. '10, 100'\nsettings.warningTextColor=Warning text color:\nsettings.warningLabelBorderColor=Warning label border color:\nsettings.warningLineHighlightColor=Warning line highlight color:\nsettings.additionalSeveritiesWarningDesc=Semicolon separated list of additional warning severities e.g. '10, 100'\nsettings.weakWarningTextColor=Weak warning text color:\nsettings.weakWarningLabelBorderColor=Weak warning label border color:\nsettings.weakWarningLineHighlightColor=Weak warning line highlight color:\nsettings.additionalSeveritiesWeakWarningDesc=Semicolon separated list of additional weak-warning severities e.g. '10, 100'\nsettings.infoTextColor=Info text color:\nsettings.infoLabelBorderColor=Info label border color:\nsettings.infoLineHighlightColor=Info line highlight color:\nsettings.additionalSeveritiesInfoDesc=Semicolon separated list of additional info severities e.g. '10, 100'\nsettings.forceProblemsInOneLine=Force problems in the same line even if they are too long to fit\nsettings.useEditorFont=Use editor font instead of tooltip font\nsettings.showOnlyHighestPerLine=Show only the problem with the highest severity per line\nsettings.enableHtmlStripping=Enable stripping of HTML in the messages\nsettings.enableXmlUnescaping=Enable unescaping of XML in the messages\nsettings.enableClickableContext=Enable clickable inline problems for IDE context actions\nsettings.enableInlineProblem=Enable inlineProblems\nsettings.enableInlineProblemsNotifications=Enable InlineProblems notifications\nsettings.enableInlineProblem.enabled=Enabling inlineProblems\nsettings.enableInlineProblem.disabled=Disabling inlineProblems\n# suppress inspection \"UnusedProperty\"\naction.org.overengineer.inlineproblems.actions.EnableInlineProblemsAction.text=Enable inline Problems\n# suppress inspection \"UnusedProperty\"\naction.org.overengineer.inlineproblems.actions.ShowErrorsAction.text=Show Errors\n# suppress inspection \"UnusedProperty\"\naction.org.overengineer.inlineproblems.actions.ShowWarningsAction.text=Show Warnings\n# suppress inspection \"UnusedProperty\"\naction.org.overengineer.inlineproblems.actions.ShowWeakWarningsAction.text=Show Weak Warnings\n# suppress inspection \"UnusedProperty\"\naction.org.overengineer.inlineproblems.actions.ShowInfosAction.text=Show Infos\nnotification.group.InlineProblems=InlineProblems\napplication.configurable.InlineProblems=InlineProblems\n", "patch": "--- a/src/main/resources/messages/SettingsBundle_en.properties\n+++ b/src/main/resources/messages/SettingsBundle_en.properties\n@@ -53,4 +53,20 @@\n settings.showOnlyHighestPerLine=Show only the problem with the highest severity per line\n settings.enableHtmlStripping=Enable stripping of HTML in the messages\n settings.enableXmlUnescaping=Enable unescaping of XML in the messages\n-settings.enableClickableContext=Enable clickable inline problems for IDE context actions+settings.enableClickableContext=Enable clickable inline problems for IDE context actions\n+settings.enableInlineProblem=Enable inlineProblems\n+settings.enableInlineProblemsNotifications=Enable InlineProblems notifications\n+settings.enableInlineProblem.enabled=Enabling inlineProblems\n+settings.enableInlineProblem.disabled=Disabling inlineProblems\n+# suppress inspection \"UnusedProperty\"\n+action.org.overengineer.inlineproblems.actions.EnableInlineProblemsAction.text=Enable inline Problems\n+# suppress inspection \"UnusedProperty\"\n+action.org.overengineer.inlineproblems.actions.ShowErrorsAction.text=Show Errors\n+# suppress inspection \"UnusedProperty\"\n+action.org.overengineer.inlineproblems.actions.ShowWarningsAction.text=Show Warnings\n+# suppress inspection \"UnusedProperty\"\n+action.org.overengineer.inlineproblems.actions.ShowWeakWarningsAction.text=Show Weak Warnings\n+# suppress inspection \"UnusedProperty\"\n+action.org.overengineer.inlineproblems.actions.ShowInfosAction.text=Show Infos\n+notification.group.InlineProblems=InlineProblems\n+application.configurable.InlineProblems=InlineProblems\n"}, {"path": "src/main/resources/messages/SettingsBundle_zh_CN.properties", "additions": 16, "deletions": 1, "changeType": "MODIFIED", "base_content": "settings.showErrors=\\u663E\\u793A\\u9519\\u8BEF\nsettings.highlightErrors=\\u7A81\\u51FA\\u663E\\u793A\\u9519\\u8BEF\nsettings.showErrorsInGutter=\\u5728\\u88c5\\u8ba2\\u533a\\u57df\\u663e\\u793a\\u9519\\u8bef\\u56fe\\u6807\nsettings.showWarnings=\\u663E\\u793A\\u8B66\\u544A\nsettings.highlightWarnings=\\u7A81\\u51FA\\u663E\\u793A\\u8B66\\u544A\nsettings.showWarningsInGutter=\\u5728\\u88c5\\u8ba2\\u533a\\u57df\\u663e\\u793a\\u8b66\\u544a\\u56fe\\u6807\nsettings.showWeakWarnings=\\u663E\\u793A\\u8F7B\\u5F31\\u8B66\\u544A\nsettings.highlightWeakWarnings=\\u7A81\\u51FA\\u663E\\u793A\\u8F7B\\u5F31\\u8B66\\u544A\nsettings.showWeakWarningsInGutter=\\u5728\\u88c5\\u8ba2\\u533a\\u57df\\u663e\\u793a\\u5f31\\u8b66\\u544a\\u56fe\\u6807\nsettings.showInfos=\\u663E\\u793A\\u4FE1\\u606F\nsettings.highlightInfos=\\u7A81\\u51FA\\u663E\\u793A\\u4FE1\\u606F\nsettings.showInfosInGutter=\\u5728\\u88c5\\u8ba2\\u533a\\u57df\\u663e\\u793a\\u4fe1\\u606f\\u56fe\\u6807\nsettings.submenu.label=\\u8fb9\\u6846 / \\u6807\\u7B7E\nsettings.drawBoxesAroundProblemLabels=\\u5728\\u95ee\\u9898\\u6807\\u7b7e\\u5468\\u56f4\\u7ed8\\u5236\\u8fb9\\u6846\nsettings.roundedCornerBoxes=\\u5706\\u89d2\\u8fb9\\u6846\nsettings.fillProblemLabels=\\u586B\\u5145\\u95EE\\u9898\\u6807\\u7B7E\\u80CC\\u666F\nsettings.boldProblemLabels=\\u52a0\\u7c97\\u95ee\\u9898\\u6807\\u7b7e\nsettings.italicProblemLabels=\\u659C\\u4F53\\u95EE\\u9898\\u6807\\u7B7E\nsettings.submenu.general=\\u901A\\u7528\nsettings.activeProblemListener=\\u542F\\u7528\\u7684\\u95EE\\u9898\\u76D1\\u542C\\u5668\nsettings.markupModelListenerDescription=- MarkupModelListener\\uFF08\\u9ED8\\u8BA4\\uFF09\\uFF1A\\u5728\\u6587\\u4EF6\\u6DFB\\u52A0 RangeHighlighter \\u540E\\u8C03\\u7528\\u3002\\u5927\\u6587\\u4EF6\\u4E2D\\u66F4\\u5FEB\\uFF0C\\u5C0F\\u6587\\u4EF6\\u4E2D\\u66F4\\u6162\\u3002\nsettings.highlightProblemListenerDescription=- HighlightProblemListener\\uFF1A\\u5C0F\\u5230\\u4E2D\\u7B49\\u5927\\u5C0F\\u7684\\u6587\\u4EF6\\u66F4\\u5FEB\\uFF0C\\u5927\\u6587\\u4EF6\\u66F4\\u6162\\u3002\\u8C03\\u7528\\u975E\\u5E38\\u9891\\u7E41\\uFF0C\\u53EF\\u80FD\\u5BFC\\u81F4\\u901F\\u5EA6\\u653E\\u6162\\u3002\nsettings.manualScannerDescription=- ManualScanner\\uFF1A\\u4EE5\\u56FA\\u5B9A\\u7684\\u5EF6\\u8FDF\\u626B\\u63CF DocumentMarkupModel \\u4E2D\\u7684\\u6240\\u6709\\u9AD8\\u4EAE\\u6807\\u8BB0\\uFF0C\\u4F7F\\u7528\\u76F8\\u540C\\u7684\\u903B\\u8F91\\u3002\nsettings.manualScannerDescriptionSupplement= \\u540C HighlightProblemListener\\uFF0C\\u4F46\\u53EF\\u4EE5\\u5E2E\\u52A9\\u5904\\u7406\\u5927\\u6587\\u4EF6\\u4E2D\\u7684\\u653E\\u6162\\u901F\\u5EA6\\u3002\nsettings.manualScannerDelayLabel=ManualScanner \\u4EE5\\u6BEB\\u79D2\\u4E3A\\u5355\\u4F4D\\u7684\\u5EF6\\u8FDF\nsettings.manualScannerDelayTooltip=\\u624B\\u52A8\\u626B\\u63CF\\u95F4\\u7684\\u5EF6\\u8FDF\\uFF0C\\u4EC5\\u5728\\u542F\\u7528 ManualScanner \\u65F6\\u4F7F\\u7528\nsettings.inlaySizeDelta=\\u5b57\\u4f53\\u5927\\u5c0f\\u5dee\\u5f02\nsettings.inlaySizeDeltaTooltip=\\u7528\\u4e8e\\u4e3a\\u6807\\u7b7e\\u8bbe\\u7f6e\\u8f83\\u5c0f\\u7684\\u5b57\\u4f53\\uff0c\\u5fc5\\u987b\\u5c0f\\u4e8e\\u7f16\\u8f91\\u5668\\u5b57\\u4f53\\u5927\\u5c0f\nsettings.problemFilterListLabel=\\u95ee\\u9898\\u8fc7\\u6ee4\\u5217\\u8868\nsettings.problemFilterListTooltip=\\u4e0d\\u5904\\u7406\\u7684\\u95ee\\u9898\\u6587\\u672c\\u5f00\\u5934\\u7684\\u7528\\u5206\\u53f7\\u5206\\u9694\\u7684\\u5217\\u8868\nsettings.submenu.colors=\\u989C\\u8272\nsettings.errorTextColor=\\u9519\\u8BEF\\u6587\\u672C\\u989C\\u8272\\uFF1A\nsettings.errorLabelBorderColor=\\u9519\\u8BEF\\u6807\\u7B7E\\u8FB9\\u6846\\u989C\\u8272\\uFF1A\nsettings.errorLineHighlightColor=\\u9519\\u8BEF\\u884C\\u7A81\\u51FA\\u663E\\u793A\\u989C\\u8272\\uFF1A\nsettings.additionalSeverities=\\u9644\\u52A0\\u4E25\\u91CD\\u6027\\uFF1A\nsettings.additionalSeveritiesErrorDesc=\\u9644\\u52A0\\u9519\\u8BEF\\u4E25\\u91CD\\u6027\\u7684\\u7528\\u5206\\u53F7\\u5206\\u9694\\u7684\\u5217\\u8868\\uFF0C\\u4F8B\\u5982 '10, 100'\nsettings.warningTextColor=\\u8B66\\u544A\\u6587\\u672C\\u989C\\u8272\\uFF1A\nsettings.warningLabelBorderColor=\\u8B66\\u544A\\u6807\\u7B7E\\u8FB9\\u6846\\u989C\\u8272\\uFF1A\nsettings.warningLineHighlightColor=\\u8B66\\u544A\\u884C\\u7A81\\u51FA\\u663E\\u793A\\u989C\\u8272\\uFF1A\nsettings.additionalSeveritiesWarningDesc=\\u9644\\u52A0\\u8B66\\u544A\\u4E25\\u91CD\\u6027\\u7684\\u7528\\u5206\\u53F7\\u5206\\u9694\\u7684\\u5217\\u8868\\uFF0C\\u4F8B\\u5982 '10, 100'\nsettings.weakWarningTextColor=\\u8F7B\\u5F31\\u8B66\\u544A\\u6587\\u672C\\u989C\\u8272\\uFF1A\nsettings.weakWarningLabelBorderColor=\\u8F7B\\u5F31\\u8B66\\u544A\\u6807\\u7B7E\\u8FB9\\u6846\\u989C\\u8272\\uFF1A\nsettings.weakWarningLineHighlightColor=\\u8F7B\\u5F31\\u8B66\\u544A\\u884C\\u7A81\\u51FA\\u663E\\u793A\\u989C\\u8272\\uFF1A\nsettings.additionalSeveritiesWeakWarningDesc=\\u9644\\u52A0\\u8F7B\\u5F31\\u8B66\\u544A\\u4E25\\u91CD\\u6027\\u7684\\u7528\\u5206\\u53F7\\u5206\\u9694\\u7684\\u5217\\u8868\\uFF0C\\u4F8B\\u5982 '10, 100'\nsettings.infoTextColor=\\u4FE1\\u606F\\u6587\\u672C\\u989C\\u8272\\uFF1A\nsettings.infoLabelBorderColor=\\u4FE1\\u606F\\u6807\\u7B7E\\u8FB9\\u6846\\u989C\\u8272\\uFF1A\nsettings.infoLineHighlightColor=\\u4FE1\\u606F\\u884C\\u7A81\\u51FA\\u663E\\u793A\\u989C\\u8272\\uFF1A\nsettings.additionalSeveritiesInfoDesc=\\u9644\\u52A0\\u4FE1\\u606F\\u4E25\\u91CD\\u6027\\u7684\\u7528\\u5206\\u53F7\\u5206\\u9694\\u7684\\u5217\\u8868\\uFF0C\\u4F8B\\u5982 '10, 100'\nsettings.forceProblemsInOneLine=\\u5F3A\\u5236\\u5728\\u540C\\u4E00\\u884C\\u663E\\u793A\\u95EE\\u9898\\uFF0C\\u5373\\u4F7F\\u5B83\\u4EEC\\u592A\\u957F\\u800C\\u65E0\\u6CD5\\u9002\\u5E94\nsettings.useEditorFont=\\u4F7F\\u7528\\u7F16\\u8F91\\u5668\\u5B57\\u4F53\\u800C\\u4E0D\\u662F\\u63D0\\u793A\\u5B57\\u4F53\nsettings.showOnlyHighestPerLine=\\u4ec5\\u663e\\u793a\\u6bcf\\u884c\\u4e2d\\u6700\\u4e25\\u91cd\\u7684\\u95ee\\u9898\nsettings.enableHtmlStripping=Enable stripping of HTML in the messages\nsettings.enableXmlUnescaping=Enable unescaping of XML in the messages\nsettings.enableClickableContext=Enable clickable inline problems for IDE context actions", "head_content": "settings.showErrors=\\u663E\\u793A\\u9519\\u8BEF\nsettings.highlightErrors=\\u7A81\\u51FA\\u663E\\u793A\\u9519\\u8BEF\nsettings.showErrorsInGutter=\\u5728\\u88c5\\u8ba2\\u533a\\u57df\\u663e\\u793a\\u9519\\u8bef\\u56fe\\u6807\nsettings.showWarnings=\\u663E\\u793A\\u8B66\\u544A\nsettings.highlightWarnings=\\u7A81\\u51FA\\u663E\\u793A\\u8B66\\u544A\nsettings.showWarningsInGutter=\\u5728\\u88c5\\u8ba2\\u533a\\u57df\\u663e\\u793a\\u8b66\\u544a\\u56fe\\u6807\nsettings.showWeakWarnings=\\u663E\\u793A\\u8F7B\\u5F31\\u8B66\\u544A\nsettings.highlightWeakWarnings=\\u7A81\\u51FA\\u663E\\u793A\\u8F7B\\u5F31\\u8B66\\u544A\nsettings.showWeakWarningsInGutter=\\u5728\\u88c5\\u8ba2\\u533a\\u57df\\u663e\\u793a\\u5f31\\u8b66\\u544a\\u56fe\\u6807\nsettings.showInfos=\\u663E\\u793A\\u4FE1\\u606F\nsettings.highlightInfos=\\u7A81\\u51FA\\u663E\\u793A\\u4FE1\\u606F\nsettings.showInfosInGutter=\\u5728\\u88c5\\u8ba2\\u533a\\u57df\\u663e\\u793a\\u4fe1\\u606f\\u56fe\\u6807\nsettings.submenu.label=\\u8fb9\\u6846 / \\u6807\\u7B7E\nsettings.drawBoxesAroundProblemLabels=\\u5728\\u95ee\\u9898\\u6807\\u7b7e\\u5468\\u56f4\\u7ed8\\u5236\\u8fb9\\u6846\nsettings.roundedCornerBoxes=\\u5706\\u89d2\\u8fb9\\u6846\nsettings.fillProblemLabels=\\u586B\\u5145\\u95EE\\u9898\\u6807\\u7B7E\\u80CC\\u666F\nsettings.boldProblemLabels=\\u52a0\\u7c97\\u95ee\\u9898\\u6807\\u7b7e\nsettings.italicProblemLabels=\\u659C\\u4F53\\u95EE\\u9898\\u6807\\u7B7E\nsettings.submenu.general=\\u901A\\u7528\nsettings.activeProblemListener=\\u542F\\u7528\\u7684\\u95EE\\u9898\\u76D1\\u542C\\u5668\nsettings.markupModelListenerDescription=- MarkupModelListener\\uFF08\\u9ED8\\u8BA4\\uFF09\\uFF1A\\u5728\\u6587\\u4EF6\\u6DFB\\u52A0 RangeHighlighter \\u540E\\u8C03\\u7528\\u3002\\u5927\\u6587\\u4EF6\\u4E2D\\u66F4\\u5FEB\\uFF0C\\u5C0F\\u6587\\u4EF6\\u4E2D\\u66F4\\u6162\\u3002\nsettings.highlightProblemListenerDescription=- HighlightProblemListener\\uFF1A\\u5C0F\\u5230\\u4E2D\\u7B49\\u5927\\u5C0F\\u7684\\u6587\\u4EF6\\u66F4\\u5FEB\\uFF0C\\u5927\\u6587\\u4EF6\\u66F4\\u6162\\u3002\\u8C03\\u7528\\u975E\\u5E38\\u9891\\u7E41\\uFF0C\\u53EF\\u80FD\\u5BFC\\u81F4\\u901F\\u5EA6\\u653E\\u6162\\u3002\nsettings.manualScannerDescription=- ManualScanner\\uFF1A\\u4EE5\\u56FA\\u5B9A\\u7684\\u5EF6\\u8FDF\\u626B\\u63CF DocumentMarkupModel \\u4E2D\\u7684\\u6240\\u6709\\u9AD8\\u4EAE\\u6807\\u8BB0\\uFF0C\\u4F7F\\u7528\\u76F8\\u540C\\u7684\\u903B\\u8F91\\u3002\nsettings.manualScannerDescriptionSupplement= \\u540C HighlightProblemListener\\uFF0C\\u4F46\\u53EF\\u4EE5\\u5E2E\\u52A9\\u5904\\u7406\\u5927\\u6587\\u4EF6\\u4E2D\\u7684\\u653E\\u6162\\u901F\\u5EA6\\u3002\nsettings.manualScannerDelayLabel=ManualScanner \\u4EE5\\u6BEB\\u79D2\\u4E3A\\u5355\\u4F4D\\u7684\\u5EF6\\u8FDF\nsettings.manualScannerDelayTooltip=\\u624B\\u52A8\\u626B\\u63CF\\u95F4\\u7684\\u5EF6\\u8FDF\\uFF0C\\u4EC5\\u5728\\u542F\\u7528 ManualScanner \\u65F6\\u4F7F\\u7528\nsettings.inlaySizeDelta=\\u5b57\\u4f53\\u5927\\u5c0f\\u5dee\\u5f02\nsettings.inlaySizeDeltaTooltip=\\u7528\\u4e8e\\u4e3a\\u6807\\u7b7e\\u8bbe\\u7f6e\\u8f83\\u5c0f\\u7684\\u5b57\\u4f53\\uff0c\\u5fc5\\u987b\\u5c0f\\u4e8e\\u7f16\\u8f91\\u5668\\u5b57\\u4f53\\u5927\\u5c0f\nsettings.problemFilterListLabel=\\u95ee\\u9898\\u8fc7\\u6ee4\\u5217\\u8868\nsettings.problemFilterListTooltip=\\u4e0d\\u5904\\u7406\\u7684\\u95ee\\u9898\\u6587\\u672c\\u5f00\\u5934\\u7684\\u7528\\u5206\\u53f7\\u5206\\u9694\\u7684\\u5217\\u8868\nsettings.submenu.colors=\\u989C\\u8272\nsettings.errorTextColor=\\u9519\\u8BEF\\u6587\\u672C\\u989C\\u8272\\uFF1A\nsettings.errorLabelBorderColor=\\u9519\\u8BEF\\u6807\\u7B7E\\u8FB9\\u6846\\u989C\\u8272\\uFF1A\nsettings.errorLineHighlightColor=\\u9519\\u8BEF\\u884C\\u7A81\\u51FA\\u663E\\u793A\\u989C\\u8272\\uFF1A\nsettings.additionalSeverities=\\u9644\\u52A0\\u4E25\\u91CD\\u6027\\uFF1A\nsettings.additionalSeveritiesErrorDesc=\\u9644\\u52A0\\u9519\\u8BEF\\u4E25\\u91CD\\u6027\\u7684\\u7528\\u5206\\u53F7\\u5206\\u9694\\u7684\\u5217\\u8868\\uFF0C\\u4F8B\\u5982 '10, 100'\nsettings.warningTextColor=\\u8B66\\u544A\\u6587\\u672C\\u989C\\u8272\\uFF1A\nsettings.warningLabelBorderColor=\\u8B66\\u544A\\u6807\\u7B7E\\u8FB9\\u6846\\u989C\\u8272\\uFF1A\nsettings.warningLineHighlightColor=\\u8B66\\u544A\\u884C\\u7A81\\u51FA\\u663E\\u793A\\u989C\\u8272\\uFF1A\nsettings.additionalSeveritiesWarningDesc=\\u9644\\u52A0\\u8B66\\u544A\\u4E25\\u91CD\\u6027\\u7684\\u7528\\u5206\\u53F7\\u5206\\u9694\\u7684\\u5217\\u8868\\uFF0C\\u4F8B\\u5982 '10, 100'\nsettings.weakWarningTextColor=\\u8F7B\\u5F31\\u8B66\\u544A\\u6587\\u672C\\u989C\\u8272\\uFF1A\nsettings.weakWarningLabelBorderColor=\\u8F7B\\u5F31\\u8B66\\u544A\\u6807\\u7B7E\\u8FB9\\u6846\\u989C\\u8272\\uFF1A\nsettings.weakWarningLineHighlightColor=\\u8F7B\\u5F31\\u8B66\\u544A\\u884C\\u7A81\\u51FA\\u663E\\u793A\\u989C\\u8272\\uFF1A\nsettings.additionalSeveritiesWeakWarningDesc=\\u9644\\u52A0\\u8F7B\\u5F31\\u8B66\\u544A\\u4E25\\u91CD\\u6027\\u7684\\u7528\\u5206\\u53F7\\u5206\\u9694\\u7684\\u5217\\u8868\\uFF0C\\u4F8B\\u5982 '10, 100'\nsettings.infoTextColor=\\u4FE1\\u606F\\u6587\\u672C\\u989C\\u8272\\uFF1A\nsettings.infoLabelBorderColor=\\u4FE1\\u606F\\u6807\\u7B7E\\u8FB9\\u6846\\u989C\\u8272\\uFF1A\nsettings.infoLineHighlightColor=\\u4FE1\\u606F\\u884C\\u7A81\\u51FA\\u663E\\u793A\\u989C\\u8272\\uFF1A\nsettings.additionalSeveritiesInfoDesc=\\u9644\\u52A0\\u4FE1\\u606F\\u4E25\\u91CD\\u6027\\u7684\\u7528\\u5206\\u53F7\\u5206\\u9694\\u7684\\u5217\\u8868\\uFF0C\\u4F8B\\u5982 '10, 100'\nsettings.forceProblemsInOneLine=\\u5F3A\\u5236\\u5728\\u540C\\u4E00\\u884C\\u663E\\u793A\\u95EE\\u9898\\uFF0C\\u5373\\u4F7F\\u5B83\\u4EEC\\u592A\\u957F\\u800C\\u65E0\\u6CD5\\u9002\\u5E94\nsettings.useEditorFont=\\u4F7F\\u7528\\u7F16\\u8F91\\u5668\\u5B57\\u4F53\\u800C\\u4E0D\\u662F\\u63D0\\u793A\\u5B57\\u4F53\nsettings.showOnlyHighestPerLine=\\u4ec5\\u663e\\u793a\\u6bcf\\u884c\\u4e2d\\u6700\\u4e25\\u91cd\\u7684\\u95ee\\u9898\nsettings.enableHtmlStripping=Enable stripping of HTML in the messages\nsettings.enableXmlUnescaping=Enable unescaping of XML in the messages\nsettings.enableClickableContext=Enable clickable inline problems for IDE context actions\nsettings.enableInlineProblem=Enable inlineProblems\nsettings.enableInlineProblem.enabled=Enabling inlineProblems\nsettings.enableInlineProblem.disabled=Disabling inlineProblems\n# suppress inspection \"UnusedProperty\"\naction.org.overengineer.inlineproblems.actions.EnableInlineProblemsAction.text=Enable inline Problems\n# suppress inspection \"UnusedProperty\"\naction.org.overengineer.inlineproblems.actions.ShowErrorsAction.text=Show Errors\n# suppress inspection \"UnusedProperty\"\naction.org.overengineer.inlineproblems.actions.ShowWarningsAction.text=Show Warnings\n# suppress inspection \"UnusedProperty\"\naction.org.overengineer.inlineproblems.actions.ShowWeakWarningsAction.text=Show Weak Warnings\n# suppress inspection \"UnusedProperty\"\naction.org.overengineer.inlineproblems.actions.ShowInfosAction.text=Show Infos\nnotification.group.InlineProblems=InlineProblems\napplication.configurable.InlineProblems=InlineProblems\n", "patch": "--- a/src/main/resources/messages/SettingsBundle_zh_CN.properties\n+++ b/src/main/resources/messages/SettingsBundle_zh_CN.properties\n@@ -51,4 +51,19 @@\n settings.showOnlyHighestPerLine=\\u4ec5\\u663e\\u793a\\u6bcf\\u884c\\u4e2d\\u6700\\u4e25\\u91cd\\u7684\\u95ee\\u9898\n settings.enableHtmlStripping=Enable stripping of HTML in the messages\n settings.enableXmlUnescaping=Enable unescaping of XML in the messages\n-settings.enableClickableContext=Enable clickable inline problems for IDE context actions+settings.enableClickableContext=Enable clickable inline problems for IDE context actions\n+settings.enableInlineProblem=Enable inlineProblems\n+settings.enableInlineProblem.enabled=Enabling inlineProblems\n+settings.enableInlineProblem.disabled=Disabling inlineProblems\n+# suppress inspection \"UnusedProperty\"\n+action.org.overengineer.inlineproblems.actions.EnableInlineProblemsAction.text=Enable inline Problems\n+# suppress inspection \"UnusedProperty\"\n+action.org.overengineer.inlineproblems.actions.ShowErrorsAction.text=Show Errors\n+# suppress inspection \"UnusedProperty\"\n+action.org.overengineer.inlineproblems.actions.ShowWarningsAction.text=Show Warnings\n+# suppress inspection \"UnusedProperty\"\n+action.org.overengineer.inlineproblems.actions.ShowWeakWarningsAction.text=Show Weak Warnings\n+# suppress inspection \"UnusedProperty\"\n+action.org.overengineer.inlineproblems.actions.ShowInfosAction.text=Show Infos\n+notification.group.InlineProblems=InlineProblems\n+application.configurable.InlineProblems=InlineProblems\n"}], "agent_initiated": false, "agent_signals": null, "author_type": "human", "reviewer_types": ["human", "human"], "interaction_type": "human_human", "takeover_events": [], "first_human_takeover_ts": null, "merged_with_unresolved": false, "candidate_issues": [], "link_confidence": "explicit", "thread_chains": [{"thread_id": "PRRT_kwDOImWGlc5OzCmf", "root_comment_id": "PRRC_kwDOImWGlc561FPt", "spans_rounds": [0, 1], "comment_sequence": ["PRRC_kwDOImWGlc561FPt", "PRRC_kwDOImWGlc5611qs"], "escalated": false}], "author_self_reviewed": false, "fully_agent_authored": false, "requested_reviewers": [], "review_request_removed": [], "reviewer_was_requested": false, "merged_by": "0verEngineer", "merge_commit_oid": "910dd63d8fe6e04edf1510bf60e21274fc5df69b", "merged_by_is_author": false, "maintainer_override": false, "referenced_file_contents": {}, "repo_is_fork": null, "repo_parent": null, "repo_collaborator_count": null, "hours_to_first_review": 6.629444444444444, "median_response_latency_hours": null, "reviewer_count": 1, "merged_by_association": null, "n_commits": 5, "n_human_commits": 5, "n_agent_commits": 0, "n_bot_commits": 0, "agent_commit_ratio": 0.0, "repo_metadata": {"full_name": "0verEngineer/InlineProblems", "owner": "0verEngineer", "name": "InlineProblems", "stars": 76, "language": "Java", "license": "gpl-3.0", "topics": [], "description": "Plugin to show problems inside the text editor for IDEs based on the IntelliJ Platform", "url": "https://github.com/0verEngineer/InlineProblems", "default_branch": "main", "open_issues": 10, "forks": 8, "discovered_via": "license:gpl-3.0 language:Java stars:51..200 created:2017-01-16..2026-02-01 archived:false", "created_at": "2022-12-11T22:31:25Z", "pr_total_count": 56, "issue_total_count": 40, "primary_language": "Java", "language_bytes": {}}, "conversation_comments": [{"id": "rest_2831513912", "body": "BTW: I would also appreciate your input on this feature if you have any points or ideas to add: https://github.com/0verEngineer/InlineProblems/issues/78", "createdAt": "2025-04-25T22:03:51Z", "author": {"login": "0verEngineer"}}, {"id": "rest_2831570822", "body": "Code looks good, thanks a lot for your contribution. I'll test it tomorrow so we can merge and release it :)", "createdAt": "2025-04-25T22:58:40Z", "author": {"login": "0verEngineer"}}]} |