{"id":608,"date":"2020-02-02T19:22:00","date_gmt":"2020-02-02T10:22:00","guid":{"rendered":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/blog\/2020\/02\/02\/compare-vscode-intellij"},"modified":"2022-10-29T22:30:11","modified_gmt":"2022-10-29T13:30:11","slug":"compare-vscode-intellij","status":"publish","type":"post","link":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/blog\/2020\/02\/02\/compare-vscode-intellij\/","title":{"rendered":"Visual Studio Code\u3068IntelliJ IDEA\u3092\u6bd4\u8f03\u3057\u3066\u307f\u305f"},"content":{"rendered":"
2020\u5e741\u6708\u3088\u308aMMM\u306b\u5165\u793e\u3044\u305f\u3057\u307e\u3057\u305f\u3001\u95a2\u53e3\u3068\u7533\u3057\u307e\u3059\u3002 \u5165\u793e\u4ee5\u6765\u3001Golang\u3067\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306e\u958b\u767a\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u3002 \u4eca\u56de\u306f\u81ea\u8eab\u306eIntelliJ\u5b66\u7fd2\u3082\u517c\u306d\u3066\u3001\u4eca\u307e\u3067\u4f7f\u3063\u3066\u3044\u305fVS Code\u3068IntelliJ\u306e\u4e00\u90e8\u6bd4\u8f03\u3092\u3057\u3066\u307f\u3088\u3046\u3068\u601d\u3044\u307e\u3059\u3002 \u305f\u3068\u3048\u3070\u3001\u65e2\u5b58\u306e\u6a5f\u80fd\u306b\u8ffd\u52a0\u3084\u4fee\u6b63\u3092\u52a0\u3048\u308b\u5b9f\u88c5\u3092\u884c\u3046\u969b\u306b\u307e\u305a\u306f\u30b3\u30fc\u30c9\u3092\u8ffd\u3063\u3066\u8abf\u67fb\u3059\u308b\u5834\u5408\u304c\u3042\u308b\u3068\u601d\u3044\u307e\u3059\u3002\uff08\u3068\u304f\u306b\u4ed6\u306e\u4eba\u304c\u66f8\u3044\u305f\u30b3\u30fc\u30c9\u306e\u5834\u5408\u3002\uff09 VS Code\u306e\u5834\u5408\u306f IntelliJ\u3067\u306f \u81ea\u5206\u304c\u5143\u3005Eclipse\u3067\u958b\u767a\u3057\u3066\u3044\u305f\u7d4c\u9a13\u304c\u3042\u308b\u305b\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001 IntelliJ\u306f\u691c\u7d22\u6a5f\u80fd\u304c\u8272\u3005\u3042\u308a\u307e\u3059\u3002 \u3042\u305f\u308a\u306fIntelliJ\u6b74\u7d042\u9031\u9593\u306e\u81ea\u5206\u3067\u3082\u91cd\u5b9d\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n <\/p>\n VS Code\u306b\u3082\u5168\u6587\u691c\u7d22\u3001\u307e\u305f\u30b3\u30de\u30f3\u30c9\u691c\u7d22\u306b \u6a5f\u80fd\u3068\u3057\u3066\u306f\u304a\u4e92\u3044\u905c\u8272\u306a\u3044\u611f\u3058\u3067\u3059\u3002\u305f\u3060\u5168\u6587\u691c\u7d22\u306b\u95a2\u3057\u3066\u306fIntelliJ\u306e\u307b\u3046\u304c\u4f59\u8a08\u306a\u30bf\u30d6\u3092\u958b\u304b\u305a\u5e83\u3044\u30b9\u30da\u30fc\u30b9\u3067\u8abf\u3079\u3089\u308c\u308b\u5206\u3001\u4f7f\u3044\u3084\u3059\u3044\u6c17\u304c\u3057\u307e\u3057\u305f\u3002<\/p>\n VS Code\u4f7f\u7528\u6642\u306b\u306f\u3044\u3064\u3082VS Code\u5185\u306e\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u4f7f\u3063\u3066\u3044\u307e\u3057\u305f\u3002 git blame\u306e\u3088\u3046\u306a\u64cd\u4f5c\u3092IntelliJ\u3067\u306f VS Code\u3067\u306f\u305f\u3068\u3048\u3070GitLens<\/a>\u306e\u3088\u3046\u306a\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u5165\u308c\u308b\u3053\u3068\u3067\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002 \u30d5\u30a1\u30a4\u30eb\u5dee\u5206\u306fIntelliJ\u306e VS Code\u3067\u3082\u30a8\u30c7\u30a3\u30bf\u30fc\u304b\u3089\u5dee\u5206\u3092\u78ba\u8a8d\u30fb\u7de8\u96c6\u3067\u304d\u307e\u3059\u3002 \u4ed6\u306b\u3082\u30a8\u30c7\u30a3\u30bf\u30fc\u4e0a\u3067\u306e\u30b3\u30f3\u30d5\u30ea\u30af\u30c8\u89e3\u6d88\u3084\u30d6\u30e9\u30f3\u30c1\u306e\u5207\u308a\u66ff\u3048\u6a5f\u80fd\u306fVS Code\u3001IntelliJ\u3069\u3061\u3089\u3067\u3082\u53ef\u80fd\u3067\u3059\u3002 IntelliJ\u306fCommunity\u7248\u3001Ultimate\u3001All Products Pack\u306e\u4e09\u7a2e\u985e\u304c\u3042\u308a\u307e\u3059\u3002 VS Code\u306f\u3082\u3061\u308d\u3093\u30bf\u30c0\u3067\u3059\u3002<\/p>\n \u3068\u3044\u3046\u611f\u3058\u3067\u3057\u3087\u3046\u304b\u3002 \u8abf\u3079\u3066\u3044\u308b\u904e\u7a0b\u3067\u3053\u306e\u8a18\u4e8b\u3067\u306f\u66f8\u3044\u3066\u3044\u306a\u3044\u3053\u3068\u3082\u542b\u3081\u3066\u305f\u304f\u3055\u3093\u306e\u4fbf\u5229\u6a5f\u80fd\u304c\u898b\u3064\u304b\u308a\u307e\u3057\u305f\u3002 2020\u5e741\u6708\u3088\u308aMMM\u306b\u5165\u793e\u3044\u305f\u3057\u307e\u3057\u305f\u3001\u95a2\u53e3\u3068\u7533\u3057\u307e\u3059\u3002 \u3088\u308d\u3057\u304f\u304a\u9858\u3044\u3044\u305f\u3057\u307e\u3059\u3002 \u5168\u793e\u54e1\u304c\u3042\u3060\u540d\u3067\u547c\u3073\u5408\u3046\u5236\u5ea6\u306b\u5247\u3063\u3066\u3001\u793e\u5185\u3067\u306fJP\u3068\u547c\u3070\u305b\u3066\u3082\u3089\u3063\u3066\u3044\u307e\u3059\u3002 \u80cc\u666f \u5165\u793e\u4ee5\u6765\u3001Golang\u3067\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306e\u958b\u767a\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u3002 \u5f53\u521d\u306fVisual Studio Code(\u4ee5\u4e0bVS Code)\u3092\u30a8\u30c7\u30a3\u30bf\u30fc\u3068\u3057\u3066\u5229\u7528\u3057\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u9014\u4e2d\u304b\u3089IntelliJ IDEA(\u4ee5\u4e0bIntelliJ)\u306b\u79fb\u884c […]<\/p>\n","protected":false},"author":10,"featured_media":684,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[17],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/posts\/608"}],"collection":[{"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/comments?post=608"}],"version-history":[{"count":1,"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/posts\/608\/revisions"}],"predecessor-version":[{"id":3497,"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/posts\/608\/revisions\/3497"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/media?parent=608"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/categories?post=608"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/tags?post=608"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\n\u3088\u308d\u3057\u304f\u304a\u9858\u3044\u3044\u305f\u3057\u307e\u3059\u3002
\n\u5168\u793e\u54e1\u304c\u3042\u3060\u540d\u3067\u547c\u3073\u5408\u3046\u5236\u5ea6<\/a>\u306b\u5247\u3063\u3066\u3001\u793e\u5185\u3067\u306fJP\u3068\u547c\u3070\u305b\u3066\u3082\u3089\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\u80cc\u666f<\/h2>\n
\n\u5f53\u521d\u306fVisual Studio Code<\/a>(\u4ee5\u4e0bVS Code)\u3092\u30a8\u30c7\u30a3\u30bf\u30fc\u3068\u3057\u3066\u5229\u7528\u3057\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u9014\u4e2d\u304b\u3089IntelliJ IDEA<\/a>(\u4ee5\u4e0bIntelliJ)\u306b\u79fb\u884c\u3057\u307e\u3057\u305f\u3002<\/p>\n
\n\u203b\u4ee5\u4e0b\u3042\u304f\u307e\u3067\u3082\u500b\u4eba\u306e\u6bd4\u8f03\u611f\u60f3\u3067\u3059\u3002<\/p>\n\u63a2\u7d22<\/h2>\n
\nVS Code\u3001IntelliJ\u5171\u306b\u95a2\u6570\u3092\u8fbf\u3063\u3066\u3044\u304f\u6a5f\u80fd\u304c\u3082\u3061\u308d\u3093\u3067\u3059\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\nGo to References<\/code>\u3084
Find All References<\/code>\u3092\u5229\u7528\u3057\u307e\u3059\u3002
\n<\/p>\nFind Usages<\/code>\u3084
Hierarchy<\/code>\u3092\u5229\u7528\u3057\u307e\u3059\u3002\uff08\u753b\u9762\u306f
Find Usages<\/code>\uff09
\n<\/p>\n
\nVS Code\u306f\u53c2\u7167\u5143\u304c1\u3064\u4f59\u8a08\u306b\u53c2\u7167\u3055\u308c\u308b\u70b9\u3084\u3001\u4eca\u958b\u3044\u3066\u3044\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u4e0a\u306b\u8868\u793a\u3055\u308c\u3066\u3057\u307e\u3046\u306e\u304c\u3061\u3087\u3063\u3068\u6c17\u306b\u306a\u308a\u307e\u3059\u3002
\n\u4ed6\u306b\u3082\u3001\u6700\u521d\u306e\u95a2\u6570\u307e\u3067\u9061\u308c\u308bcall Hierarchy<\/code>\u306e\u3088\u3046\u306a\u6a5f\u80fd\u304cVS Code\u306b\u306f\u306a\u3055\u305d\u3046\u3067\u3057\u305f\u3002<\/p>\n
\u691c\u7d22<\/h2>\n
\n\u6709\u540d\u3069\u3053\u308d\u3067\u306f\u3001<\/p>\n\n
command palette<\/code>\uff08Mac: Command + Shift + P\uff09\u304c\u3042\u308a\u307e\u3059\u3002
\n\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3067\u691c\u7d22\u3057\u305f\u3044\u3068\u304d\u306fCommand + T<\/code>\u3067\u691c\u7d22\u3067\u304d\u307e\u3059\u3002
\n
\n<\/p>\nTerminal<\/h2>\n
\n\u540c\u69d8\u306bIntelliJ\u306b\u79fb\u884c\u3057\u3066\u304b\u3089\u6700\u521d\u306f\u5185\u8535\u306e\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u4f7f\u7528\u3057\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001
\n\u30bd\u30fc\u30b9\u30b3\u30df\u30c3\u30c8\u6642\u306b git commit -m "xxx"<\/code>\u3068\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u66f8\u3044\u3066\u3044\u308b\u3068\u304d\u306b\u305f\u3068\u3048\u3070\u3088\u305d\u304b\u3089\u30b3\u30d4\u30da\u3057\u305f\u3082\u306e\u3092\u8cbc\u308a\u4ed8\u3051\u308b\u3068\u52dd\u624b\u306b\u6539\u884c\u3057\u3066\u3057\u307e\u3046\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002
\n\u306a\u306e\u3067\u30bf\u30fc\u30df\u30ca\u30eb\u64cd\u4f5c\u306f\u73fe\u5728\u3067\u306f\u57fa\u672ciTerm2<\/a>\u3092\u4f7f\u3046\u3053\u3068\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\nGit\u64cd\u4f5c<\/h2>\n
git blame<\/h3>\n
\u884c\u756a\u53f7\u304c\u8868\u793a\u3055\u308c\u3066\u308b\u3068\u3053\u3092\u53f3\u30af\u30ea\u30c3\u30af -> [Annotate]\u9078\u629e<\/code>\u3067\u53ef\u80fd\u3067\u3059\u3002
\n<\/p>\n
\n<\/p>\ngit diff<\/h3>\n
Version Control -> Local Changes<\/code>\u304c\u7d50\u69cb\u4fbf\u5229\u3067\u3059\u3002
\n\u5dee\u5206\u306e\u7dd1\u8272\u306b\u30d5\u30a9\u30fc\u30ab\u30b9\u3092\u5f53\u3066\u3066\u925b\u7b46\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af<\/code>\u3082\u3057\u304f\u306f
\u2318\u2193<\/code>\u3067\u30d5\u30a1\u30a4\u30eb\u7de8\u96c6\u753b\u9762\u3092\u958b\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002
\n\u307e\u305f\u305d\u3093\u306a\u3053\u3068\u3092\u3057\u306a\u304f\u3066\u3082\u3001Local Changes<\/code>\u306e\u67a0\u5185\u3067\u76f4\u63a5\u7de8\u96c6\u3082\u53ef\u80fd\u3067\u3059\u3002
\n<\/p>\n
\n<\/p>\n
\n\u3053\u3061\u3089\u3082\u6a5f\u80fd\u7684\u306b\u306f\u5927\u5dee\u306a\u3044\u3067\u3059\u304c\u3001\u64cd\u4f5c\u611f\u7684\u306b\u306fIntellJ\u306a\u6c17\u304c\u3057\u306a\u304f\u3082\u306a\u3044\u3067\u3059\u3002<\/p>\n\u5024\u6bb5<\/h2>\n
\nCommunity\u7248\u306f\u7121\u6599\u3067\u4f7f\u3048\u307e\u3059\u304c\u3001\u7b46\u8005\u306f\u6b32\u5f35\u3063\u3066\u73fe\u72b6\u306eweb\u958b\u767a\u3067\u4f7f\u308f\u308c\u308b\u8a00\u8a9e\u3092\u7db2\u7f85\u3057\u305f\uff08C\/C++\u3084Swift, .Net\u3092\u9664\u304f\uff09\u6709\u6599\u306eAll Products Pack\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002
\n\u3042\u308a\u304c\u305f\u3044\u3053\u3068\u306b\u696d\u52d9\u52b9\u7387\u5316\u30b0\u30c3\u30ba\u8cfc\u5165\u88dc\u52a9\u5236\u5ea6<\/a>\u3092\u5229\u7528\u3057\u3066\u5b9f\u8cea\u30bf\u30c0\u3067\u4f7f\u308f\u305b\u3066\u3082\u3089\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\u305d\u306e\u4ed6\u4fbf\u5229\u305d\u3046\u306a\u6a5f\u80fd\uff08IntelliJ\uff09<\/h2>\n
Open file in new window<\/h3>\n
Mac: Shift\u3092\u62bc\u3057\u305f\u72b6\u614b\u3067project\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u9078\u629e<\/code>
\n\u5225\u30e2\u30cb\u30bf\u30fc\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u53c2\u7167\u7528\u306b\u958b\u3044\u3066\u304a\u304d\u305f\u3044\u5834\u5408\u306b\u4f7f\u3048\u305d\u3046\u3067\u3059\u3002<\/p>\n\u6700\u8fd1\u958b\u3044\u305f\u30d5\u30a1\u30a4\u30eb\u5c65\u6b74<\/h3>\n
Mac: Command + E<\/code>
\n\u3053\u308c\u3082\u4fbf\u5229\u306a\u6c17\u304c\u3057\u307e\u3059\u3002<\/p>\n\u7d50\u8ad6<\/h2>\n
\n
\n\u6bd4\u8f03\u8ef8\u3068\u3057\u3066\u307e\u3060\u307e\u3060\u305f\u304f\u3055\u3093\u306e\u89b3\u70b9\u304c\u3042\u308b\u3068\u601d\u3046\u306e\u3067\u3001\u307e\u305f\u3044\u3064\u304b\u6a5f\u4f1a\u304c\u3042\u308c\u3070\u8abf\u3079\u3066\u307f\u305f\u3044\u3067\u3059\u3002<\/p>\n
\n\u4fbf\u5229\u305d\u3046\u306a\u6a5f\u80fd\u306f\u3069\u3093\u3069\u3093\u4f7f\u3063\u3066\u3044\u304d\u305f\u3044\u3067\u3059\u3002<\/p>\n\u53c2\u8003\u30b5\u30a4\u30c8<\/h2>\n
\n