Giter Club home page Giter Club logo

dev-setup's Introduction

Development Workstation Setup

Install Order

  1. Git
  2. GitHub Desktop
  3. GitKraken
  4. Node.js
  5. Sublime Text
  6. Sublime Theme(s)
  7. Sublime Packages
  8. GULP
  9. Grunt

Git Considerations

Sublime Themes

Sublime Packages 🔥

  • Package Control
  • PackageResourceViewer
  • Alignment
  • AutoFileName
  • Autoprefixer
  • Babel
  • Babel Snippets
  • Bracket Highlighter
  • Colorpicker
  • ChangeQuotes
  • Delete​Blank​Lines
  • EditorConfig
  • EditorConfig Snippets
  • Emmet
  • Emmet CSS Snippets
  • Emoji
  • EncodingHelper
  • Dockblockr
  • Git
  • Gitgutter
  • Gist
  • JavaScript Completions
  • JSHint Gutter
  • ScopeHunter
  • Sidebar Enhancements
  • HTML-CSS-JS Prettify
  • HTML5
  • MarkdownEditing
  • phpfmt
  • SmartMarkdown
  • Trailing Spaces
  • Markdown Preview
  • LiveReload
  • Origami
  • Syntax Manager

Misc. Key Bindings

[
    { "keys": ["ctrl+alt+p"], "command": "prompt_select_workspace" }
]

HTML-CSS-JS Prettify

If you are working with React (or similar), there is one setting you need to pay attention to:

"e4x": true, // Pass E4X xml literals through untouched

See my full .jsbeautifyrc settings file for other changes I have made. Note that in order for GitHub to display it all pretty like, I had to change the name of this file to jsbeautifyrc.js but that will not work in Sublime Text.

Delete​Blank​Lines

Windows:

  • Ctrl+Alt+Backspace --> Delete Blank Lines
  • Ctrl+Alt+Shift+Backspace --> Delete Surplus Blank Lines

OSX:

  • Fn+Ctrl+Option+Delete --> Delete Blank Lines
  • Fn+Ctrl+Option+Shift+Delete --> Delete Surplus Blank Lines

Linux:

  • Ctrl+Alt+Backspace --> Delete Blank Lines
  • Ctrl+Alt+Shift+Backspace --> Delete Surplus Blank Lines

Trailing Spaces

The main feature you gain from using this plugin is that of deleting all trailing spaces in the currently edited document. In order to use this deletion feature, you may either:

  • click on "Edit / Trailing Spaces / Delete";
  • bind the deletion command to a keyboard shortcut:

To add a key binding, open "Preferences / Key Bindings - User" and add:

{ "keys": ["ctrl+shift+t"], "command": "delete_trailing_spaces" }

With this setting, pressing Ctrl + Shift + t will delete all trailing spaces at once in the current file! For OSX users, quoting wbond: "When porting a key binding across OSes, it is common for the ctrl key on Windows and Linux to be swapped out for super on OS X" (eg. use "super+ctrl+t" instead).

Beware: the binding from this example overrides the default ST's mapping for reopening last closed file. You can look at the default bindings in "Preferences / Key Bindings - Default".

At any time, you can toggle highlighting on and off. You may either:

  • click on "Edit / Trailing Spaces / Highlight Regions"
  • bind the toggling command to a keyboard shortcut:
// I like "d", as in "detect" (overrides a default binding, though).
{ "keys": ["ctrl+shift+d"], "command": "toggle_trailing_spaces" }

Cobalt2 Changes

Using PackageResourceViewer, edit the Cobalt2.sublime-theme file.

// Sidebar heading
{
    "class": "sidebar_heading",
    "color": [255, 255, 255],
    "font.bold": true,
    "shadow_color": [0, 0, 0],
    "shadow_offset": [0, -1]
},
// Sidebar entry
{
    "class": "sidebar_label",
    "color": [255, 255, 255],
    "shadow_color": [0, 0, 0],
    "shadow_offset": [0, -1],
    "font.size": 12
},

Global NPM Install

Install Node.js first.

  • create-react-app
  • grunt-cli@
  • grunt-init@
  • node-static
  • serve
  • webpack

To list all global modules:

npm list -g --depth=0

Browser Extensions

Sublime Text Links

dev-setup's People

Contributors

meancode avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.