Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [Dltk-dev] script parse/syntax errors not markers anymore on the file? (and shown in problems view)

Do you have DLTK validators.core plug-in ? It should report errors.

Alex

----- Original Message -----
From: Johan Compagner <jcompagner@xxxxxxxxx>
To: DLTK Developer Discussions <dltk-dev@xxxxxxxxxxx>
Sent: Thu, 24 Jul 2008 20:39:18 +0700 (NOVST)
Subject: Re: [Dltk-dev] script parse/syntax errors not markers anymore on the file? (and shown in problems view)

i agree completely that they shouldnt be reported on not saved changes
But also saved files i dont get the errors reported it at my place.. :(

Should this work or not?
Maybe that is a configuration issue on my side?

So when i doSave it and there are still error markers make the permanent.

johan


On Thu, Jul 24, 2008 at 3:38 PM, Alex Panchenko <alex@xxxxxxxxx> wrote:

> Hi Johan,
>
> Yes, that is the new feature.
>
> Markers are permanent resources so they should not be affected by not saved
> changes in the editor.
>
> Most probably you should use another way to check errors in the editor.
> e.g. reparse the file.
>
> Regards,
> Alex
>
>
> Johan Compagner wrote:
>
>> Hi
>>
>> when i made a mistake in my javascript editor i see the red error marker
>> in my editor
>> But not in my problems view anymore
>> Also my code:
>>
>> IMarker[] findMarkers = file.findMarkers(IMarker.PROBLEM, true,
>> IResource.DEPTH_INFINITE);
>>
>> returns always an empty array now, thats a problem for me because we dont
>> want to do anything if we find errors..
>>
>> johan
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> dltk-dev mailing list
>> dltk-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/dltk-dev
>>
> _______________________________________________
> dltk-dev mailing list
> dltk-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/dltk-dev
>



Back to the top