{"id":9065,"date":"2026-09-24T14:08:59","date_gmt":"2026-09-24T05:08:59","guid":{"rendered":"https:\/\/www.chihayafuru.jp\/tech\/?p=9065"},"modified":"2026-09-24T14:11:13","modified_gmt":"2026-09-24T05:11:13","slug":"vscode-%e8%a8%80%e8%aa%9e%e3%83%a2%e3%83%bc%e3%83%89%e3%81%ab%e3%82%88%e3%82%8a%e6%96%87%e5%ad%97%e3%82%b3%e3%83%bc%e3%83%89%e3%82%92%e5%88%87%e3%82%8a%e6%8f%9b%e3%81%88%e3%82%8b","status":"publish","type":"post","link":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/archives\/9065","title":{"rendered":"[vscode] \u8a00\u8a9e\u30e2\u30fc\u30c9\u306b\u3088\u308a\u6587\u5b57\u30b3\u30fc\u30c9\u3092\u5207\u308a\u63db\u3048\u308b"},"content":{"rendered":"<h3>\u8a73\u7d30<\/h3>\n<p>Visual Studio Code \u306b\u304a\u3044\u3066\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u6587\u5b57\u30a8\u30f3\u30b3\u30fc\u30c9\u3092\u30d5\u30a1\u30a4\u30eb\u306e\u7a2e\u985e\uff08\u8a00\u8a9e\u30e2\u30fc\u30c9\uff09\u306b\u3088\u3063\u3066\u5207\u308a\u66ff\u3048\u308b\u65b9\u6cd5\u3002<\/p>\n<h3>\u80cc\u666f<\/h3>\n<ul>\n<li>C++ \u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306f Shift-JIS \u3092\u30c7\u30d5\u30a9\u30eb\u30c8\u6587\u5b57\u30b3\u30fc\u30c9\u306b\u3057\u305f\u3044\u3002<\/li>\n<li>Python \u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306f UTF-8 \u3092\u30c7\u30d5\u30a9\u30eb\u30c8\u6587\u5b57\u30b3\u30fc\u30c9\u306b\u8a2d\u5b9a\u3057\u305f\u3044\u3002<\/li>\n<ul>\n<p>\u3068\u3044\u3063\u305f\u8a00\u8a9e\u30e2\u30fc\u30c9\uff08\u2252\u30d5\u30a1\u30a4\u30eb\u62e1\u5f35\u5b50\uff09\u306b\u3088\u3063\u3066\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u6587\u5b57\u30b3\u30fc\u30c9\u3092\u5207\u308a\u63db\u3048\u308b\u65b9\u6cd5<\/p>\n<p><!--more--><\/p>\n<h3>settings.json<\/h3>\n<pre class=\"lang:js highlight:0 decode:true \" >{\r\n    \/* \u4e2d\u7565 *\/\r\n    \"files.autoGuessEncoding\": false,\r\n    \"files.encoding\": \"utf8\",\r\n    \"[cpp]\": {\r\n        \"files.encoding\": \"shiftjis\"\r\n    },\r\n    \"[python]\": {\r\n        \"files.encoding\": \"utf8\"\r\n    },\r\n    \/* \u4e2d\u7565 *\/\r\n}<\/pre>\n<h4>\u88dc\u8db3<\/h4>\n<p>\u6b21\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3059\u308b\u3053\u3068\u3067\u30d5\u30a1\u30a4\u30eb\u62e1\u5f35\u5b50\u3068\u8a00\u8a9e\u30e2\u30fc\u30c9\u306e\u95a2\u9023\u4ed8\u3051\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3067\u304d\u308b\u3002<\/p>\n<pre class=\"lang:js highlight:0 decode:true \" >{\r\n    \/* \u4e2d\u7565 *\/\r\n    \"files.associations\": {\r\n        \"*.c\": \"cpp\",\r\n        \"*.h\": \"cpp\",\r\n        \"*.hpp\": \"cpp\",\r\n        \"*.cpp\": \"cpp\",\r\n    },\r\n    \/* \u4e2d\u7565 *\/\r\n}<\/pre>\n<p>\u62e1\u5f35\u5b50 *.c \u3082 *.h \u3082 C++ \u3068\u3057\u3066\u6271\u3046\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8a73\u7d30 Visual Studio Code \u306b\u304a\u3044\u3066\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u6587\u5b57\u30a8\u30f3\u30b3\u30fc\u30c9\u3092\u30d5\u30a1\u30a4\u30eb\u306e\u7a2e\u985e\uff08\u8a00\u8a9e\u30e2\u30fc\u30c9\uff09\u306b\u3088\u3063\u3066\u5207\u308a\u66ff\u3048\u308b\u65b9\u6cd5\u3002 \u80cc\u666f C++ \u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306f Shift-JIS \u3092\u30c7\u30d5\u30a9\u30eb\u30c8\u6587\u5b57\u30b3\u30fc\u30c9\u306b\u3057\u305f\u3044\u3002  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[39],"class_list":["post-9065","post","type-post","status-publish","format-standard","hentry","category-memo","tag-vscode"],"_links":{"self":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/9065","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/comments?post=9065"}],"version-history":[{"count":11,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/9065\/revisions"}],"predecessor-version":[{"id":9076,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/9065\/revisions\/9076"}],"wp:attachment":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/media?parent=9065"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/categories?post=9065"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/tags?post=9065"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}