Category: Code

ShellCheck – find bugs in shell scripts

ShellCheck is a static analysis tool for shell scripts used to finds bugs. Use the online editor or locally install via cabalapt-getyum or brew.


Stop Eclipse from word wrapping comments


Is there a way to stop Eclipse from mangling the comments in my source files? My main issue is stopping it from word wrapping them. I’ve managed to configure Eclipse to not word wrap any code, but it still seems to do it to comments.


Use /*- (note the hyphen) at the beginning of the block comment, and the formatting won’t be affected if you format the rest of the file.