TIPS

IntelliJ IDEA

Plugins

VSCode

extension package

  • BreadCrumb in StatusBar
    • ์„ ํƒ ํŒŒ์ผ ๊ฒฝ๋กœ ๋…ธ์ถœ
  • GitLens
    • ์„ ํƒ ํ–‰ ๊นƒ ์ปค๋ฐ‹ ๋ณด์—ฌ์ฃผ๊ธฐ
  • One Dark Pro
    • ์—๋””ํ„ฐ ํ…Œ๋งˆ
  • vscode-icons
    • ์—๋””ํ„ฐ ์•„์ด์ฝ˜
  • Material Icon Theme
    • ์—๋””ํ„ฐ ์•„์ด์ฝ˜
  • Markdown lint
    • ๋งˆํฌ๋‹ค์šด ๋ฌธ๋ฒ• ๊ฒ€์‚ฌ
  • Bracket Pair Colorizer
    • ์ฝ”๋“œ ๋ธ”๋Ÿญ ๋ธŒ๋ผ์ผ“

usersetting.json

{
    "workbench.startupEditor": "welcomePage",
    "gitlens.advanced.messages": {
        "suppressCommitHasNoPreviousCommitWarning": false,
        "suppressCommitNotFoundWarning": false,
        "suppressFileNotUnderSourceControlWarning": false,
        "suppressGitVersionWarning": false,
        "suppressLineUncommittedWarning": false,
        "suppressNoRepositoryWarning": false,
        "suppressResultsExplorerNotice": false,
        "suppressShowKeyBindingsNotice": true,
        "suppressUpdateNotice": false,
        "suppressWelcomeNotice": true
    },
    "java.home": "/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home",
    "window.openFilesInNewWindow": "on",
    "window.zoomLevel": 0,
    "editor.tabSize": 2,
    "editor.fontFamily": "D2Coding ligature",
    "editor.fontLigatures": true,
    "editor.fontSize": 14,
    "gitlens.keymap": "alternate",
    "gitlens.historyExplorer.enabled": true,
    "workbench.colorTheme": "One Dark Pro Vivid",
    "breadcrumbs.enabled": true,
    "workbench.iconTheme": "vscode-icons",
    "material-icon-theme.folders.theme": "specific",
    "java.errors.incompleteClasspath.severity": "ignore",
    "markdownlint.config": {
        "MD001": false,
        "MD024": false,
        "MD026": false,
        "MD033": false
    }
}

.eslintrc

{
  "env": {
    "jquery": true,
    "browser": true,
    "amd": true,
    "commonjs": true,
    "es6": true
  },
  "parser": "babel-eslint",
  "parserOptions": {
    "ecmaVersion": 6,
    "sourceType": "module",
    "ecmaFeatures": {
        "jsx": true
    }
  },
  "globals": {
    "alert": false,
    "clearTimeout": false,
    "clearInterval": false,
    "document": false,
    "exports": false,
    "module": false,
    "navigator": false,
    "require": false,
    "setInterval": false,
    "setTimeout": false,
    "window": false,
    "XMLHttpRequest": false
  },
  "rules": {
    "camelcase": ["error", {"properties": "always"}],
    "comma-spacing": ["error", {"before": false, "after": true}],
    "comma-style": ["error", "last"],
    "comma-dangle": "error",
    "brace-style": ["error", "1tbs", { "allowSingleLine": true }],
    "indent": ["error", 2, { "SwitchCase": 1 }],
    "valid-jsdoc": ["warn", {"requireReturn":false}],
    "block-scoped-var": "warn",
    "curly": "error",
    "eqeqeq": "warn",
    "quotes": ["error", "single"],
    "semi": "error",
    "no-inline-comments": "warn",
    "no-debugger": "error",
    "no-console": "warn",
    "no-empty": "warn",
    "no-spaced-func": "warn",
    "no-array-constructor": "error",
    "no-undefined": "warn",
    "no-alert": "off",
    "no-loop-func": "error",
    "no-multi-spaces": "error",
    "no-new": "error",
    "no-unused-expressions": "error",
    "no-unused-vars": "warn",
    "no-use-before-define": ["error", {"functions": false}],
    "space-before-blocks": "error",
    "semi-spacing": ["error", {"before": false, "after": true}],
    "keyword-spacing": ["error", {"before": true, "after": true}],
    "no-new-object": "error",
    "key-spacing": ["error", {"beforeColon": false, "afterColon": true}],
    "space-infix-ops": ["error"],
    "space-before-function-paren": ["error", {"anonymous": "always", "named": "never"}]
  }
}

jenv ๋กœ ์—ฌ๋Ÿฌ ๋ฒ„์ „์˜ Java ์„ค์น˜ํ•˜๊ธฐ

jenv ์„ค์น˜

$ brew install jenv
$ jenv versions

jenv ๋กœ ์ž๋ฐ” ์„ค์น˜

$ jenv install java

jenv ์ดˆ๊ธฐํ™”

~/.bash_profile ์˜ ์Šคํฌ๋ฆฝํŠธ์—์„œ ์•„๋ž˜ ์ฝ”๋“œ๋ฅผ ์ถ”๊ฐ€ํ•˜์—ฌ jenv ๋ฅผ ์ดˆ๊ธฐํ™”์‹œํ‚จ๋‹ค.

if which jenv > /dev/null; then eval "$(jenv init -)"; fi

bash_profile ์ ์šฉ

$ source ~/.bash_profile

jenv ๋ฒ„์ „ ์„ ํƒ

$ jenv local {๋ฒ„์ „ ์„ ํƒ}
$ jenv global {๋ฒ„์ „ ์„ ํƒ}