Feature #189
Shell syntax highlighting
Status: | Rejected | Start date: | 11/27/2011 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Jan Dolinár | % Done: | 0% | |
Category: | IDE | Spent time: | - | |
Target version: | - |
Description
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
History
#1 Updated by Miroslav Fidler over 13 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 13 years ago
- Status changed from In Progress to Rejected
Obsoleted by CodeEditor2, closing.