Skip to content

Latest commit

 

History

History
133 lines (111 loc) · 3.37 KB

README.md

File metadata and controls

133 lines (111 loc) · 3.37 KB

Preparing local development environment

A list of instructions how to prepare local environment

Contents

  1. Install chocolatey
  2. Add posh git
  3. Install software
  4. Configure conemu
  5. Add ssh keys
  6. Update gitconfig
  7. VSCode extensions
  8. VSCode user settings
  9. VSCode keyboard settings

Install chocolatey

  • Execute remote signed scripts - Set-ExecutionPolicy RemoteSigned
  • Chocolatey

Add posh git

Install software

  • git
  • vscode
  • visual studio
  • firefox development edition
  • far manager
  • ConEmu
  • postman
  • adobe reader
  • dnspy

Configure conemu

ConEmu quake style

Add new ssh keys to github

Create new ssh key

Change gitconfig

[user]
    name = <username>
    email = <email>
[alias]
    st = status
    lol = log --stat --graph --decorate
    fap = fetch --all --prune
    please = push --force-with-lease
    co = checkout
    ci = commit
[difftool "code"]
    cmd = code  $LOCAL $REMOTE --diff -rw
[mergetool "code"]
    cmd = code $MERGED -rw
    keepBackup = false
[merge]
    tool = code
[diff]
    tool = code
[core]
    editor = code -rw
[commit]
    verbose = 2
[mergetool]
    keepBackup = false

Install plugins in visual studio code

  • ms-vscode.csharp
  • ms-vscode.PowerShell
  • msjsdiag.debugger-for-chrome
  • ybaumes.highlight-trailing-white-spaces
  • eamodio.gitlens
  • will-stone.plastic
  • usernamehw.errorlens

Add user settings config

{
    "window.zoomLevel": 1,
    "gitlens.advanced.messages": {
        "suppressCommitHasNoPreviousCommitWarning": false,
        "suppressCommitNotFoundWarning": false,
        "suppressFileNotUnderSourceControlWarning": false,
        "suppressGitVersionWarning": false,
        "suppressLineUncommittedWarning": false,
        "suppressNoRepositoryWarning": false,
        "suppressResultsExplorerNotice": false,
        "suppressShowKeyBindingsNotice": true,
        "suppressUpdateNotice": false,
        "suppressWelcomeNotice": true
    },
    "gitlens.keymap": "alternate",
    "editor.codeLens": false,
    "editor.renderWhitespace": "all",
    "editor.tabSize": 4,
    "editor.insertSpaces": true,
    "editor.detectIndentation": false,
    "debug.allowBreakpointsEverywhere": true,
    "workbench.colorTheme": "Plastic - deprioritised punctuation"
}

Add keyboard settings

[
  {
    "key": "alt+win+right",
    "command": "workbench.action.terminal.focusNext"
  },
  {
    "key": "alt+win+left",
    "command": "workbench.action.terminal.focusPrevious"
  }
]