-
Notifications
You must be signed in to change notification settings - Fork 2
/
boilerplate.json
1 lines (1 loc) · 5.07 KB
/
boilerplate.json
1
{"objc/category": {"files": [{"template": "#import <Cocoa/Cocoa.h>\n\n@interface {{classname}} ({{categoryname}})\n\n@end\n", "extension": "h"}, {"template": "#import \"{{classname}}.h\"\n\n@implementation {{classname}} ({{categoryname}})\n\n@end\n", "extension": "m"}], "definition": {"fields": [{"type": "text", "name": "classname", "label": "Class Name"}, {"type": "text", "name": "categoryname", "label": "Category Name"}]}, "identifier": "category", "displayname": "Category", "selector": "objc"}, "css/reset": {"files": [{"template": "html, body, div, span, applet, object, iframe,\nh1, h2, h3, h4, h5, h6, p, blockquote, pre,\na, abbr, acronym, address, big, cite, code,\ndel, dfn, em, img, ins, kbd, q, s, samp,\nsmall, strike, strong, sub, sup, tt, var,\nb, u, i, center, dl, dt, dd, ol, ul, li,\nfieldset, form, label, legend,\ntable, caption, tbody, tfoot, thead, tr, th, td,\narticle, aside, canvas, details, embed, \nfigure, figcaption, footer, header, hgroup, \nmenu, nav, output, ruby, section, summary,\ntime, mark, audio, video {\n\tmargin: 0;\n\tpadding: 0;\n\tborder: 0;\n\tfont-size: 100%;\n\tfont: inherit;\n\tvertical-align: baseline;\n}\n/* HTML5 display-role reset for older browsers */\narticle, aside, details, figcaption, figure, \nfooter, header, hgroup, menu, nav, section {\n\tdisplay: block;\n}\nbody {\n\tline-height: 1;\n}\nol, ul {\n\tlist-style: none;\n}\nblockquote, q {\n\tquotes: none;\n}\nblockquote:before, blockquote:after,\nq:before, q:after {\n\tcontent: '';\n\tcontent: none;\n}\ntable {\n\tborder-collapse: collapse;\n\tborder-spacing: 0;\n}\n", "extension": "css"}], "identifier": "reset", "displayname": "Reset", "selector": "css"}, "arduino/sketch": {"files": [{"template": "void setup() {\n Serial.begin(9600);\n}\n\nvoid loop() {\n \n}\n", "extension": "ino"}], "identifier": "sketch", "displayname": "Sketch", "selector": "arduino"}, "objc/class": {"files": [{"template": "#import <Cocoa/Cocoa.h>\n\n@interface {{classname}} : NSObject\n\n@end\n", "extension": "h"}, {"template": "#import \"{{classname}}.h\"\n\n@interface {{classname}} ()\n\n@end\n\n\n@implementation {{classname}}\n\n@end\n", "extension": "m"}], "definition": {"fields": [{"type": "text", "name": "classname", "label": "Class Name"}]}, "identifier": "class", "displayname": "Class", "selector": "objc"}, "java/class": {"files": [{"template": "package ___;\n\npublic class {{ classname }}{{#superclassname}} extends {{superclassname}}{{/superclassname}} {\n \n public {{ classname }}() {\n \n }\n}", "extension": "java"}], "definition": {"fields": [{"type": "text", "name": "classname", "label": "Class Name"}, {"optional": true, "type": "text", "name": "superclassname", "label": "Superclass"}]}, "identifier": "class", "displayname": "Class", "selector": "java"}, "c++/class": {"files": [{"template": "#include \"{{ filename }}.h\"\n\n{{ classname }}::~{{ classname }}()\n{\n \n}\n", "extension": "cpp"}, {"template": "#pragma once\n\nclass {{ classname }}\n{\npublic:\n {{ classname }}( ___ ) : ___ { }\n virtual ~{{ classname }}();\n};\n", "extension": "h"}], "definition": {"fields": [{"type": "text", "name": "classname", "label": "Class Name"}]}, "identifier": "class", "displayname": "Class", "selector": "c++"}, "ruby/class": {"files": [{"template": "class ___\n \n def initialize\n \n end\nend", "extension": "rb"}], "identifier": "class", "displayname": "Class", "selector": "ruby"}, "python/main": {"files": [{"template": "import os\nimport sys\n\ndef main():\n pass\n\nif __name__ == '__main__':\n main()\n\n", "extension": "py"}], "identifier": "main", "displayname": "Main", "selector": "python"}, "ruby/module": {"files": [{"template": "module ___\n \nend", "extension": "rb"}], "identifier": "module", "displayname": "Module", "selector": "ruby"}, "jquery/plugin": {"files": [{"template": "", "extension": "js"}], "identifier": "plugin", "displayname": "Plugin", "selector": "jquery"}, "java/main": {"files": [{"template": "package ___;\n\npublic class Main {\n \n public static void main(String[] args) {\n \n }\n}", "extension": "java"}], "identifier": "main", "displayname": "Main", "selector": "java"}, "c/main": {"files": [{"template": "#include <stdlib.h>\n#include <stdio.h>\n\nint main(int argc, char *argv[]) {\n \n return 0;\n}\n", "extension": "c"}], "identifier": "main", "displayname": "Main", "selector": "c"}, "html/html5": {"files": [{"template": "<!DOCTYPE html>\n<html>\n<head>\n <meta charset=\"utf-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n \n <title></title>\n \n <script src=\"https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js\"></script>\n <link href=\"style.css\" rel=\"stylesheet\" type=\"text/css\">\n \n</head>\n<body>\n \n</body>\n</html>\n", "extension": "html"}], "definition": {"displayname": "HTML 5"}, "identifier": "html5", "displayname": "HTML 5", "selector": "html"}, "c++/main": {"files": [{"template": "#include <iostream>\n\nint main(int argc, char *argv[]) {\n \n return 0;\n}\n", "extension": "cpp"}], "identifier": "main", "displayname": "Main", "selector": "c++"}}