Skip to content

Instantly share code, notes, and snippets.

@tlindig
Last active November 16, 2016 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tlindig/9459e5a2d01127367f5ef911c07dbd06 to your computer and use it in GitHub Desktop.
Save tlindig/9459e5a2d01127367f5ef911c07dbd06 to your computer and use it in GitHub Desktop.
List of usefull extension for SourceEditor Atom

Usefull extension for SourceEditor Atom

Sublime Style Column Selection

https://atom.io/packages/Sublime-Style-Column-Selection

Enable Sublime style 'Column Selection', allowing you to drag across lines to select a block of text with carets on each line.

aligner

https://atom.io/packages/aligner

Easily align multi-line with support for different operators and custom configurations

Auto Detect Indentation for atom

https://atom.io/packages/auto-detect-indentation

Automatically detect indentation of opened files. It looks at each opened file and sets file specific tab settings (hard/soft tabs, tab length) based on the content of the file instead of always using the editor defaults.

A Color Picker for Atom

https://atom.io/packages/color-picker

Right click and select Color Picker, or hit CMD-SHIFT-C/CTRL-ALT-C to open it. Currently reads HEX, HEXa, RGB, RGBa, HSL, HSLa, HSV, HSVa, VEC3 and VEC4 colors – and is able to convert between

Linter

https://atom.io/packages/linter

Linter is a base linter provider for the Hackable Atom Editor.

linter-eslint

https://atom.io/packages/linter-eslint

This linter plugin for Linter provides an interface to eslint. It will be used with files that have the "JavaScript" syntax.

How to enable it?

install in project with npm: eslint, eslint-config-airbnb

add file: .eslintrc with

{
  "extends": "airbnb",
  "env": {
     "browser": true,
     "jquery": true
  },
  "parserOptions": {
    "sourceType": "script"
  },
  "rules": {
    // overwrite max length 100 with 150
    "max-len": [1, 150, 2, {ignoreComments: true}],

    // allow multiple variable declarations per var/const/let statement
    "one-var": [0],

    "vars-on-top": 0,

    // allow anonymos functions
    func-names: 0,

    // allow things like "elem = $(elem)"
    "no-param-reassign": 0,

    // allow spaces before
    "no-multi-spaces": [2, exceptions: { "VariableDeclarator": true, "ImportDeclaration": true, "Identifier": true, "ObjectExpression" : true }],

    // allow a && b()
    "no-unused-expressions" : [2, { allowShortCircuit: true }],

    // allow unary operators ++ and --
    no-plusplus: 0,

    // dont require newlines for variable initializations "var a, b, c;"
    one-var-declaration-per-line: ["error", "initializations"],
  }
}

Minimap package

https://atom.io/packages/minimap

A preview of the full source code.

Project Manager

https://atom.io/packages/project-manager

Get easy access to all your projects and manage them with project specific settings and options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment