-
1. Re: Want to stop JBoss Developer Studio from highlighting sections of code in green when scrolling down
maxandersen Nov 20, 2012 1:50 PM (in response to mschwery)Got a screenshot, i'm not fully following what you are referring to ?
btw. I assume you mean JBDS 5.0.1 ?
-
2. Re: Want to stop JBoss Developer Studio from highlighting sections of code in green when scrolling down
mschwery Nov 20, 2012 2:17 PM (in response to maxandersen)yes
Some lines of code are being highlighted in green.
For example the line alert(tt) is being highlighed in geen but the other lines are not.
<script>
var tt = true;
alert(tt);
</script>
-
3. Re: Want to stop JBoss Developer Studio from highlighting sections of code in green when scrolling down
maxandersen Nov 20, 2012 4:31 PM (in response to mschwery)Got a screenshot ? screencapture ?
Highlighted in green normally means a breakpoint is hit.
Would be easier to identify with a screenshot.
-
4. Re: Want to stop JBoss Developer Studio from highlighting sections of code in green when scrolling down
mschwery Nov 20, 2012 5:03 PM (in response to maxandersen)I can't give a screenshot because it is code for my employers system.
It seems to be just happening in a jsp that has been changed so it is not the same as what is in the cvs repository.
The section of code that's highlighted is were my local copy differs from the repository.
-
5. Re: Want to stop JBoss Developer Studio from highlighting sections of code in green when scrolling down
rcernich Nov 20, 2012 5:17 PM (in response to mschwery)Hey Mike,
This is a shot in the dark, but you might try disabling "Quick Diff" in Eclipse (preferences, General->Editors->Text Editors->Quick Diff). If you see any "green" in there, that's probably where it's coming from. Just a guess though.
Best,
Rob
-
6. Re: Want to stop JBoss Developer Studio from highlighting sections of code in green when scrolling down
mschwery Nov 20, 2012 5:36 PM (in response to rcernich)I think I got it, I went into the preferences while in the jsp and unchecked the "Text as" box under General->Editors->Text Editors->Annotations.
It seems like it thought that a section of a jsp was a annotation.
-
7. Re: Want to stop JBoss Developer Studio from highlighting sections of code in green when scrolling down
maxandersen Nov 21, 2012 1:10 AM (in response to mschwery)Hey Mike,
I think Rob is right - the green highglight is quick diff which should show up for any edit you do, not just jsp.
By you going to disable Text Editors->Annotations you removed all *annotations*. Annotations here in the general sense of the word, not Java Annotations.
By unchecking "text as" you disabled *All* the annotations show in the list of "Annotation types".
Thus if you do not want this green line for quick diffs its better to do what Rob suggested and disable Quick Diff.