{"id":22764,"date":"2019-09-10T12:00:51","date_gmt":"2019-09-10T03:00:51","guid":{"rendered":"https:\/\/www.techscore.com\/blog\/?p=22764"},"modified":"2019-09-06T13:06:12","modified_gmt":"2019-09-06T04:06:12","slug":"visual-studio-code%e3%81%ae%e3%83%95%e3%82%a9%e3%83%bc%e3%83%9e%e3%83%83%e3%82%bf%e3%82%92%e8%87%aa%e5%88%86%e5%a5%bd%e3%81%bf%e3%81%ab%e8%a8%ad%e5%ae%9a%e3%81%97%e3%81%a6%e3%81%bf%e3%82%8b%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.techscore.com\/blog\/2019\/09\/10\/visual-studio-code%e3%81%ae%e3%83%95%e3%82%a9%e3%83%bc%e3%83%9e%e3%83%83%e3%82%bf%e3%82%92%e8%87%aa%e5%88%86%e5%a5%bd%e3%81%bf%e3%81%ab%e8%a8%ad%e5%ae%9a%e3%81%97%e3%81%a6%e3%81%bf%e3%82%8b%e3%80%82\/","title":{"rendered":"Visual Studio Code\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30bf\u3092\u81ea\u5206\u597d\u307f\u306b\u8a2d\u5b9a\u3057\u3066\u307f\u308b\u3002"},"content":{"rendered":"
\u3053\u3093\u306b\u3061\u306f\u3001\u4e2d\u897f\u3067\u3059\u3002<\/p>\n
\u597d\u304d\u306a\u30a8\u30c7\u30a3\u30bf\u306f\u4f55\u3067\u3059\u304b\u3001\u3068\u805e\u304b\u308c\u308b\u3068Visual Studio Code(\u4ee5\u4e0b\u3001VS Code)\u3068\u7b54\u3048\u307e\u3059\u304c\u3001
\n\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3092\u30a8\u30c7\u30a3\u30bf\u306b\u4efb\u305b\u308b\u3068\u3001\u60f3\u5b9a\u5916\u306e\u5f62\u306b\u306a\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002
\n\u4ee5\u4e0b\u304cHTML\u3092\u6a19\u6e96\u8a2d\u5b9a\u306e\u307e\u307e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3057\u305f\u3068\u304d\u306e\u4f8b\u3067\u3059\u3002<\/p>\n
\u6574\u5f62\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u304d\u308c\u3044\u306a\u30b3\u30fc\u30c9\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u304c\u3001 \u4eca\u56de\u306fVS Code\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30bf\u3092\u81ea\u5206\u597d\u307f\u306b\u8a2d\u5b9a\u3057\u3066\u307f\u3088\u3046\u3001\u3068\u3044\u3046\u8a18\u4e8b\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n ====\u5b9f\u65bd\u74b0\u5883==== \u6700\u521d\u306b\u3001\u81ea\u52d5\u633f\u5165\u3055\u308c\u308b\u30a4\u30f3\u30c7\u30f3\u30c8\u3092\u8abf\u7bc0\u3057\u3066\u307f\u307e\u3059\u3002 \u30b9\u30da\u30fc\u30b9\u3060\u3051\u3067\u306a\u304f\u3001\u30bf\u30d6\u3092\u4f7f\u3046\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n \u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306fhead\u3068body\u306e\u958b\u59cb\u30bf\u30b0\u3001html\u306e\u7d42\u4e86\u30bf\u30b0\u306e\u524d\u306b\u6539\u884c\u304c\u5165\u308b\u8a2d\u5b9a\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002 \u30a6\u30a3\u30f3\u30c9\u30a6\u4e0a\u90e8\u306e View \u304b\u3089Command Palette \u3092\u9078\u3073\u3001 VS Code\u306e\u8a2d\u5b9a\u306fsettings.json\u306b\u76f4\u63a5\u66f8\u304d\u8fbc\u3080\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002 \u3053\u306eextraLiners\u306f\u300c\u6307\u5b9a\u30bf\u30b0\u306e\u524d\u306b\u7a7a\u884c\u3092\u8ffd\u52a0\u3059\u308b\u300d\u3068\u3044\u3046\u3082\u306e\u3067\u3059\u3002 \u3053\u3053\u306b\u7a7a\u6587\u5b57\u3092\u5165\u529b\u3059\u308b\u3053\u3068\u3067\u3001\u3069\u306e\u30bf\u30b0\u306e\u524d\u3082\u6539\u884c\u3092\u5165\u308c\u306a\u3044\u3001\u3068\u3044\u3046\u72b6\u614b\u306b\u306a\u308a\u307e\u3059\u3002 \u3053\u308c\u3060\u3051\u3060\u3068\u3001\u3059\u3067\u306b\u5b58\u5728\u3057\u3066\u3044\u308b\u7a7a\u884c\u306f\u6d88\u3048\u3066\u304f\u308c\u307e\u305b\u3093\u3002 \u4e0a\u8a18\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3067\u3001\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u6642\u306b\u8981\u7d20\u524d\u306e\u7a7a\u884c\u3092\u81ea\u52d5\u524a\u9664\u3057\u3066\u304f\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002 \u3055\u3089\u306b\u3001\u73fe\u6642\u70b9\u3067\u306fhead\u8981\u7d20\u3068body\u8981\u7d20\u306b\u306f\u30a4\u30f3\u30c7\u30f3\u30c8\u304c\u5165\u3063\u3066\u3044\u306a\u3044\u306e\u3067\u3001 \u4e0a\u8a18\u306eindentInnerHtml\u306fhead\u8981\u7d20\u3068body\u8981\u7d20\u3092\u30a4\u30f3\u30c7\u30f3\u30c8\u3059\u308b\u304b\u3069\u3046\u304b\u306e\u8a2d\u5b9a\u3067\u3059\u3002 \u4ee5\u4e0b\u306e\u753b\u50cf\u306f\u4e0a\u8a18\u4e09\u3064\u306e\u8a2d\u5b9a\u3092\u8ffd\u52a0\u3057\u305f\u5f8c\u306b\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3057\u305f\u3082\u306e\u3067\u3059\u3002 HTML\u3092\u66f8\u3044\u3066\u3044\u308b\u3068\u5c5e\u6027\u3084\u8981\u7d20\u306a\u3069\u304c\u5897\u3048\u3066\u3001\u4e00\u884c\u304c\u9577\u304f\u306a\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n \u308f\u304b\u308a\u3084\u3059\u3044\u3088\u3046\u306b\u9577\u3044\u30b3\u30fc\u30c9\u306f\u6298\u308a\u8fd4\u3059\u3088\u3046\u306b\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n \u4e00\u884c\u304c\u9577\u3044\u30b3\u30fc\u30c9\u306e\u4f8b \u4e0a\u8a18\u306e\u30b3\u30fc\u30c9\u306e\u3088\u3046\u306b\u5c5e\u6027\u304c\u591a\u304f\u306a\u308b\u3053\u3068\u3067\u9577\u304f\u306a\u3063\u3066\u3057\u307e\u3046\u30b1\u30fc\u30b9\u3082\u3042\u308a\u307e\u3059\u3002 \u4e0a\u8a18\u306e\u884c\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3067\u3001\u5c5e\u6027\u3054\u3068\u306b\u6539\u884c\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002 \u5c5e\u6027\u3067\u6539\u884c\u3092\u3057\u305f\u304f\u306a\u3044\u3001\u5c5e\u6027\u3067\u6539\u884c\u3092\u3057\u3066\u3082\u898b\u5207\u308c\u3066\u3044\u308b\u306e\u3067\u306a\u3093\u3068\u304b\u3057\u305f\u3044\u3001\u3068\u3044\u3046\u5834\u5408\u306b\u306f\u898b\u305f\u76ee\u3060\u3051\u6298\u308a\u8fd4\u3059\u3068\u3044\u3063\u305f\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n \u4ee5\u4e0b\u306e\u884c\u3092settings.json\u306b\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n \u3053\u3061\u3089\u306f\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3067\u306f\u306a\u3044\u305f\u3081\u3001\u5b8c\u6210\u3057\u305f\u30b3\u30fc\u30c9\u306f\u9577\u3044\u307e\u307e\u3067\u3059\u304c\u3001 \u4eca\u56de\u306fVS Code\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30bf\u3092\u8abf\u7bc0\u3057\u3066\u307f\u307e\u3057\u305f\u3002 \u305c\u3072\u3001\u81ea\u5206\u597d\u307f\u306e\u8a2d\u5b9a\u3092\u3057\u3066\u3001\u5feb\u9069\u306a\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u30e9\u30a4\u30d5\u3092\u904e\u3054\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" \u3053\u3093\u306b\u3061\u306f\u3001\u4e2d\u897f\u3067\u3059\u3002<\/p>\n \u597d\u304d\u306a\u30a8\u30c7\u30a3\u30bf\u306f\u4f55\u3067\u3059\u304b\u3001\u3068\u805e\u304b\u308c\u308b\u3068Visual Studio Code(\u4ee5\u4e0b\u3001VS Code)\u3068\u7b54\u3048\u307e\u3059\u304c\u3001<\/a><\/p>\n
\n\u3084\u306f\u308a\u81ea\u5206\u304c\u597d\u304d\u306a\u5f62\u3067\u6574\u5f62\u3055\u308c\u3066\u307b\u3057\u3044\u3082\u306e\u3067\u3059\u3002<\/p>\n
\n\u30fbWindows 10
\n\u30fbVisual Studio Code version 1.37<\/p>\n\u30d5\u30a9\u30fc\u30de\u30c3\u30bf\u306e\u8a2d\u5b9a<\/h2>\n
1. \u30a4\u30f3\u30c7\u30f3\u30c8\u306e\u6570\u3068\u7a2e\u985e\u3092\u5909\u66f4<\/h3>\n
\n\u6a19\u6e96\u8a2d\u5b9a\u3067\u3059\u3068\u534a\u89d2\u30b9\u30da\u30fc\u30b94\u3064\u633f\u5165\u3055\u308c\u307e\u3059\u304c\u3001\u3053\u306e\u6570\u3092\u5909\u66f4\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<\/a>
\n\u753b\u50cf\u5185\u3067\u8d64\u306e\u4e38\u3067\u56f2\u3093\u3060Spaces\u3092\u62bc\u3057\u3001
\nIndent Using Spaces \u3092\u62bc\u3059\u3068\u30b9\u30da\u30fc\u30b9\u306e\u6570\u304c\u9078\u629e\u3067\u304d\u308b\u306e\u30672 \u3092\u9078\u629e\u3057\u307e\u3059\u3002
\n(1\u304b\u30898\u306e\u9593\u3067\u8a2d\u5b9a\u3067\u304d\u307e\u3059)
\n\u3053\u308c\u3060\u3051\u3067\u3001\u6b21\u56de\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u304b\u3089\u30a4\u30f3\u30c7\u30f3\u30c8\u306e\u6570\u304c\u5909\u66f4\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<\/a>
\n\u203b\u5de6\u5074\u304c\u30b9\u30da\u30fc\u30b9\u65704\u3064\u3001\u53f3\u5074\u304c\u30b9\u30da\u30fc\u30b9\u65702\u3064\u306e\u3082\u306e\u3067\u3059\u3002<\/p>\n
\n2. head\u8981\u7d20\u3068body\u8981\u7d20\u306e\u8abf\u7bc0<\/h3>\n
\n\u3053\u308c\u3092\u7121\u52b9\u5316\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n
\nOpen Settings(JSON) \u3092\u5165\u529b\u3057\u3066\u9078\u629e\u3059\u308b\u3068\u3001settings.json\u3068\u547c\u3070\u308c\u308bVSCode\u306e\u8a2d\u5b9a\u753b\u9762\u304c\u958b\u304d\u307e\u3059\u3002<\/p>\n
\n\u4eca\u56de\u306f\u4ee5\u4e0b\u306e\u884c\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n\"html.format.extraLiners\": \"\"\n<\/pre>\n
\n\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u3001head\u30bf\u30b0\u3001body\u30bf\u30b0\u3001html\u306e\u9589\u3058\u30bf\u30b0\u304c\u9078\u629e\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001
\nhead,body\u8981\u7d20\u306e\u524d\u5f8c\u306b\u81ea\u52d5\u3067\u7a7a\u884c\u304c\u5165\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n
\n\u203b\u3061\u306a\u307f\u306bnull\u3060\u3068\u30c7\u30d5\u30a9\u30eb\u30c8\u3068\u540c\u3058\u72b6\u614b\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n
\n\u7a7a\u884c\u3092\u6d88\u3057\u305f\u3044\u5834\u5408\u306f\u4ee5\u4e0b\u306e\u884c\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n\"html.format.preserveNewLines\": false\n<\/pre>\n
\n\u203b\u8981\u7d20\u5185\u306e\u7a7a\u884c\u306f\u7121\u8996\u3055\u308c\u307e\u3059\u3002<\/p>\n
\n\u633f\u5165\u3067\u304d\u308b\u3088\u3046\u306b\u4ee5\u4e0b\u306e\u884c\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n\"html.format.indentInnerHtml\": true\n<\/pre>\n
\ntrue\u3092\u9078\u629e\u3059\u308b\u3053\u3068\u3067\u3001head\u8981\u7d20\u3068body\u8981\u7d20\u3092\u30a4\u30f3\u30c7\u30f3\u30c8\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n
\n<\/a><\/p>\n
\n3. \u9577\u3044\u30b3\u30fc\u30c9\u306f\u6298\u308a\u8fd4\u3059<\/h3>\n
\n<\/a><\/p>\n
3-1 \u5c5e\u6027\u3067\u6539\u884c\u3059\u308b<\/h4>\n
\n\u305d\u306e\u5834\u5408\u306f\u3001settings.json\u306b\u4ee5\u4e0b\u306e\u884c\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n\"html.format.wrapAttributes\": \"force\"\n<\/pre>\n
<\/a><\/p>\n
\n\u305f\u3060\u3057\u3001\u5c5e\u6027\u3067\u306f\u306a\u304f\u8981\u7d20\u304c\u9577\u3044\u5834\u5408\u306f\u4f9d\u7136\u3068\u3057\u3066\u898b\u5207\u308c\u305f\u307e\u307e\u306e\u72b6\u614b\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n3-2 \u898b\u305f\u76ee\u3060\u3051\u6298\u308a\u8fd4\u3059<\/h4>\n
\"editor.wordWrap\": \"on\"\n<\/pre>\n
<\/a><\/p>\n
\n\u4f59\u8a08\u306a\u6539\u884c\u304c\u5165\u3089\u306a\u3044\u3068\u3044\u3046\u7279\u5fb4\u304c\u3042\u308a\u307e\u3059\u3002
\n\u72b6\u6cc1\u306b\u3088\u3063\u3066\u306f\u3001\u5c5e\u6027\u306b\u3088\u308b\u6539\u884c\u304c\u3067\u304d\u306a\u3044\u3053\u3068\u3082\u3042\u308a\u307e\u3059\u306e\u3067\u3001
\n\u4e8c\u3064\u3092\u4f7f\u3044\u5206\u3051\u3066\u898b\u305f\u76ee\u306e\u6298\u308a\u8fd4\u3057\u3092\u5b9f\u73fe\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\u6700\u5f8c\u306b<\/h2>\n
\n\u6a19\u6e96\u3067\u63d0\u4f9b\u3055\u308c\u3066\u3044\u308b\u6a5f\u80fd\u3060\u3051\u3067\u3082\u5341\u5206\u306b\u8a2d\u5b9a\u53ef\u80fd\u3067\u3059\u304c\u3001
\nVS Code\u306f\u62e1\u5f35\u6a5f\u80fd\u3092\u5165\u308c\u308b\u3053\u3068\u3067\u3001HTML\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30bf\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3067\u304d\u305f\u308a\u3001
\n\u6a19\u6e96\u3067\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u8a00\u8a9e\u4ee5\u5916\u3082\u5bfe\u5fdc\u3067\u304d\u305f\u308a\u3057\u307e\u3059\u3002<\/p>\n
\n\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3092\u30a8\u30c7\u30a3\u30bf\u306b\u4efb\u305b\u308b\u3068\u3001\u60f3\u5b9a\u5916\u306e\u5f62\u306b\u306a\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002
\u7d9a\u304d\u3092\u8aad\u3080...<\/a><\/p>\n","protected":false},"author":80,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[18],"tags":[],"_links":{"self":[{"href":"https:\/\/www.techscore.com\/blog\/wp-json\/wp\/v2\/posts\/22764"}],"collection":[{"href":"https:\/\/www.techscore.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techscore.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techscore.com\/blog\/wp-json\/wp\/v2\/users\/80"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techscore.com\/blog\/wp-json\/wp\/v2\/comments?post=22764"}],"version-history":[{"count":39,"href":"https:\/\/www.techscore.com\/blog\/wp-json\/wp\/v2\/posts\/22764\/revisions"}],"predecessor-version":[{"id":23156,"href":"https:\/\/www.techscore.com\/blog\/wp-json\/wp\/v2\/posts\/22764\/revisions\/23156"}],"wp:attachment":[{"href":"https:\/\/www.techscore.com\/blog\/wp-json\/wp\/v2\/media?parent=22764"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techscore.com\/blog\/wp-json\/wp\/v2\/categories?post=22764"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techscore.com\/blog\/wp-json\/wp\/v2\/tags?post=22764"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}