Thanks for the help, Rich -- I'm now part way there.

I have a test directory with the following structure which is
partially making use of changes in the .bbeditSettings file:

test/
  drupal.bbeditSettings
  subdir/
    test2.php
  test.php

And the contents of my drupal.bbeditSettings file is:

[Editor]
AutoExpandTabs = 1
DefaultTabWidth = 2

[HTMLTidy]
TidySpacesPerTab = 2

[TabConversion]
DetabWidth = 2
EntabWidth = 2


At this point if I open test.php or subdir/test2.php each file will be
opened with AutoExpandTabs on. Hitting the tab key gives two spaces.
So far, so good.

However, when I copy to the drupal.bbeditSettings file to a directory
on a SMB share, then it doesn't get used by BBEdit. I've also tried
copying my entire test directory to an SMB share and the settings file
doesn't get used there as it does when it is on my local drive. Is
there a work around that would allow the settings file to work in a
directory on a mounted drive?

Other Issues encountered:
1. I noticed is that if the file doesn't have a trailing new-line then
the settings file won't be used.

2. If I open the View --> Text Display --> Show Fonts panel, the Tab
Width is still listed as 4.
When hit the tab key however, I get two spaces and the Tab Width
displayed in the Show Fonts panel switches to 2. This is a little
funny, but not a big deal as the tab width generally works.

3. The EntabWidth, DetabWidth, and TidySpacesPerTab don't seem to have
any effect, but I don't really need these settings anyway.

Thanks again for your assistance.

- Adam


On Nov 10, 10:37 am, Rich Siegel <[email protected]> wrote:
> On Wednesday, November 10, 2010, Adam Franco <[email protected]>
> wrote:
>
> >I can't seem to find any documentation on the "~/.bbedit" options
> >available or how I might find an example of one (one doesn't exist on
> >in my home directory). Any pointers to documentation would be helpful.
>
> INI-style preferences were introduced in BBEdit 9.2. If you go
> to the omnibus BBEdit 9 notes at
> <http://www.barebones.com/support/bbedit/arch_bbedit9.html> and
> search for "~/.bbedit", you'll find information about the file
> format, and in the section following, more about
> directory-specific prefs.
>
> Enjoy,
>
> R.
> --
> Rich Siegel                                 Bare Bones Software, Inc.
> <[email protected]>                      <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 [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>

Reply via email to