Re: [Dltk-dev] The problems do not appear in the Problems View
Problems view is filled from the builder and you should configure the components of the builder.
The simplest way to go is something like the following (just replace ruby with your nature).
Also you could specify additional participants for TODO processors, semantic checkers, etc.
Line number is saved to the problem marker and it is shown in the problems view at least, but column number seams to be unused.
----- Original Message -----
From: "Gabriel Petrovay" <gabriel.petrovay@xxxxxxxxxx>
To: "dltk-dev" <dltk-dev@xxxxxxxxxxx>
Sent: Wednesday, March 25, 2009 1:56:22 AM GMT +06:00 Almaty, Novosibirsk
Subject: [Dltk-dev] The problems do not appear in the Problems View
I am parsing the source code using my implementation of the AbstractSourceParser. In the method:
ModuleDeclaration parse(char fileName, char source, IProblemReporter reporter);
I am reporting problems like:
DefaultProblem problem = new DefaultProblem(
"Syntax error: " + message,
The error appears in the editor but not in the Problem View. Any ideas why, Did I forget to implement something?
I also have one more question regarding problem position. What is the purpose of line and column parameters in the DefaultProblem constructor? (I didn't manage to change anything in the problem position when I added those two parameters)
dltk-dev mailing list