Skip to content

Instantly share code, notes, and snippets.

@xclidongbo
Last active November 16, 2017 17:08
Show Gist options
  • Save xclidongbo/a5525c27cd7e5cdc349ff2d8b26b4333 to your computer and use it in GitHub Desktop.
Save xclidongbo/a5525c27cd7e5cdc349ff2d8b26b4333 to your computer and use it in GitHub Desktop.
# initialization file (not found)
# keymap file (not found)
[
{
"name": "MagicPython",
"version": "1.0.12"
},
{
"name": "Remote-FTP",
"version": "1.3.1"
},
{
"name": "about",
"version": "1.7.8"
},
{
"name": "advanced-new-file",
"version": "0.5.0"
},
{
"name": "advanced-open-file",
"version": "0.16.7"
},
{
"name": "archive-view",
"version": "0.63.3"
},
{
"name": "atom-beautify",
"version": "0.30.6"
},
{
"name": "atom-bootstrap3",
"version": "1.2.12"
},
{
"name": "atom-clock",
"version": "0.1.15"
},
{
"name": "atom-dark-syntax",
"version": "0.28.0",
"theme": "syntax"
},
{
"name": "atom-dark-ui",
"version": "0.53.0",
"theme": "ui"
},
{
"name": "atom-html-preview",
"version": "0.2.2"
},
{
"name": "atom-light-syntax",
"version": "0.29.0",
"theme": "syntax"
},
{
"name": "atom-light-ui",
"version": "0.46.0",
"theme": "ui"
},
{
"name": "atom-material-syntax",
"version": "1.0.7",
"theme": "syntax"
},
{
"name": "atom-material-syntax-dark",
"version": "1.0.0",
"theme": "syntax"
},
{
"name": "atom-material-syntax-light",
"version": "0.4.6",
"theme": "syntax"
},
{
"name": "atom-material-ui",
"version": "2.0.6",
"theme": "ui"
},
{
"name": "atom-react-autocomplete",
"version": "0.1.10"
},
{
"name": "atom-ternjs",
"version": "0.18.3"
},
{
"name": "autoclose-html",
"version": "0.23.0"
},
{
"name": "autocomplete-atom-api",
"version": "0.10.3"
},
{
"name": "autocomplete-css",
"version": "0.17.3"
},
{
"name": "autocomplete-html",
"version": "0.8.1"
},
{
"name": "autocomplete-modules",
"version": "1.7.3"
},
{
"name": "autocomplete-paths",
"version": "2.12.1"
},
{
"name": "autocomplete-plus",
"version": "2.35.11"
},
{
"name": "autocomplete-snippets",
"version": "1.11.1"
},
{
"name": "autoflow",
"version": "0.29.0"
},
{
"name": "autoprefixer",
"version": "3.7.1"
},
{
"name": "autosave",
"version": "0.24.3"
},
{
"name": "background-tips",
"version": "0.27.1"
},
{
"name": "base16-tomorrow-dark-theme",
"version": "1.5.0",
"theme": "syntax"
},
{
"name": "base16-tomorrow-light-theme",
"version": "1.5.0",
"theme": "syntax"
},
{
"name": "bookmarks",
"version": "0.44.4"
},
{
"name": "bracket-matcher",
"version": "0.87.3"
},
{
"name": "busy-signal",
"version": "1.4.3"
},
{
"name": "color-picker",
"version": "2.2.5"
},
{
"name": "command-palette",
"version": "0.41.1"
},
{
"name": "dalek",
"version": "0.2.1"
},
{
"name": "deprecation-cop",
"version": "0.56.9"
},
{
"name": "dev-live-reload",
"version": "0.47.1"
},
{
"name": "docblockr",
"version": "0.13.2"
},
{
"name": "emmet",
"version": "2.4.3"
},
{
"name": "encoding-selector",
"version": "0.23.5"
},
{
"name": "exception-reporting",
"version": "0.41.4"
},
{
"name": "file-icons",
"version": "2.1.13"
},
{
"name": "file-type-icons",
"version": "1.3.4"
},
{
"name": "file-types",
"version": "0.5.5"
},
{
"name": "find-and-replace",
"version": "0.212.2"
},
{
"name": "fuzzy-finder",
"version": "1.5.9"
},
{
"name": "git-diff",
"version": "1.3.6"
},
{
"name": "github",
"version": "0.6.2"
},
{
"name": "go-to-line",
"version": "0.32.1"
},
{
"name": "grammar-selector",
"version": "0.49.5"
},
{
"name": "haskell-grammar",
"version": "0.4.0"
},
{
"name": "highlight-selected",
"version": "0.13.1"
},
{
"name": "image-view",
"version": "0.62.3"
},
{
"name": "incompatible-packages",
"version": "0.27.3"
},
{
"name": "intentions",
"version": "1.1.5"
},
{
"name": "javascript-snippets",
"version": "1.2.1"
},
{
"name": "jquery-snippets",
"version": "11.0.0"
},
{
"name": "js-hyperclick",
"version": "1.12.2"
},
{
"name": "keybinding-resolver",
"version": "0.38.0"
},
{
"name": "language-babel",
"version": "2.78.0"
},
{
"name": "language-c",
"version": "0.58.1"
},
{
"name": "language-clojure",
"version": "0.22.4"
},
{
"name": "language-coffee-script",
"version": "0.49.0"
},
{
"name": "language-csharp",
"version": "0.14.2"
},
{
"name": "language-css",
"version": "0.42.5"
},
{
"name": "language-gfm",
"version": "0.90.1"
},
{
"name": "language-git",
"version": "0.19.1"
},
{
"name": "language-go",
"version": "0.44.2"
},
{
"name": "language-graphql",
"version": "0.9.0"
},
{
"name": "language-haskell",
"version": "1.14.3"
},
{
"name": "language-html",
"version": "0.47.7"
},
{
"name": "language-hyperlink",
"version": "0.16.2"
},
{
"name": "language-ini",
"version": "1.19.0"
},
{
"name": "language-java",
"version": "0.27.4"
},
{
"name": "language-javascript",
"version": "0.127.3"
},
{
"name": "language-json",
"version": "0.19.1"
},
{
"name": "language-less",
"version": "0.33.0"
},
{
"name": "language-lua",
"version": "0.9.11"
},
{
"name": "language-make",
"version": "0.22.3"
},
{
"name": "language-mustache",
"version": "0.14.1"
},
{
"name": "language-objective-c",
"version": "0.15.1"
},
{
"name": "language-ocaml",
"version": "1.9.5"
},
{
"name": "language-perl",
"version": "0.37.0"
},
{
"name": "language-php",
"version": "0.42.0"
},
{
"name": "language-property-list",
"version": "0.9.1"
},
{
"name": "language-python",
"version": "0.45.4"
},
{
"name": "language-ruby",
"version": "0.71.3"
},
{
"name": "language-ruby-on-rails",
"version": "0.25.2"
},
{
"name": "language-rust",
"version": "0.4.12"
},
{
"name": "language-sass",
"version": "0.61.1"
},
{
"name": "language-shellscript",
"version": "0.25.3"
},
{
"name": "language-source",
"version": "0.9.0"
},
{
"name": "language-sql",
"version": "0.25.8"
},
{
"name": "language-swift",
"version": "0.5.0"
},
{
"name": "language-text",
"version": "0.7.3"
},
{
"name": "language-thrift",
"version": "1.0.2"
},
{
"name": "language-todo",
"version": "0.29.2"
},
{
"name": "language-toml",
"version": "0.18.1"
},
{
"name": "language-typescript",
"version": "0.2.1"
},
{
"name": "language-xml",
"version": "0.35.2"
},
{
"name": "language-yaml",
"version": "0.30.2"
},
{
"name": "line-ending-selector",
"version": "0.7.3"
},
{
"name": "link",
"version": "0.31.3"
},
{
"name": "linter",
"version": "2.2.0"
},
{
"name": "linter-eslint",
"version": "8.4.0"
},
{
"name": "linter-js-standard",
"version": "4.0.2"
},
{
"name": "linter-ui-default",
"version": "1.6.10"
},
{
"name": "markdown-format",
"version": "2.5.1"
},
{
"name": "markdown-preview",
"version": "0.159.15"
},
{
"name": "markdown-preview-enhanced",
"version": "0.14.11"
},
{
"name": "markdown-preview-plus",
"version": "2.4.16"
},
{
"name": "markdown-scroll-sync",
"version": "2.1.2"
},
{
"name": "markdown-writer",
"version": "2.7.3"
},
{
"name": "metrics",
"version": "1.2.6"
},
{
"name": "minimap",
"version": "4.29.7"
},
{
"name": "notifications",
"version": "0.69.2"
},
{
"name": "nuclide",
"version": "0.267.0"
},
{
"name": "nuclide-format-js",
"version": "0.0.41"
},
{
"name": "one-dark-syntax",
"version": "1.8.0",
"theme": "syntax"
},
{
"name": "one-dark-ui",
"version": "1.10.8",
"theme": "ui"
},
{
"name": "one-light-syntax",
"version": "1.8.0",
"theme": "syntax"
},
{
"name": "one-light-ui",
"version": "1.10.8",
"theme": "ui"
},
{
"name": "open-on-github",
"version": "1.2.1"
},
{
"name": "package-generator",
"version": "1.1.1"
},
{
"name": "platformio-ide-terminal",
"version": "2.7.0"
},
{
"name": "pretty-json",
"version": "1.6.4"
},
{
"name": "react-es6-snippets",
"version": "0.3.0"
},
{
"name": "react-native-snippets",
"version": "0.3.0"
},
{
"name": "react-native-snippets-horse",
"version": "2.0.0"
},
{
"name": "react-redux-atom-snippets",
"version": "0.7.2"
},
{
"name": "react-snippets",
"version": "1.0.0"
},
{
"name": "set-syntax",
"version": "0.4.0"
},
{
"name": "settings-view",
"version": "0.251.10"
},
{
"name": "simplified-chinese-menu",
"version": "5.3.4"
},
{
"name": "snippets",
"version": "1.1.5"
},
{
"name": "solarized-dark-syntax",
"version": "1.1.2",
"theme": "syntax"
},
{
"name": "solarized-light-syntax",
"version": "1.1.2",
"theme": "syntax"
},
{
"name": "sort-lines",
"version": "0.18.0"
},
{
"name": "spell-check",
"version": "0.72.2"
},
{
"name": "status-bar",
"version": "1.8.13"
},
{
"name": "styleguide",
"version": "0.49.7"
},
{
"name": "symbols-view",
"version": "0.118.0"
},
{
"name": "sync-settings",
"version": "0.8.3"
},
{
"name": "tabs",
"version": "0.107.2"
},
{
"name": "timecop",
"version": "0.36.0"
},
{
"name": "tool-bar",
"version": "1.1.0"
},
{
"name": "tree-view",
"version": "0.217.9"
},
{
"name": "tree-view-finder",
"version": "0.2.1"
},
{
"name": "unity-ui",
"version": "2.1.11",
"theme": "ui"
},
{
"name": "update-package-dependencies",
"version": "0.12.0"
},
{
"name": "vim-mode",
"version": "0.66.0"
},
{
"name": "welcome",
"version": "0.36.5"
},
{
"name": "whitespace",
"version": "0.37.3"
},
{
"name": "wrap-guide",
"version": "0.40.2"
}
]
{
"atom-ternjs": {
"inlineFnCompletionDocumentation": true,
"snippetsFirst": true,
"useSnippets": true,
"useSnippetsAndFunction": true
},
"autocomplete-paths": {},
"core": {
"autoHideMenuBar": true,
"customFileTypes": {
"source.ini": [
".buckconfig",
".hgrc",
".flowconfig"
],
"source.json": [
"BUCK.autodeps"
],
"source.python": [
"BUCK"
]
},
"disabledPackages": [
"simplified-chinese-menu",
"markdown-preview",
"markdown-format",
"markdown-preview-plus",
"vim-mode",
"markdown-preview-enhanced",
"linter",
"linter-ui-default",
"autocomplete-paths",
"tree-view"
],
"ignoredNames": [
"build/",
"vendor/bundle/",
"node_modules/",
"bower_components/",
"log/",
"coverage/",
".git",
".hg",
".svn",
".DS_Store",
"._*",
"Thumbs.db",
"desktop.ini"
],
"telemetryConsent": "no",
"themes": [
"atom-material-ui",
"atom-material-syntax"
]
},
"editor": {
"invisibles": {},
"scrollPastEnd": true,
"showIndentGuide": true,
"showInvisibles": true,
"softWrap": true
},
"exception-reporting": {
"userId": "2243cc24-7020-7293-603e-10c06c84ea0d"
},
"js-hyperclick": {
"extensions": [
".js",
".json",
".node",
".jsx"
],
"jumpToImport": true
},
"linter-eslint": {
"disableWhenNoEslintConfig": false,
"globalNodePath": "/usr/local",
"useGlobalEslint": true
},
"linter-js-standard": {},
"linter-ui-default": {
"panelHeight": 300
},
"markdown-preview": {},
"markdown-writer": {},
"nuclide": {
"installRecommendedPackages": true,
"nuclide-debugger": {
"openDevToolsOnDebuggerStart": true
},
"nuclide-debugger-native": {},
"nuclide-flow": {
"excludeOtherAutocomplete": true,
"lazyServer": true,
"pathToFlow": "/usr/local/bin/flow",
"warnOnNotInstalled": false
},
"nuclide-home": {},
"nuclide-react-native": {
"pathToNode": "/usr/local/bin/node"
},
"useLocalRpc": true
},
"sync-settings": {},
"tree-view": {},
"welcome": {
"showOnStartup": false
},
"whitespace": {}
}
# ClassExtends
'.source.js':
'export class extends':
'prefix': 'ece'
'body': '''
export default class ${1:className} extends Component {
constructor(props){
super(props);
this.state = {
$2
};
}
}
'''
'import external class':
'prefix': 'iec'
'body': '''
import ${1:moduleName} from '${2:modulePath}';
'''
'import react class':
'prefix': 'irc'
'body': '''
import React, { Component } from 'react';
import {
AppRegistry,
StyleSheet,
Text,
View,
Image,
Dimensions,
} from 'react-native';
'''
'const styles':
'prefix': 'css'
'body': '''
const styles = StyleSheet.create({
container: {
$1
},
});
'''
// styles file (not found)
atom-text-editor {
// font-family: source code pro;
font-size: 13px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment