On 2013-05-14 at 2:54 PM, [email protected] (Karen Dozier) wrote:

This is the case for me as well -- I have to type the extension every
time. Which is always .html Does anyone know a way to set .html as a
default extension?

Have you specified the language for your files? If it's HTML, you should get file extensions of '.html' automatically.

Here's an "Expert Preference" that might help:

[Watch out for email line-breaking -- the "defaults write ..." statements should be on one line]:

## From BBEdit Help ##

If you like, you can set the default language for new untitled documents:

defaults write com.barebones.bbedit DefaultLanguageNameForNewDocuments -string "<language name>"

"<language name>" should be the name of a language shown as installed in the Language preferences. For example, if you want your new documents to be Markdown:

defaults write com.barebones.bbedit DefaultLanguageNameForNewDocuments -string "Markdown"
######

And here's another:

## From BBEdit Help ##
BBEdit makes a reasonable guess at a filename extension when using "Save As" for a new document. You can also set the preferred extension on a per-language basis:

defaults write com.barebones.bbedit PreferredFilenameExtension_<LanguageName> -string "abc"

    Replace <LanguageName> with the actual language name; for example:

defaults write com.barebones.bbedit PreferredFilenameExtension_C++ -string "cxx" defaults write com.barebones.bbedit PreferredFilenameExtension_YAML -string "yaml"

Note that the extension you specify should not include the leading period.
######

HTH


Best Regards,

  - Bruce

_bruce__van_allen__santa_cruz_ca_

--
This is the BBEdit Talk public discussion group. 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].
To post to this group, send email to [email protected].


Reply via email to