Yes, you can accomplish this by setting an expert prefs option
as follows; cribbing from the "Expert Preferences" page of the
online help (Help -> BBEdit Help):
====
Language Support
* If you like, you can set the default language for new untitled
documents:
[ by issuing the following Terminal command ]
defaults write com.barebones.bbedit
DefaultLanguageNameForNewDocuments -string "<language name>"
where "<language name>" should be the name of a language
shown as
installed in the Language preferences. For example, if you want
all new documents to be Markdown:
defaults write com.barebones.bbedit
DefaultLanguageNameForNewDocuments -string "Markdown"
====
or for example, you can specify the "SQL (Generic)" flavor via:
defaults write com.barebones.bbedit
DefaultLanguageNameForNewDocuments -string "SQL (Generic)"
[PS: TextWrangler also supports this option so you need only
change the bundle identifier in the 'defaults' command to 'com.barebones.textwrangler'.]
Regards,
Patrick Woolsey
==
Bare Bones Software, Inc. <
http://www.barebones.com/>