{"id":17382188,"url":"https://github.com/sustained/coffeescript-sublime-plugin","last_synced_at":"2025-04-07T19:15:37.841Z","repository":{"id":43269441,"uuid":"2210191","full_name":"sustained/CoffeeScript-Sublime-Plugin","owner":"sustained","description":"Syntax highlighting and checking, commands, shortcuts, snippets, compilation and more.","archived":false,"fork":false,"pushed_at":"2019-08-10T10:56:10.000Z","size":132,"stargazers_count":290,"open_issues_count":30,"forks_count":71,"subscribers_count":15,"default_branch":"master","last_synced_at":"2024-12-06T19:07:39.407Z","etag":null,"topics":["abandoned","coffeescript","open-source","plugin","python","shortcuts","snippets","sublime","sublime-text","sublime-text-3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sustained.png","metadata":{"files":{"readme":"README.md","changelog":"changelogs/0.5.1.txt","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-08-15T14:40:31.000Z","updated_at":"2024-07-31T17:25:30.000Z","dependencies_parsed_at":"2022-09-06T06:00:50.272Z","dependency_job_id":null,"html_url":"https://github.com/sustained/CoffeeScript-Sublime-Plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sustained%2FCoffeeScript-Sublime-Plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sustained%2FCoffeeScript-Sublime-Plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sustained%2FCoffeeScript-Sublime-Plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sustained%2FCoffeeScript-Sublime-Plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sustained","download_url":"https://codeload.github.com/sustained/CoffeeScript-Sublime-Plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247713258,"owners_count":20983683,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["abandoned","coffeescript","open-source","plugin","python","shortcuts","snippets","sublime","sublime-text","sublime-text-3"],"created_at":"2024-10-16T07:35:45.711Z","updated_at":"2025-04-07T19:15:37.813Z","avatar_url":"https://github.com/sustained.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jump to Section\n\n* [Installation](#installation)\n* [Updating](#updating)\n* [Commands/Shortcuts](#commandsshortcuts)\n* [Snippets](#snippets)\n* [Building](#building)\n* [Settings](#settings)\n\n# Installation\n\n## via Package Control\n\n\u003e This is the recommended installation method.\n\nIf you have Sublime Package Control, you know what to do. If not, well: it's a package manager for Sublime Text 2; it's awesome and you can [read about it here](http://wbond.net/sublime_packages/package_control).\n\nTo install Package Control, open the Python Console (`ctrl+'` or ``cmd+` ``) and paste the following into it:\n\n    import urllib2,os; pf='Package Control.sublime-package'; ipp=sublime.installed_packages_path(); os.makedirs(ipp) if not os.path.exists(ipp) else None; urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler())); open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read()); print 'Please restart Sublime Text to finish installation'\n\nAfter installing the package and restarting the editor:\n\n* Open the Command Pallete (`ctrl+shift+P` or `cmd+shift+P`).\n* Type \"Install Package\" and hit return.\n* Type \"CoffeeScript\" and hit return.\n\n## via Source Control\n\n\u003e If you plan to contribute, then you should install via this method. Otherwise it is recommended that you install the package via Package Control, see above.\n\nSublime stores packages in the following locations:\n\n\tNix: ~/.config/sublime-text-2/packages\n\tMac: ~/Library/Application\\ Support/Sublime\\ Text\\ 2/Packages\n\tWin: %APPDATA%\\Sublime Text 2\\Packages\n\n### As a repository within the packages directory\n\nOpen a Terminal/Console and run the following commands, replacing `PACKAGE_PATH` with the path corresponding to your OS above.\n\n\tcd PACKAGE_PATH\n\tgit clone https://github.com/Xavura/CoffeeScript-Sublime-Plugin.git CoffeeScript\n\n### As a repository outside of the packages directory\n\nIf you use Github for Mac/Windows which store repositories in a specific location, or if you just don't want a repository in your packages directory, then instead you can use a link.\n\nIf you don't yet have the repository, then grab it via your GUI program or via the command line:\n\n\tcd WHEREVER_YOU_WANT\n\tgit clone https://github.com/Xavura/CoffeeScript-Sublime-Plugin.git\n\nOnce that is done, we will create the link:\n\n#### Windows:\n\n\tcd PACKAGE_PATH\n\tmklink /D CoffeeScript ABSOLUTE_PATH_TO_REPOSITORY\n\n#### Nix/Mac:\n\n\tcd PACKAGE_PATH\n\tln -s ABSOLUTE_PATH_TO_REPOSITORY CoffeeScript\n\n#### A note on Package Control\n\nWhen Package Control tries to update your packages, if you have a repository in your packages directory then it will try to pull down and merge any changes. If you don't want this to happen and would rather handle everything yourself, then you can add the following to your settings (Preferences » Package Settings » Package Control » Settings - User):\n\n\t\"auto_upgrade_ignore\": [\"CoffeeScript\"]\n\n# Updating\n\nIf you are using Package Control, updating will be automatic and you don't have to worry about it.\n\nIf using Source Control:\n\n\tcd PACKAGE_PATH/CoffeeScript\n\tgit fetch origin\n\tgit merge origin/master\n\n# Commands/Shortcuts\n\nYou can access the commands either using the command palette (`ctrl+shift+P` or `cmd+shift+P`) or via shortcuts.\n\n\talt+shift+t - Run a Cake task\n\talt+shift+r - Run some CoffeeScript (puts/print is available for output)\n\talt+shift+s - Run a syntax check\n\talt+shift+c - Compile a file\n\talt+shift+d - Display compiled JavaScript\n\talt+shift+l - Display lexer tokens\n\talt+shift+n - Display parser nodes\n\talt+shift+w - Toggle watch mode\n\talt+shift+p - Toggle output panel\n\n**Note:** Some of the commands use the Status Bar for output, so you'll probably want to enable it (Tools » Show Status Bar).\n\n# Snippets\n\n- Use `TAB` to run a snippet after typing the trigger.\n- Use `TAB` and `shift+TAB` to cycle forward/backward through fields.\n- Use `ESC` to exit snippet mode.\n\n### Snippet Triggers\n\n**Comprehension**\n\n\tArray:  forin\n\tObject: forof\n\tRange:  fori (inclusive)\n\tRange:  forx (exclusive)\n\n**Statements**\n\n\tIf:        if\n\tElse:      el\n\tIf Else:   ifel\n\tElse If:   elif\n\tSwitch:    swi\n\tTernary:   ter\n\tTry Catch: try\n\tUnless:    unl\n\n**Classes**\n\n\tClass - cla\n\n**Other**\n\n\tFunction:      -\n\tFunction:      = (bound)\n\tInterpolation: #\n\n# Building\n\n\u003e When using the build system, it is assumed that your `.sublime-project` file lives in your project's base directory (due to limitations with the build system).\n\nHitting `F7` (Tools » Build) will run the Cake task 'sbuild'.\n\nIf you're not quite sure what the point of this is then read on.\n\nLet's say before distributing your project that you would like to combine all of your `.js` files into one and then minify them them using UglifyJS or something.\n\nThat's what this is for! You would create a `Cakefile` and inside it you would write a task:\n\n\ttask 'sbuild', 'Prepare project for distribution.', -\u003e\n\t\t# ...\n\nExamples coming soon.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsustained%2Fcoffeescript-sublime-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsustained%2Fcoffeescript-sublime-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsustained%2Fcoffeescript-sublime-plugin/lists"}