Search code examples
sublimetext3sublimetext2sublimetextsublime-text-plugin

Recognize internal files as JSON


What's the way to tell Sublime automatically open it's own files, i.e.

  • .sublime-settings
  • .sublime-keymap
  • .sublime-theme
  • etc.

as JSON-files? (I mean, with proper syntax highlighting).


Solution

  • In this specific case I‘d recommend installing PackageDev. Generally, you can configure to always assign a specific syntax to a file type.