{"id":19372522,"url":"https://github.com/sproutcore/sproutcore-sublime-text-2-package","last_synced_at":"2026-07-09T17:30:24.126Z","repository":{"id":137208823,"uuid":"10980386","full_name":"sproutcore/sproutcore-sublime-text-2-package","owner":"sproutcore","description":"A SproutCore package for Sublime Text 2","archived":false,"fork":false,"pushed_at":"2015-10-14T09:47:15.000Z","size":154,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-07T01:10:53.126Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sproutcore.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-06-26T22:04:50.000Z","updated_at":"2015-10-14T09:47:16.000Z","dependencies_parsed_at":"2023-03-13T12:42:14.313Z","dependency_job_id":null,"html_url":"https://github.com/sproutcore/sproutcore-sublime-text-2-package","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sproutcore%2Fsproutcore-sublime-text-2-package","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sproutcore%2Fsproutcore-sublime-text-2-package/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sproutcore%2Fsproutcore-sublime-text-2-package/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sproutcore%2Fsproutcore-sublime-text-2-package/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sproutcore","download_url":"https://codeload.github.com/sproutcore/sproutcore-sublime-text-2-package/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240499925,"owners_count":19811553,"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":[],"created_at":"2024-11-10T08:23:44.268Z","updated_at":"2026-07-09T17:30:24.069Z","avatar_url":"https://github.com/sproutcore.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"sublime-text-package\n======================\n\nA SproutCore package for Sublime Text 2 and 3.\n\nThis package includes several useful SproutCore specific snippets and \nintegration with [JSHint](http://www.jshint.com/).\n\nTo use this package you must first install [jshint](https://github.com/jshint/jshint) \nand ensure that `jshint` is in your environment path.\n\n1. Install node-jshint using npm\n\n    $ npm install -g jshint\n\n1. Install the SproutCore package using Package Control in Sublime Text\n\n  1. `⇧⌘P` *or* `⇧⌃P` (Linux/Windows)\n  2. select `Package Control: Install Package`\n  3. select `SproutCore`\n\n## JSHint\n\nThis package runs `jshint` on all JavaScript files on every save.  This allows you \nto catch errors early before going to the browser and testing.  It also allows\nyou to catch potentially dangerous code like implied globals and redeclared\nvariables.\n\nJSHint also enforces a very standard clean style of JavaScript, which is what\nthe SproutCore framework adheres too.  While you may initially find the style \nwarnings to be annoying, following them is easy and in the end it makes for\neasily recognizable and shareable code. \n\nAs part of the JSHint integration, this package also includes a default \n.jshintrc file that it uses to add the SproutCore specific globals.\n\n## Snippets\n\nThere are several snippets available to significantly reduce the amount of\ntyping you need to do.  To use a snippet, start typing the keyword and select\nthe appropriate snippet to insert useful predefined code.  You can then use\nthe `tab` key to jump between the configurable aspects of the snippet to \nmodify it very quickly without using the mouse.\n\n* `SCButtonView` - An SC.ButtonView template.\n* `SCLabelView` - An SC.LabelView template.\n* `SCListView` - An SC.ListView template.\n* `SCRecord` - An SC.Record template with several attributes and a `primaryKey`.\n* `SCState` - An SC.State template with enterState and exitState.\n* `SCScrollView` - An SC.ScrollView template.\n* `SCTextFieldView` - An SC.TextFieldView template.\n* `SCView` - An SC.View template.\n* `SCView (Class)` - An SC.View as a Class template with render and update.\n* `SCBinding` - A oneWay binding. \n* `childViews` - Adds childViews property.\n* `childViewLayout` - Adds childViewLayout \u0026 childViewLayoutOptions properties.\n* `for` - A forward `for` loop using `.get('length')` \u0026 `.objectAt()`\n* `for` - A reverse `for` loop using `.get('length')` \u0026 `.objectAt()`\n* `function (observes)` - A .observes function.\n* `function (property)` - A .property function.\n* `function (cacheable)` - A .property.cacheable function.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsproutcore%2Fsproutcore-sublime-text-2-package","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsproutcore%2Fsproutcore-sublime-text-2-package","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsproutcore%2Fsproutcore-sublime-text-2-package/lists"}