Feature #189

Shell syntax highlighting

Added by Jan Dolinár over 12 years ago. Updated almost 12 years ago.

Status:RejectedStart date:11/27/2011
Priority:NormalDue date:
Assignee:Jan Dolinár% Done:


Category:IDESpent time:-
Target version:-


I sometimes use theide to edit shell scripts (mainly used in custom build steps) and I miss highlighting a lot. So I tried to add this option to CodeEditor. The attached diff adds the basic shell syntax highlighting to CodeEditor and theide.

However, I was not able to handle everything. There are two cases where shell syntax differs too much to bend the current parsing functions around it. I know about two issues right now:
- Multiline strings can't be highlighted properly.
- in case statement, the ')' in cases brake bracket matching

uppsrc.diff Magnifier (15.3 KB) Jan Dolinár, 11/27/2011 03:17 AM


#1 Updated by Miroslav Fidler over 12 years ago

I would advise switching bracket matching off. I guess strings can be ignored, correct solution woult be to add some Syntax branches to handle shell scripts.

As we going to support html, js and U++ html templates, I guess there will be something happening anyway. Maybe a good time to add shell too...

#2 Updated by Jan Dolinár almost 12 years ago

  • Status changed from In Progress to Rejected

Obsoleted by CodeEditor2, closing.

Also available in: Atom PDF