Last active
October 27, 2017 08:49
-
-
Save alisanie/cee64f78cb44bcfffeb3574cea98ea81 to your computer and use it in GitHub Desktop.
automatic update by http://atom.io/packages/sync-settings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> | |
# console.log "Saved! #{editor.getPath()}" | |
atom.commands.dispatch(atom.views.getView(atom.workspace), 'atom-hide-tabs:toggle'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Your keymap | |
# | |
# Atom keymaps work similarly to style sheets. Just as style sheets use | |
# selectors to apply styles to elements, Atom keymaps use selectors to associate | |
# keystrokes with events in specific contexts. Unlike style sheets however, | |
# each selector can only be declared once. | |
# | |
# You can create a new keybinding in this file by typing "key" and then hitting | |
# tab. | |
# | |
# Here's an example taken from Atom's built-in keymap: | |
# | |
# 'atom-text-editor': | |
# 'enter': 'editor:newline' | |
# | |
# 'atom-workspace': | |
# 'ctrl-shift-p': 'core:move-up' | |
# 'ctrl-p': 'core:move-down' | |
# | |
# You can find more information about keymaps in these guides: | |
# * https://atom.io/docs/latest/using-atom-basic-customization#customizing-key-bindings | |
# * https://atom.io/docs/latest/behind-atom-keymaps-in-depth | |
# | |
# If you're having trouble with your keybindings not working, try the | |
# Keybinding Resolver: `Cmd+.` on OS X and `Ctrl+.` on other platforms. See the | |
# Debugging Guide for more information: | |
# * https://atom.io/docs/latest/hacking-atom-debugging#check-the-keybindings | |
# | |
# This file uses CoffeeScript Object Notation (CSON). | |
# If you are unfamiliar with CSON, you can read more about it in the | |
# Atom Flight Manual: | |
# https://atom.io/docs/latest/using-atom-basic-customization#cson | |
'.platform-darwin': | |
'cmd-1': 'tree-view:toggle' | |
'.platform-darwin atom-workspace': | |
'cmd-n': 'advanced-open-file:toggle' | |
#My Vim Keymapping | |
'atom-text-editor.vim-mode-plus:not(.normal-mode)': | |
'j k': 'vim-mode-plus:activate-normal-mode' | |
'atom-text-editor.vim-mode-plus.normal-mode': | |
',': 'vim-mode-plus-ex-mode:open' | |
#Make my code beutiful | |
'.editor': | |
'ctrl-i': 'atom-beautify:beautify-editor' | |
#Run script | |
'.platform-darwin atom-text-editor': | |
'cmd-r': 'script:run' | |
'cmd-e': 'unset!' | |
#recent-files-fuzzy-finder | |
'atom-workspace': | |
'cmd-e': 'recent-files-fuzzy-finder:toggle-finder' | |
'alt-t': 'wrap-in-tag:wrap' | |
#emet Fix on Php | |
'atom-text-editor[data-grammar="text` html basic"]:not([mini])': | |
'tab': 'emmet:expand-abbreviation-with-tab' | |
# 'atom-text-editor:not([mini])': | |
# 'tab': 'emmet:expand-abbreviation-with-tab' | |
# | |
# '.pane .editor:not(.mini)': | |
# 'tab': 'snippets:expand' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DON'T REMOVE IT ! Its Atom settings "LetsBeginAtom" | |
😇 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"name": "about", | |
"version": "1.7.8" | |
}, | |
{ | |
"name": "advanced-open-file", | |
"version": "0.16.7" | |
}, | |
{ | |
"name": "angularjs", | |
"version": "0.4.0" | |
}, | |
{ | |
"name": "archive-view", | |
"version": "0.63.3" | |
}, | |
{ | |
"name": "atom-autocomplete-php", | |
"version": "0.25.6" | |
}, | |
{ | |
"name": "atom-beautify", | |
"version": "0.30.5" | |
}, | |
{ | |
"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-django", | |
"version": "0.3.2" | |
}, | |
{ | |
"name": "atom-hide-tabs", | |
"version": "0.3.1" | |
}, | |
{ | |
"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-ui", | |
"version": "2.0.6", | |
"theme": "ui" | |
}, | |
{ | |
"name": "atom-runner", | |
"version": "2.7.1" | |
}, | |
{ | |
"name": "atom-ternjs", | |
"version": "0.18.3" | |
}, | |
{ | |
"name": "atom-typescript", | |
"version": "11.0.10" | |
}, | |
{ | |
"name": "atom-wrap-in-tag", | |
"version": "0.6.0" | |
}, | |
{ | |
"name": "aurora-theme", | |
"version": "1.2.2", | |
"theme": "syntax" | |
}, | |
{ | |
"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-plus", | |
"version": "2.35.11" | |
}, | |
{ | |
"name": "autocomplete-snippets", | |
"version": "1.11.1" | |
}, | |
{ | |
"name": "autocomplete-wordpress-hooks", | |
"version": "0.2.3" | |
}, | |
{ | |
"name": "autoflow", | |
"version": "0.29.0" | |
}, | |
{ | |
"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": "batman-syntax", | |
"version": "1.1.0", | |
"theme": "syntax" | |
}, | |
{ | |
"name": "blade-snippets", | |
"version": "0.2.0" | |
}, | |
{ | |
"name": "bookmarks", | |
"version": "0.44.4" | |
}, | |
{ | |
"name": "bracket-matcher", | |
"version": "0.87.3" | |
}, | |
{ | |
"name": "browser-plus", | |
"version": "0.0.98" | |
}, | |
{ | |
"name": "busy-signal", | |
"version": "1.4.3" | |
}, | |
{ | |
"name": "chester-atom-syntax", | |
"version": "0.3.0", | |
"theme": "syntax" | |
}, | |
{ | |
"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.11.0" | |
}, | |
{ | |
"name": "duotone-dark-syntax", | |
"version": "2.1.0", | |
"theme": "syntax" | |
}, | |
{ | |
"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": "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.7.0" | |
}, | |
{ | |
"name": "go-to-line", | |
"version": "0.32.1" | |
}, | |
{ | |
"name": "grammar-selector", | |
"version": "0.49.5" | |
}, | |
{ | |
"name": "image-view", | |
"version": "0.62.3" | |
}, | |
{ | |
"name": "incompatible-packages", | |
"version": "0.27.3" | |
}, | |
{ | |
"name": "indent-guide-improved", | |
"version": "1.4.13" | |
}, | |
{ | |
"name": "intentions", | |
"version": "1.1.5" | |
}, | |
{ | |
"name": "isotope-light-ui", | |
"version": "2.3.0", | |
"theme": "ui" | |
}, | |
{ | |
"name": "keybinding-resolver", | |
"version": "0.38.0" | |
}, | |
{ | |
"name": "language-blade", | |
"version": "0.36.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-html", | |
"version": "0.47.7" | |
}, | |
{ | |
"name": "language-hyperlink", | |
"version": "0.16.2" | |
}, | |
{ | |
"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-make", | |
"version": "0.22.3" | |
}, | |
{ | |
"name": "language-mustache", | |
"version": "0.14.1" | |
}, | |
{ | |
"name": "language-objective-c", | |
"version": "0.15.1" | |
}, | |
{ | |
"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-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-text", | |
"version": "0.7.3" | |
}, | |
{ | |
"name": "language-todo", | |
"version": "0.29.2" | |
}, | |
{ | |
"name": "language-toml", | |
"version": "0.18.1" | |
}, | |
{ | |
"name": "language-typescript", | |
"version": "0.2.1" | |
}, | |
{ | |
"name": "language-vue", | |
"version": "0.23.1" | |
}, | |
{ | |
"name": "language-xml", | |
"version": "0.35.2" | |
}, | |
{ | |
"name": "language-yaml", | |
"version": "0.30.2" | |
}, | |
{ | |
"name": "laravel", | |
"version": "0.7.1" | |
}, | |
{ | |
"name": "line-ending-selector", | |
"version": "0.7.3" | |
}, | |
{ | |
"name": "link", | |
"version": "0.31.3" | |
}, | |
{ | |
"name": "linter", | |
"version": "2.2.0" | |
}, | |
{ | |
"name": "linter-php", | |
"version": "1.5.1" | |
}, | |
{ | |
"name": "linter-pycodestyle", | |
"version": "2.1.3" | |
}, | |
{ | |
"name": "linter-ui-default", | |
"version": "1.6.10" | |
}, | |
{ | |
"name": "markdown-preview", | |
"version": "0.159.15" | |
}, | |
{ | |
"name": "metrics", | |
"version": "1.2.6" | |
}, | |
{ | |
"name": "minimap", | |
"version": "4.29.7" | |
}, | |
{ | |
"name": "notifications", | |
"version": "0.69.2" | |
}, | |
{ | |
"name": "nucleus-dark-ui", | |
"version": "0.12.3", | |
"theme": "ui" | |
}, | |
{ | |
"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-in-browser", | |
"version": "0.5.2" | |
}, | |
{ | |
"name": "open-on-github", | |
"version": "1.2.1" | |
}, | |
{ | |
"name": "package-generator", | |
"version": "1.1.1" | |
}, | |
{ | |
"name": "pain-split", | |
"version": "1.4.0" | |
}, | |
{ | |
"name": "php-fmt", | |
"version": "0.1.2" | |
}, | |
{ | |
"name": "php-integrator-autocomplete-plus", | |
"version": "1.6.0" | |
}, | |
{ | |
"name": "php-integrator-base", | |
"version": "3.0.1" | |
}, | |
{ | |
"name": "piatto-light-syntax", | |
"version": "0.2.2", | |
"theme": "syntax" | |
}, | |
{ | |
"name": "platformio-ide-terminal", | |
"version": "2.7.0" | |
}, | |
{ | |
"name": "pristine-ui", | |
"version": "1.1.10", | |
"theme": "ui" | |
}, | |
{ | |
"name": "project-manager", | |
"version": "3.3.5" | |
}, | |
{ | |
"name": "rain-ui", | |
"version": "1.0.1", | |
"theme": "ui" | |
}, | |
{ | |
"name": "recent-files-fuzzy-finder", | |
"version": "0.3.2" | |
}, | |
{ | |
"name": "rename-tabs", | |
"version": "0.2.0" | |
}, | |
{ | |
"name": "restart-atom", | |
"version": "0.2.0" | |
}, | |
{ | |
"name": "script", | |
"version": "3.17.3" | |
}, | |
{ | |
"name": "set-syntax", | |
"version": "0.4.0" | |
}, | |
{ | |
"name": "settings-view", | |
"version": "0.251.10" | |
}, | |
{ | |
"name": "slime", | |
"version": "2.4.0", | |
"theme": "syntax" | |
}, | |
{ | |
"name": "smart-tab-name", | |
"version": "1.0.5" | |
}, | |
{ | |
"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": "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": "todo-show", | |
"version": "2.1.0" | |
}, | |
{ | |
"name": "tree-view", | |
"version": "0.217.9" | |
}, | |
{ | |
"name": "update-package-dependencies", | |
"version": "0.12.0" | |
}, | |
{ | |
"name": "vim-mode-plus", | |
"version": "1.14.1" | |
}, | |
{ | |
"name": "vim-mode-plus-ex-mode", | |
"version": "0.10.1" | |
}, | |
{ | |
"name": "welcome", | |
"version": "0.36.5" | |
}, | |
{ | |
"name": "whitespace", | |
"version": "0.37.3" | |
}, | |
{ | |
"name": "wordpress-api", | |
"version": "1.2.2" | |
}, | |
{ | |
"name": "wrap-guide", | |
"version": "0.40.2" | |
} | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"advanced-open-file": { | |
"createDirectories": true | |
}, | |
"atom-autocomplete-php": { | |
"autoloadPaths": [ | |
"vendor/autoload.php", | |
"autoload.php", | |
"/vendor/autoload.php" | |
], | |
"gotoKey": "cmd" | |
}, | |
"atom-beautify": { | |
"general": { | |
"_analyticsUserId": "750098e5-f9db-457e-a581-a15efe97ad88" | |
}, | |
"puppet": { | |
"beautify_on_save": true | |
} | |
}, | |
"atom-material-ui": { | |
"colors": { | |
"abaseColor": "#ef5350", | |
"accentColor": "#59fcff", | |
"predefinedColor": "Red" | |
}, | |
"treeView": { | |
"compactList": true | |
} | |
}, | |
"atom-runner": { | |
"paneSplitDirection": "Right" | |
}, | |
"autocomplete-modules": { | |
"babelPluginModuleResolver": true, | |
"includeExtension": true, | |
"webpack": true | |
}, | |
"autocomplete-plus": { | |
"confirmCompletion": "enter" | |
}, | |
"autocomplete-python": { | |
"useKite": false | |
}, | |
"autosave": { | |
"enabled": true | |
}, | |
"color-picker": {}, | |
"core": { | |
"disabledPackages": [ | |
"wrap-guide", | |
"linter", | |
"linter-pycodestyle", | |
"linter-ui-default", | |
"minimap" | |
], | |
"telemetryConsent": "limited", | |
"themes": [ | |
"pristine-ui", | |
"slime" | |
] | |
}, | |
"editor": { | |
"autoIndentOnPaste": false, | |
"fontFamily": "Fira Code", | |
"fontSize": 16, | |
"lineHeight": 2, | |
"preferredLineLength": 140, | |
"softWrap": true, | |
"softWrapAtPreferredLineLength": true | |
}, | |
"emmet": { | |
"extensionsPath": "~/emmet~/Dropbox/Apps/atom/" | |
}, | |
"exception-reporting": { | |
"userId": "b46839fc-03ea-ba80-2413-e579b9ea1dad" | |
}, | |
"linter": {}, | |
"linter-php": { | |
"executablePath": "/usr/local/bin/php" | |
}, | |
"minimap": { | |
"absoluteMode": true, | |
"interline": 1.2, | |
"moveCursorOnMinimapClick": true, | |
"plugins": { | |
"minimap-autohider": true, | |
"minimap-autohiderDecorationsZIndex": 0 | |
} | |
}, | |
"php-cs-fixer": { | |
"executeOnSave": true | |
}, | |
"php-debug": { | |
"ServerPort": 9988, | |
"currentPanelMode": "bottom" | |
}, | |
"php-fmt": { | |
"PSRNaming": true, | |
"autoAlign": true, | |
"phpExecutablePath": "/usr/local/bin/php", | |
"selfUpdate": true | |
}, | |
"php-integrator-base": { | |
"core": { | |
"phpCommand": "/usr/local/bin/php" | |
} | |
}, | |
"platformio-ide-terminal": { | |
"toggles": { | |
"autoClose": true | |
} | |
}, | |
"recent-files-fuzzy-finder": { | |
"restoreSession": true | |
}, | |
"script": { | |
"stopOnRerun": true | |
}, | |
"spell-check": { | |
"addKnownWords": true | |
}, | |
"sync-settings": { | |
"checkForUpdatedBackup": false | |
}, | |
"terminal-plus": { | |
"toggles": { | |
"autoClose": true | |
} | |
}, | |
"tree-view": { | |
"hideVcsIgnoredFiles": true | |
}, | |
"vim-mode": { | |
"startInInsertMode": true | |
}, | |
"vim-mode-plus": { | |
"automaticallyEscapeInsertModeOnActivePaneItemChange": true, | |
"ignoreCaseForSearch": true, | |
"ignoreCaseForSearchCurrentWord": true, | |
"incrementalSearch": true, | |
"notifiedCoffeeScriptNoLongerSupportedToExtendVMP": true, | |
"smoothScrollOnHalfScrollMotion": true, | |
"statusBarModeStringStyle": "long", | |
"stayOnDelete": true, | |
"stayOnYank": true | |
}, | |
"vim-mode-plus-ex-mode": { | |
"notifiedUseExMode": true | |
}, | |
"welcome": { | |
"showOnStartup": false | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Atom Flight Manual: | |
# https://atom.io/docs/latest/using-atom-basic-customization#cson | |
#################################################################### | |
'.source.css,.source.scss': | |
#css Comment | |
'Add Css Comment': | |
'prefix':'cssComment' | |
'body':'/* ### ${1:comment} ### */' | |
#sexy Font | |
'Add sexy font': | |
'prefix':'sexyfont' | |
'body':""" | |
-webkit-font-smoothing:antialiased; | |
text-rendering: optimizeLegibility; | |
""" | |
#################################################################### | |
'.text.html,.text.html.php': | |
#bootstrap URL | |
'Add bootstrap URL': | |
'prefix':'addBoot' | |
'body':""" | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> | |
""" | |
#Vue URL | |
'Add Vue URL': | |
'prefix':'addVue' | |
'body':""" | |
<script src="https://vuejs.org/js/vue.js"></script> | |
""" | |
#HTML Comment | |
'Add Comment': | |
'prefix':'htmlComment' | |
'body':""" | |
<!--############### $1 ######################--> | |
""" | |
#Form Body | |
'Making Form Body': | |
'prefix':'lform' | |
'body':""" | |
{!!Form::${1:open}(${3:[${2}]})!!} | |
$4 | |
{!!Form::close()!!} | |
""" | |
#Form file | |
'Making Form File Field': | |
'prefix':'flField' | |
'body':""" | |
<div class="form-group"> | |
{!!Form::label('${1:id}', '${2:title}')!!} | |
{!!Form::file('file',['id'=>'${1:id}'])!!} | |
${4:<p class="help-block">${3:help}</p>} | |
</div><!--upload file--> | |
""" | |
#Form Label | |
'Making Form Label': | |
'prefix':'lblField' | |
'body':""" | |
{!!Form::label('${1:id}', '${2:title}')!!} | |
""" | |
#Form Text | |
'Making Text Field': | |
'prefix':'txtField' | |
'body':""" | |
<div class="form-group"> | |
{!!Form::label('${1:id}', '${2:title}')!!} | |
{!!Form::${3:text}('${1:id}',old('${1:id}'),['class'=>'form-control','id'=>'${1:id}'])!!} | |
</div><!--form-group:${1:id}--> | |
""" | |
#Form Submit | |
'Making Submit BTN': | |
'prefix':'btnForm' | |
'body':""" | |
<div class="form-group"> | |
{!!Form::submit('${1:submit}',['class'=>'btn ${2:btn-success} btn-block'])!!} | |
</div><!--form-group:Submit--> | |
""" | |
#Form Password | |
'Making Password Field': | |
'prefix':'passField' | |
'body':""" | |
<div class="form-group"> | |
{!!Form::label('${1:id}', '${2:title}')!!} | |
{!!Form::password('${1:id}',['class'=>'form-control','id'=>'${1:id}'])!!} | |
</div><!--form-group:${1:id}--> | |
""" | |
#Form Dropdown List | |
'Making Text Pass': | |
'prefix':'selectField' | |
'body':""" | |
<div class="form-group"> | |
{!!Form::label('${1:id}', '${2:title}')!!} | |
{!!Form::select('${1:id}[]',[${3:value}],${4:null},['multiple'=>true,'id'=>'${1:id}','style'=>'width: 100%'])!!} | |
</div><!--form-group:${1:id}--> | |
""" | |
#################################################################### | |
'.source.python': | |
#BOOLEAN FIELD | |
'Add BoolField Model': | |
'prefix': 'boolField' | |
'body': '$1= models.BooleanField(default=False)' | |
#use Python 3.5 | |
'use Python 3.5': | |
'prefix': 'usepython3.5' | |
'body': '#!/usr/bin/env python3.5' | |
#CHAR FIELD | |
'Add CharField Model': | |
'prefix': 'charField' | |
'body': '$1= models.CharField(max_length=$2)' | |
#Text FIELD | |
'Add Text Model': | |
'prefix': 'txtField' | |
'body': '$1= models.TextField(blank=True, null=True)' | |
#TIME FIELD | |
'Add DateTimeField Model': | |
'prefix': 'dateTimeField' | |
'body': '$1 = models.DateTimeField(blank=True, null=True)' | |
#TIME FIELD | |
'Create ForeignKey': | |
'prefix': 'frKeyField' | |
'body': '$1 = models.ForeignKey(\'$2\')' | |
#Create Model Table | |
'Create Model Tablel': | |
'prefix': 'crmd' | |
'body': """ | |
class $1(models.Model): | |
$3 | |
is_deleted = models.BooleanField(default=False) | |
created_at = models.DateTimeField(auto_now_add=True) | |
updated_at = models.DateTimeField(auto_now=True) | |
def __str__(self): | |
return smart_text(self.$2) | |
""" | |
#################################################################### | |
'.source.php': | |
#ForeignKey for migrate | |
'making FroeignKey for migrate': | |
'prefix': 'frk' | |
'body': '$table->foreign(\'$1\')->references(\'$2\')->on(\'$3\');' | |
#Route get Controller | |
'making get route controller': | |
'prefix': 'rgc' | |
'body': 'Route::get(\'$1\',\'$2Controller\');' | |
#Route post Controller | |
'making post route controller': | |
'prefix': 'rpc' | |
'body': 'Route::post(\'$1\',\'$2Controller\');' | |
#Route get | |
'making get route': | |
'prefix': 'rg' | |
'body': 'Route::get(\'$1\',\'$2Controller@$3\');' | |
#Route post | |
'making post route': | |
'prefix': 'rp' | |
'body': 'Route::post(\'$1\',\'$2Controller@$3\');' | |
#Route Resource | |
'making Resources route': | |
'prefix': 'rr' | |
'body': 'Route::resource(\'$1\',\'$2Controller\');' | |
#################################################################### | |
#Create public function | |
'Create Method': | |
'prefix': 'pubf' | |
'body':""" | |
public function $1($2){ | |
return $3; | |
} | |
""" | |
#Create construct | |
'ForeignKey for migrate': | |
'prefix': '__c' | |
'body':""" | |
${1:protected $$2}; | |
public function __construct($2) | |
{ | |
${1:$this->$2=$$2}; | |
} | |
""" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Your Stylesheet | |
* | |
* This stylesheet is loaded when Atom starts up and is reloaded automatically | |
* when it is changed and saved. | |
* | |
* Add your own CSS or Less to fully customize Atom. | |
* If you are unfamiliar with Less, you can read more about it here: | |
* http://lesscss.org | |
*/ | |
/* | |
* Examples | |
* (To see them, uncomment and save) | |
*/ | |
// style the background color of the tree view | |
.tree-view { | |
// background-color: whitesmoke; | |
} | |
// style the background and foreground colors on the atom-text-editor-element itself | |
atom-text-editor { | |
// color: white; | |
// background-color: hsl(180, 24%, 12%); | |
} | |
// To style other content in the text editor's shadow DOM, use the ::shadow expression | |
atom-text-editor::shadow .cursor { | |
// border-color: red; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment