Great info, thanks Bernard! I'll give it a shot.
-Russ
On Oct 7, 2006, at 8:47 AM, Bernard Bernstein wrote:
On Oct 7, 2006, at 2:10 AM, Russell Jones wrote:
My question is:
Are there any BBEdit plugins or templates that Java developers
are using nowadays to increase productivity? What java specific
features does BBEdit have that I might not know about, if any?
I use BBEdit for java development, and it has some built-
inconveniences like code coloring and bracket-matching. There are
some features that ide's give you that have more knowledge of the
source tree, such as method-lookup, etc, but I just have never
gotten as comfortable in those environments as I am in BBEdit.
Here's my contribution for java coders using BBEdit:
For auto-indendation, I use astyle (http://astyle.sourceforge.net/)
and have a small script that calls it with the parameters I want
from within bbedit. I set up a key equivalent for that script so I
can select any code and have it get indented the way I want.
Usually, I just select-all and hit the key (which for me is cmd-opt-
tab) Here is the script for that:
#!/bin/sh
ASTYLE="/path/to/astyle"
${ASTYLE} \
--indent=tab=4 \
--mode=java \
--brackets=attach \
--brackets=break-closing-headers \
< "$1"
--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to: <[EMAIL PROTECTED]>
--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to: <[EMAIL PROTECTED]>