[
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)
|
Hi Johan,
JavaScriptSourceParser had incorrect ErrorReporter implementation, fixed.
Regards,
Alex
Johan Compagner wrote:
i have 3 of them
and i do see in the preferences under dynalic languages the Validator node
but i dont have any validator there and if i say add i can only do external.
I just created a sample simple javascript project
created in that project a javascript file
if i type i see the errors in the file but they will not persist when i
save the editor without fixing them
How should the validator core project contribute to that?
johan
On Thu, Jul 24, 2008 at 4:05 PM, Alexey Panchenko <alex@xxxxxxxxx
<mailto:alex@xxxxxxxxx>> wrote:
Do you have DLTK validators.core plug-in ? It should report errors.
Alex
----- Original Message -----
From: Johan Compagner <jcompagner@xxxxxxxxx
<mailto:jcompagner@xxxxxxxxx>>
To: DLTK Developer Discussions <dltk-dev@xxxxxxxxxxx
<mailto: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
<mailto: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 <mailto:dltk-dev@xxxxxxxxxxx>
>> https://dev.eclipse.org/mailman/listinfo/dltk-dev
>>
> _______________________________________________
> dltk-dev mailing list
> dltk-dev@xxxxxxxxxxx <mailto:dltk-dev@xxxxxxxxxxx>
> https://dev.eclipse.org/mailman/listinfo/dltk-dev
>
_______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx <mailto: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