This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Current ShLexer has the following limitations: - it does not allow highlighting of variable usages, e.g. ${FOO} - it splits integral objects into several tokens, e.g. gnome-session (split by -), mkfs.ext2 (split by .), --help (split by -) - it parses numbers (integers and floats), that does not make much sense since numbers have no special meaning for the shell - it does not highlight some keywords in some positions, e.g. -- for f in foo bar ... # "in" is not highlighted -- case f in ... # "in" is not highlighted -- test 1 && echo ok # "echo" is not highlighted
fixed: - it does not highlight some keywords in some positions, e.g. -- for f in foo bar ... # "in" is not highlighted -- case f in ... # "in" is not highlighted -- test 1 && echo ok # "echo" is not highlighted other items look like enhancement. http://hg.netbeans.org/cnd-main/rev/25131dacd269 http://hg.netbeans.org/cnd-main/rev/8162843e428f