Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lee-dohm/set-syntax
An Atom package that creates easy Command Palette commands for setting the syntax of the current file
https://github.com/lee-dohm/set-syntax
atom atom-package command-palette grammar selector syntax
Last synced: about 1 month ago
JSON representation
An Atom package that creates easy Command Palette commands for setting the syntax of the current file
- Host: GitHub
- URL: https://github.com/lee-dohm/set-syntax
- Owner: lee-dohm
- License: mit
- Created: 2014-05-22T19:19:37.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-09-13T20:55:24.000Z (over 7 years ago)
- Last Synced: 2024-11-29T19:03:29.011Z (about 1 month ago)
- Topics: atom, atom-package, command-palette, grammar, selector, syntax
- Language: CoffeeScript
- Homepage: https://atom.io/packages/set-syntax
- Size: 219 KB
- Stars: 23
- Watchers: 1
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Set Syntax
[![Build Status](https://travis-ci.org/lee-dohm/set-syntax.svg?branch=master)](https://travis-ci.org/lee-dohm/set-syntax)
[![Dependency Status](https://david-dm.org/lee-dohm/set-syntax.svg)](https://david-dm.org/lee-dohm/set-syntax)
[![apm](https://img.shields.io/apm/v/set-syntax.svg?maxAge=2592000)](https://atom.io/packages/set-syntax)
[![apm](https://img.shields.io/apm/dm/set-syntax.svg?maxAge=2592000)](https://atom.io/packages/set-syntax)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](http://flight-manual.atom.io/getting-started/sections/atom-basics/#command-palette).
![Set Syntax demonstration](https://raw.githubusercontent.com/lee-dohm/set-syntax/master/set-syntax.gif)
### Key Bindings
There are no key bindings set by default, though you could set keys for specific languages that you use often. For example:
```coffee
'atom-text-editor':
'alt-cmd-Z': 'set-syntax:ruby'
```## License
[MIT](https://github.com/lee-dohm/set-syntax/blob/master/LICENSE.md)