Skip to content
/ Cup Public

A Sublime Text 3 plugin to enhance your CoffeeScript 2 experience

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

alin23/Cup

Repository files navigation

Cup

For your daily dose of CoffeeScript

Installation

With Package Control

This is the recommended installation method.

  • Open the Command Pallete (ctrl+shift+P or cmd+shift+P).
  • Type "Install Package" and hit return.
  • Type "Cup" and hit return.

As a repository within the packages directory

Open a Terminal/Console and run the following commands, replacing PACKAGE_PATH with the path corresponding to your OS above.

cd PACKAGE_PATH
git clone https://github.com/alin23/Cup

Sublime stores packages in the following locations:

Unix: ~/.config/sublime-text-3/packages
Mac: ~/Library/Application\ Support/Sublime\ Text\ 3/Packages
Win: %APPDATA%\Sublime Text 3\Packages

Dependencies

npm install -g isort-coffee import-js

or

yarn global add isort-coffee import-js

Features

  • Syntax Highlighting for all the new features (including JSX and CSS/Styles JSX) Highlight JSX Highlight CSS
  • Import fixing, sorting and grouping Import sorting
  • Lots of snippets (including React and Next.js support)
  • All the features of Better CoffeeScript and React Coffee Snippets
  • Emmet-like attribute inserting inside JSX tags Emmet attributes
  • Proper symbol indexing
    • Classes
    • Functions
    • JSX Tags
    • JSX element classNames
    • JSX element IDs
    • Styled JSX CSS selectors Symbols
  • Working Build Systems

Thanks

License

Cup is distributed under the terms of both

at your option.