On 20/02/13 at 7:56 PM -0800, Corey Ehmke <[email protected]> wrote:

Are counterparts (File > Counterpart) only used to switch between .c and .h files? It would be really handy if there were language-specfic rules, e.g. in Ruby the counterpart for a class file would be its corresponding spec, so that foo.rb's counterpart would be foo_spec.rb. Heck, why not let the user define a custom filename matching regex for file counterparts?

Just as you request; use emacs variable for that, eg:

# Local Variables:
# x-counterpart: foo_spec.rb
# End:

See the excellent manual for more details.
--
   Ꮚ Charlie Garrison ♊ <[email protected]>

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
〠  http://www.ietf.org/rfc/rfc1855.txt

--
--
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

--- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to