set-syntax

Creates easy Command Palette commands for setting the syntax of the current file

Lee Dohm

373,947

300

0.4.0

MIT

GitHub

Set Syntax

Build Status Dependency Status apm apm

The Set Syntax Atom package creates easy Command Palette entries for setting the syntax of the current file.

It is designed to make the transition to Atom easier for people migrating from Sublime Text by mimicking the method by which one changes the syntax of the current buffer in that editor.

Usage

Simply use the way you're used to in Sublime Text! Bring up the Command Palette and use the fuzzy search to enter the syntax you want. See the Atom Flight Manual for instructions on how to show the Command Palette on your platform.

Set Syntax demonstration

Key Bindings

There are no key bindings set by default, though you could set keys for specific languages that you use often. For example:

'atom-text-editor':
  'alt-cmd-Z': 'set-syntax:ruby'

License

MIT