{"id":21039414,"url":"https://github.com/arjunu/webstorm-live-templates","last_synced_at":"2026-04-28T17:34:10.878Z","repository":{"id":81629332,"uuid":"109593998","full_name":"arjunu/webstorm-live-templates","owner":"arjunu","description":null,"archived":false,"fork":false,"pushed_at":"2019-01-23T17:47:00.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-20T16:42:53.188Z","etag":null,"topics":["css","javascript","livetemplate","webstorm"],"latest_commit_sha":null,"homepage":null,"language":null,"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/arjunu.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-11-05T16:01:01.000Z","updated_at":"2023-03-08T04:07:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"14dba34f-11db-4e22-8c98-849c2136ece2","html_url":"https://github.com/arjunu/webstorm-live-templates","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/arjunu%2Fwebstorm-live-templates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arjunu%2Fwebstorm-live-templates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arjunu%2Fwebstorm-live-templates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arjunu%2Fwebstorm-live-templates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arjunu","download_url":"https://codeload.github.com/arjunu/webstorm-live-templates/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243482942,"owners_count":20297908,"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":["css","javascript","livetemplate","webstorm"],"created_at":"2024-11-19T13:41:08.668Z","updated_at":"2026-04-28T17:34:05.855Z","avatar_url":"https://github.com/arjunu.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Webstorm Live Templates\n\n## Javascript\n\n### console.log\n\n`log`\n\n```javascript\nconsole.log($END$);\n```\n\n### Section comment\n\n`c.sec`\n\n```javascript\n// ===============================================================================\n// Section\n// ===============================================================================\n```\n\n## React\n\n### Class\n\n`r.cls`\n\n```javascript\nimport React, { Component } from 'react';\nimport classNames from 'classnames';\n\nimport styles from './$TM_FILENAME_BASE$.scss';\n\nclass $TM_FILENAME_BASE$ extends Component {\n  render() {\n    return \u003cdiv\u003e$END$\u003c/div\u003e;\n  }\n}\n\n$TM_FILENAME_BASE$.propTypes = {\n    \n};\n\n$TM_FILENAME_BASE$.defaultProps = {\n    \n};\n\nexport default $TM_FILENAME_BASE$;\n```\n\n$TM_FILENAME_BASE$ = `capitalize(camelCase(fileNameWithoutExtension()))`\n\n### Constructor\n\n`r.cons`\n\n```javascript\nconstructor(props){\n    super(props);\n}\n```\n\n### componentDidMount\n\n`r.cdm`\n\n```javascript\ncomponentDidMount() {\n  $END$\n}\n```\n\n### componentWillReceiveProps\n\n`r.cwrp`\n\n```javascript\ncomponentWillReceiveProps(nextProps) {\n  $END$\n}\n```\n\n## Imports\n\n```javascript\ni.r\nimport React, { Component } from 'react';\n\ni.cn\nimport classNames from 'classnames';\n\ni.rdx\nimport { connect } from 'react-redux';\n\ni.pt\nimport PropTypes from 'prop-types';\n\n```\n\n\n## Tests\n\n### Test File Imports\n\n`t.imp`\n\n```javascript\nimport React from 'react';\nimport {mount, shallow} from 'enzyme';\nimport {fromJS} from 'immutable';\n```\n\n### Test Suite\n\n`t.desc`\n\n```javascript\ndescribe('$END$', () =\u003e {\n  test('', () =\u003e {\n\n  });  \n});\n```\n\n### Test Case\n\n`t.test`\n\n```javascript\ntest('$END$', () =\u003e {\n\n});\n```\n\n# CSS\n\n### Section comment\n\n`c.sec`\n\n```css\n/*------------------------------------*\\\n  #$END$\n\\*------------------------------------*/\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farjunu%2Fwebstorm-live-templates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farjunu%2Fwebstorm-live-templates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farjunu%2Fwebstorm-live-templates/lists"}