So I've tried many plist entries and I've not been able to get this going 
for some reason.  I'm not sure if it's the plist structure or the BBEdit 
preferences.  Here is my plist, which is the most simple I have come up 
with:



































*<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC 
"-//Apple//DTD PLIST 1.0//EN" 
"http://www.apple.com/DTDs/PropertyList-1.0.dtd";><plist 
version="1.0"><dict>    <key>BBEditDocumentType</key>    
<string>CodelessLanguageModule</string>    
<key>BBLMLanguageDisplayName</key>    <string>Passenger Log</string>    
<key>BBLMLanguageCode</key>    <string>PLOG</string>    <key>name</key>    
<string>PassengerLogs</string>    <key>BBLMColorsSyntax</key>    <true/>    
<key>language</key>    <dict>        <key>name</key>        
<string>PassengerLogs</string>        <key>fileExtensions</key>        
<array>            <string>pog</string>        </array>        
<key>keywords</key>        <array>            <string>error</string>        
    <string>GET</string>            <string>POST</string>            
<string>NameError</string>            <string>undefined</string>            
<string>Exception</string>        </array>    </dict></dict></plist>*
I was hoping for the following BB setting:


*Languages: Custom filename extension mappings: .pog => Passenger Log*
I can't see Passenger Log as an option.

Not sure where to go from here.  Any advice?

Cheers


On Friday, November 17, 2023 at 12:08:23 PM UTC-5 BeeRich33 wrote:

> Excellent.  Will take a look.  Thank you.  
>
> On Friday, November 17, 2023 at 8:31:49 AM UTC-5 Darren Duncan wrote:
>
>> You may also find useful this codeless language module I made, for 
>> reference. 
>>
>>
>> https://github.com/muldis/Muldis_Object_Notation/blob/master/tooling/BBEdit/BBEdit_LM_Muldis_Object_Notation_Plain_Text.plist
>>  
>>
>> -- Darren Duncan 
>>
>> On 2023-11-16 12:29 p.m., BeeRich33 wrote: 
>> > Hi Ben.  Thanks for the file. 
>> > 
>> > I’ve been looking at the other CLMs and that’s pretty much what I’ve 
>> come up 
>> > with as well.  Not active yet. 
>> > 
>> > 
>> > Cheers 
>> > [email protected] 
>> > 
>> > 
>> > 
>> >> On Nov 16, 2023, at 8:12 AM, Benjamin Irwin <[email protected]> 
>> wrote: 
>> >> 
>> >> BeeRich33 
>> >> 
>> >> I have attached a very simple Language Module that you may be able to 
>> modify 
>> >> for your needs. 
>> >> 
>> >> It is in ~/Library/Application Support/BEdit/Language Modules 
>> >> 
>> >> Modifying the command list in the BBLMKeywordList 
>> and BBLMPredefinedNameList 
>> >> would cause those words to be colored to "pop out" when viewing the 
>> logs. 
>> >> 
>> >> Hope this helps, 
>> >> Ben 
>>
>>

-- 
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/ecb8efbb-c061-43ae-a2b5-c64b546e5510n%40googlegroups.com.

Reply via email to