I tried this with BBEdit version 12.6.7 (I haven't upgraded yet) and the custom filename extension mapping worked with one big caveat. The file must not have been saved by BBEdit before the custom filename extension mapping preference setting was made. Whatever file typing metadata BBEdit saved during the previous file save will override any newly added custom filename extension mapping preference. (If you have previous BBEdit saved htaccess extension files, I think you'll have to use the Language popup in an open file's window to change the file language type metadata on the next file save in order for the Apache Configuration File codeless language module to be used the next time that specific file is opened.)
As a test, I created a test file using TextEdit and saved it. Changed the default extension from rtf to htaccess and then opened it in BBEdit through a Finder open using BBEdit as the opening app and through BBEdit's File Open menu. In both cases BBEdit used the htaccess file extension to mapping the file Apache Configuration File and use the associated codeless language module for syntax colorizing, etc.. On Thursday, March 5, 2020 at 1:55:26 PM UTC-8, Harvey Pikelberger wrote: > > I was hoping to set BBEdit to open .htaccess files under the custom > filename extension mapping for Apache Configuration File ( downloaded from > https://daringfireball.net/projects/apacheconfig/ ) > > The language module works great, but I haven't been able to get BBEdit to > recognize the suffix "htacces" at *Preferences > Languages > Custom > filename extensions mapping* > > > -- This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "[email protected]" rather than posting here. Follow @bbedit on Twitter: <https://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 view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/55d0ef4d-45fb-46ae-ad57-e3078d5fc38b%40googlegroups.com.
