-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Closed
Milestone
Description
The line continuation character \ is not parsed by the syntax highlighting if it's part of a line comment.
// I start a comment on this line but I end with the line continuation character \
byte test = 5; //This WHOLE line is a comment because of the line continuation character on the last line
//The byte test is thereby NOT declared but the syntax highlighting of the IDE does not display it as comment
This way it's easy for a newbie to do this without knowing what's wrong. If the line was highlighted as comment the error would have been more clear.
Link to a case where it happened:
http://forum.arduino.cc/index.php?topic=449738.0
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Relationships
Development
Select code repository
Activity
facchinm commentedon Jan 20, 2017
The feature you are requesting should be implemented by RSyntaxTextArea, the Java library we use as text editor.
Reopening the issue there will surely boost the visibility of this issue. Thanks for reporting!
septillion-git commentedon Jan 20, 2017
Thanks for pointing me to RSTA! You talk about a closed (but unfixed) issue over at RSTA, I can't find it, do you have by any change the issue number?
facchinm commentedon Jan 23, 2017
Sorry @septillion-git , I meant "file a new issue there about the same topic" 😄 Thanks!
septillion-git commentedon Jan 23, 2017
Thanks! I will :)
Quick other question, is it by design that c-style strings are not highlighted anymore? On 1.6.4 they turn blue, on 1.8.1 nothing happens to them. Or is that a RSTA bug as well?
septillion-git commentedon Jan 25, 2017
RSTA fixed the bug :) Hopefully it's implemented in the IDE quick .
Still remain the question about strings...
facchinm commentedon Jan 25, 2017
As soon as 2.6.1 gets released we'll import it in the IDE! Thanks for pushing this!
Update rsyntaxarea to 2.6.1
Update RSyntaxTextArea to 2.6.1
Update RSyntaxTextArea to 2.6.1
Update RSyntaxTextArea to 2.6.1
Update RSyntaxTextArea to 2.6.1
Update RSyntaxTextArea to 2.6.1