shakeyo / qlcolorcode

Automatically exported from code.google.com/p/qlcolorcode
0 stars 0 forks source link

Support for Eiffel language files (.e .ecf) #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The Eiffel language files use extension .e which is supported by Highlight.
The EiffelStudio project configuration files (.ecf) is not yet supported by 
Highlight but is plain xml 
(I've informed the author of Highlight about this issue).
There exists no UTI yet for both (searched www.eiffel.com with no success).
Smultron.app is capable of opening and syntax coloring .e files, but contains 
no UTI for it in its 
info.plist .

I've added this to my copy of qlcolorcode's info.plist:

        <dict>
            <key>UTTypeConformsTo</key>
            <array>
                <string>public.source-code</string>
            </array>
            <key>UTTypeDescription</key>
            <string>Eiffel source code file</string>
            <key>UTTypeIdentifier</key>
            <string>com.eiffel.source-code</string>
            <key>UTTypeTagSpecification</key>
            <dict>
                <key>public.filename-extension</key>
                <array>
                    <string>e</string>
                </array>
            </dict>
        </dict>
        <dict>
            <key>UTTypeConformsTo</key>
            <array>
                <string>public.xml</string>
            </array>
            <key>UTTypeDescription</key>
            <string>EiffelStudio project configuration file</string>
            <key>UTTypeIdentifier</key>
            <string>com.eiffel.eiffelstudio-project-config</string>
            <key>UTTypeTagSpecification</key>
            <dict>
                <key>public.filename-extension</key>
                <array>
                    <string>ecf</string>
                </array>
            </dict>
        </dict>

Original issue reported on code.google.com by blase...@gmail.com on 2 May 2008 at 12:50

GoogleCodeExporter commented 9 years ago
Update:
André told me that he will add support for .ecf files in the next version of 
Highlight.
As a workaround until then, he suggested me to edit filetypes.conf by adding 
'ecf' to the line '$ext(xml)= ... '.
As i have seen, qlcolorcode uses its own filetypes.conf. I've made the 
modifications there and it works now 
properly for .ecf files.

Original comment by blase...@gmail.com on 3 May 2008 at 4:21

GoogleCodeExporter commented 9 years ago

Original comment by n8gray@gmail.com on 7 Jan 2009 at 7:46

GoogleCodeExporter commented 9 years ago
Thanks for the good report.  Fixed in SVN.

Original comment by n8gray@gmail.com on 7 Jan 2009 at 8:49