You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Set default syntax highlighting for filetypes #1784
Apologies is this is a dupe - I searched a number of different ways and couldn't fine anything existing. Obviously, I'd be surprised if this hasn't come up somewhere before.
Default syntax highlighting, and setting syntax highlighting for files without a default works great in Atom - except for one significant thing: if Atom doesn't have a syntax highlighting match for your filetype, then you have to set it manually ever time you open a file of that type.
That gets quite cumbersome when, for example, you're working with a repo filled entirely with .liquid files.
Other editors, like Sublime, handle this by offering an option to Open all with current extension as... which lets you set a default syntax for all files with that extension.
Since we're not offering a place to set filetype in the menubar (and certainly not suggesting we should; setting from command palette is ✨), one simple way to expose this could be to add an option to the command palette list for syntax options for set all as this type.
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!
Activity
kevinsawicki commentedon Mar 24, 2014
I think this is a duplicate of #1718
lock commentedon Jan 25, 2019
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!