Skip to content

Errors and notifications #1173

Open
Open
@rocher

Description

@rocher

When working with incomplete or erroneous code I get messages like these in the Output view

[Error - 9:46:56 AM] Request textDocument/codeAction failed.
  Message: Exception: ADA.ASSERTIONS.ASSERTION_ERROR (laltools-common.adb:1713)
  Code: -32603 
[Error - 9:49:46 AM] Request textDocument/formatting failed.
  Message: part_1.adb:9:1: Error formatting node (CompilationUnit). Keeping the initial input selection unchanged
pp-actions.adb:3766 access check failed
[Error - 9:49:55 AM] Request textDocument/formatting failed.
  Message: Incorrect code can't be formatted
  Code: -32603

and a notification A request has failed. See the output....
Last error message can be easily reproduced every time you save incorrect code.

Is it possible to suppress the error messages and the notification?
I already know the code has problems and errors: red-wave underlined code, reports in the Problems view, basic Ada knowledge ..., so I don't need to see them in the output view nor receive the notification, which are really annoying (cancel the notification, toggle the panel).

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions