'check syntax and style' creates too much noise
Bug #881283 reported by
drx
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gedit Developer Plugins |
Fix Released
|
Low
|
Curtis Hovey |
Bug Description
While sometimes the messages preceded by an (i) icon might be useful, it would be nice to disable them.
E.g., I know that many of my lines exceed 78 characters in length. But that is not important right now. First I want to see the real mistakes.
Idea: either make it possible to filter messages by type, or sort the syntax errors and warnings on top of the list.
Changed in gdp: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in gdp: | |
milestone: | none → future |
assignee: | nobody → Curtis Hovey (sinzui) |
status: | Triaged → In Progress |
Changed in gdp: | |
status: | In Progress → Fix Committed |
Changed in gdp: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The way to do this is to subclass the Reporter imported from pocketlint. The new class would accept a message_level argument to indicate if error or errors and warnings are wanted. The plugin will also need a setting page/menu option for the user to set the message_level.
There are also cases when working with multiple document types that you want to disable checking for one document. This might be out of scope, but would certainly prevent the side panel from changing when you are editing a document where your focus is on the side panel.