Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

You have lost javascript icon #9

Closed
alexlime opened this issue Aug 30, 2014 · 3 comments
Closed

You have lost javascript icon #9

alexlime opened this issue Aug 30, 2014 · 3 comments

Comments

@alexlime
Copy link

No icon_js.tmPreferences file in your repo. So javascript icon is not showing.
And JSON....

@ctf0
Copy link
Owner

ctf0 commented Aug 30, 2014

because js & json use the default icons ,check this #3

@alexlime
Copy link
Author

I don't understand what you mean... As I wrote before you just need to create a file called icon_js.tmPreferences 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>scope</key>
    <string>source.js</string>
    <key>settings</key>
    <dict>
        <key>icon</key>
        <string>file_type_js</string>
    </dict>
</dict>
</plist>

And everything will work fine:
js is working

And same with JSON...

(I have different theme but I used image and .tmPreferences files from your repo)

@ctf0
Copy link
Owner

ctf0 commented Aug 31, 2014

what i meant is ST have a native icon-names.tmpref for those 2 ext ,and u simply create ur icon and name them to the natives ,anyway they are re-added again now to avoid such prob later.

@ctf0 ctf0 closed this as completed Aug 31, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants