From 4c95222930dc8c594d705f708a16c0b293f27557 Mon Sep 17 00:00:00 2001 From: Zykino Date: Mon, 10 Sep 2018 23:27:26 +0200 Subject: [PATCH] initial commit --- .gitignore | 9 ++++++++ config.cson | 57 +++++++++++++++++++++++++++++++++++++++++++++++ github.cson | 1 + init.coffee | 11 +++++++++ keymap.cson | 32 ++++++++++++++++++++++++++ package-file.list | 11 +++++++++ snippets.cson | 52 ++++++++++++++++++++++++++++++++++++++++++ styles.less | 32 ++++++++++++++++++++++++++ 8 files changed, 205 insertions(+) create mode 100644 .gitignore create mode 100644 config.cson create mode 100644 github.cson create mode 100644 init.coffee create mode 100644 keymap.cson create mode 100644 package-file.list create mode 100644 snippets.cson create mode 100644 styles.less diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5bcd99d --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +blob-store +compile-cache +dev +packages +recovery +storage +.apm +.node-gyp +.npm diff --git a/config.cson b/config.cson new file mode 100644 index 0000000..2b7dce1 --- /dev/null +++ b/config.cson @@ -0,0 +1,57 @@ +"*": + "atom-ide-ui": + use: {} + core: + autoHideMenuBar: true + disabledPackages: [ + "metrics" + ] + packagesWithKeymapsDisabled: [] + projectHome: "C:\\Users\\Julien\\Documents\\0DocsPerso\\Code" + telemetryConsent: "no" + themes: [ + "atom-dark-ui" + "one-dark-syntax" + ] + uriHandlerRegistration: "always" + editor: + fontSize: 12 + invisibles: {} + scrollPastEnd: true + showIndentGuide: true + softTabs: false + softWrap: true + tabLength: 4 + "exception-reporting": + userId: "a04b296b-b5e0-4de9-8f68-bafc20e6b87a" + "file-icons": + strategies: {} + "git-diff": {} + "git-plus": + commits: {} + remoteInteractions: + pullBeforePush: true + github: {} + "javascript-refactor": {} + "minimap-plus": + scrollAnimation: true + "pretty-json": + prettifyOnSaveJSON: true + "tool-bar": {} + "tree-view": + autoReveal: true + welcome: + showOnStartup: false +".diff.source": + editor: + showIndentGuide: false + showInvisibles: true +".js.regexp.replacement.source": + editor: + softWrapHangingIndent: 1 +".js.regexp.source": + editor: + softWrapHangingIndent: 1 +".js.source": + editor: + softWrapHangingIndent: 4 diff --git a/github.cson b/github.cson new file mode 100644 index 0000000..031c17c --- /dev/null +++ b/github.cson @@ -0,0 +1 @@ +# Store non-visible GitHub package state. diff --git a/init.coffee b/init.coffee new file mode 100644 index 0000000..09dab00 --- /dev/null +++ b/init.coffee @@ -0,0 +1,11 @@ +# 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()}" diff --git a/keymap.cson b/keymap.cson new file mode 100644 index 0000000..01ac18c --- /dev/null +++ b/keymap.cson @@ -0,0 +1,32 @@ +# 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: +# * http://flight-manual.atom.io/using-atom/sections/basic-customization/#_customizing_keybindings +# * http://flight-manual.atom.io/behind-atom/sections/keymaps-in-depth/ +# +# If you're having trouble with your keybindings not working, try the +# Keybinding Resolver: `Cmd+.` on macOS and `Ctrl+.` on other platforms. See the +# Debugging Guide for more information: +# * http://flight-manual.atom.io/hacking-atom/sections/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: +# http://flight-manual.atom.io/using-atom/sections/basic-customization/#_cson diff --git a/package-file.list b/package-file.list new file mode 100644 index 0000000..3224775 --- /dev/null +++ b/package-file.list @@ -0,0 +1,11 @@ +atom-ide-ui@0.13.0 +atom-live-server@2.3.0 +autocomplete-python-jedi@1.10.3-0 +color-picker@2.3.0 +file-icons@2.1.24 +git-plus@8.1.0 +ide-json@0.2.1 +ide-typescript@0.7.6 +minimap-plus@4.29.2 +pretty-json@2.0.3 + diff --git a/snippets.cson b/snippets.cson new file mode 100644 index 0000000..11a1c89 --- /dev/null +++ b/snippets.cson @@ -0,0 +1,52 @@ +# Your snippets +# +# Atom snippets allow you to enter a simple prefix in the editor and hit tab to +# expand the prefix into a larger code block with templated values. +# +# You can create a new snippet in this file by typing "snip" and then hitting +# tab. +# +# An example CoffeeScript snippet to expand log to console.log: +# +# '.source.coffee': +# 'Console log': +# 'prefix': 'log' +# 'body': 'console.log $1' +# +# Each scope (e.g. '.source.coffee' above) can only be declared once. +# +# This file uses CoffeeScript Object Notation (CSON). +# If you are unfamiliar with CSON, you can read more about it in the +# Atom Flight Manual: +# http://flight-manual.atom.io/using-atom/sections/basic-customization/#_cson + + +'.source.js': + 'Console debug': + 'prefix': 'debug' + 'body': 'console.debug($1);' + 'Console info': + 'prefix': 'info' + 'body': 'console.info($1);' + 'Phaser class': + 'prefix': 'classPhaser' + 'body': """ +class $1 extends Phaser.Scene { + constructor() { + super({ + key: "$1"$2 + });$3 + } + + preload() { + $4 + } + + create() { + $5 + } + + update() { + $6 + } +}""" diff --git a/styles.less b/styles.less new file mode 100644 index 0000000..e4fad4f --- /dev/null +++ b/styles.less @@ -0,0 +1,32 @@ +/* + * 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%); +} + +// style UI elements inside atom-text-editor +atom-text-editor .cursor { + // border-color: red; +}