I normally use ST3 on Mac, but lately I also need to use it on Windows (8.1 Pro).
However, one I select a file type to use ST3 to open it, the icons are all the ST “app” icon; how can I get Windows to use a document-type icon, as on the Mac?
I normally use ST3 on Mac, but lately I also need to use it on Windows (8.1 Pro).
However, one I select a file type to use ST3 to open it, the icons are all the ST “app” icon; how can I get Windows to use a document-type icon, as on the Mac?
That is actually more of a Windows question than a ST question but anyway.
In Windows the files are shown with the icon(s) associated with the default program set to open that type of file.
So, with *.txt files for instance, they are usually associated with Notepad and are shown with a small page of ruled paper.
*.html files are usually shown with the default browser icon and so on.
Now if you have set certain types of files to be automatically opened with Sublime Text when double-clicked, that is the icon that will be shown.
There is a number of ways around this, all of which involve some fiddling and may in the long run be not worth the effort.
If you right-click on the file in question and select ‘Properties’, there should be an option to change the default ‘Opening’ program. Note, ‘Opening’ program.
It will say something like:
Type of file: Text Document (*.txt)
Opens with: Notepad
Beside that is the button to “Change…”
Select whatever program you want to “Open” that type of file.
Now in every step here I highlight “Open” because you can open those files by default in whatever program is supposed to AND you can “Edit” those files with Sublime Text.
The two commands are not mutually exclusive. *.html can “open” in your browser as a web page but you can “edit” them in Sublime Text.
So while you can change them, why bother? You gain nothing extra. You can set up a right-click option to “Open in Sublime Text” which, despite the name, edits the file.