>Is there a simple way for me to run "make" in a given directory,
>collect the results into a window, and then have it jump to the file
>and line numbers parser from the output results by clicking on lines
>in the output?
I would recommend Shell Worksheets (File => New => Shell
Worksheet) for this purpose. When you get an error, select the
file and line number, then "Open Selection" will take you there.
Enjoy,
R.
--
Rich Siegel Bare Bones Software, Inc.
<sie...@barebones.com> <http://www.barebones.com/>
Someday I'll look back on all this and laugh... until they
sedate me.
--
You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to bbe...@googlegroups.com
To unsubscribe from this group, send email to
bbedit+un...@googlegroups.com
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, please email "sup...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
> you just have an answer for everything dont you...
Not only that, but he posted the answer lime 20 minutes BEFORE the question.
> thats awesome!
And freaky! :)
pz
>Hmm, that seems like an awful lot of work just to run a build
>and jump to errors. Thanks anyway!
Have you tried it? It's no more work than doing it in a
Terminal, and actually less to navigate errors.
> On Wednesday, March 16, 2011, Peter Zion <peter...@gmail.com> wrote:
>
>> Hmm, that seems like an awful lot of work just to run a build and jump to errors. Thanks anyway!
>
> Have you tried it? It's no more work than doing it in a Terminal, and actually less to navigate errors.
Yes, I tried it. I guess I'm used to tools such as Xcode which just allow you to hit command-B to build then left-click on a line to jump to an error. This is one of the most common things I do in my workflow and it has to be as fast as possible.
pz
On 16/03/11 at 10:40 AM -0400, Peter Zion <peter...@gmail.com> wrote:
>Yes, I tried it. I guess I'm used to tools such as Xcode which
>just allow you to hit command-B to build then left-click on a
>line to jump to an error. This is one of the most common
>things I do in my workflow and it has to be as fast as possible.
Assign Cmd-B to an Applescript which brings the worksheet
forward, selects the make command and runs it. Then when errors
appear, click line with file name, and do Cmd-L, Cmd-D. Doesn't
really seem like lots more work to me.
Charlie
--
Ꮚ Charlie Garrison ♊ <garr...@zeta.org.au>
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
〠 http://www.ietf.org/rfc/rfc1855.txt
--
--> The best programming tool is a soldering iron <--
On 16/03/11 at 6:59 PM -0600, Doug McNutt
<doug...@macnauchtan.com> wrote:
>Has anyone offered a script or setting that will open a perl
>script and go to the line specified in an error message when
>the script is executed from within a worksheet?
I either don't understand the question or no script is needed.
Assuming the error message uses the standard format of appending
the line number; bbedit will already do that. Eg, from the
command line:
$ bbedit /etc/hosts:7
Or from within an open document, select the file name (& line
number) and hit cmd-D.
If the error message uses a different format to identify the
line, then use Perl (or whatever) to munge it into the above
format and pass to the bbedit tool.