>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.
<sie...@barebones.com> <http://www.barebones.com/>
Someday I'll look back on all this and laugh... until they
sedate me.
>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.
Correct - this is done by default for performance reasons, but
you can enable it. Here's the excerpt from the 9.6 change notes:
When editing files that are on remote file servers (AFP, NFS,
SMB, etc), BBEdit will no longer look for directory-relative
tags files or settings files. This is a particular performance
win when the file is located on a volume mounted via MacFUSE/SSH
or similar, or if the file server is over a slow or high-latency
link.
To re-enable scanning for tags or settings files, use these
separately or together:
defaults write com.barebones.bbedit
Misc:DisableCtagsScanOnRemoteVolumes -bool NO
defaults write com.barebones.bbedit
Misc:DisableSettingsScanOnRemoteVolumes -bool NO
>3. The EntabWidth, DetabWidth, and TidySpacesPerTab don't seem to have
>any effect, but I don't really need these settings anyway.
Not all settings are loaded from directory-specific files.
Unfortunately there is no documentation of which ones are and
which ones aren't, so you'll need to try the ones you care about
-- but in general, settings which affect the display and editing
behaviors and are remembered with a document's state can be
changed with directory specific prefs, and most others cannot.
but this no longer seems to have an effect.
Scanning for
.bbeditSettingsfiles is now off by default, gated on an expert preference. The feature is deprecated, so don't get too attached to it because it's going to go away for good in a future version. Meanwhile, if you rely in it, please let us know how you use it, and you can turn it back on using an expert preference:
defaults write com.barebones.bbedit EnableSettingsScan -bool YES
[Editor]
AutoExpandTabs = 1
DefaultTabWidth = 2
$ defaults write com.barebones.bbedit EnableSettingsScan -bool YES
$ defaults write com.barebones.bbedit DisableSettingsScanOnRemoteVolumes -bool NO
$ defaults read com.barebones.bbedit EnableSettingsScan
1
$ defaults read com.barebones.bbedit DisableSettingsScanOnRemoteVolumes
0