{"id":3827,"date":"2022-12-06T01:30:24","date_gmt":"2022-12-05T16:30:24","guid":{"rendered":"https:\/\/weseek.co.jp\/tech\/?p=3827"},"modified":"2023-04-17T10:36:20","modified_gmt":"2023-04-17T01:36:20","slug":"%e3%83%9e%e3%83%ab%e3%83%81%e3%82%ab%e3%83%bc%e3%82%bd%e3%83%ab%e3%82%92%e7%94%a8%e3%81%84%e3%81%a6%e5%bf%ab%e9%81%a9%e3%81%ab-vscode-%e3%82%92%e4%bd%bf%e3%81%86","status":"publish","type":"post","link":"https:\/\/weseek.co.jp\/tech\/3827\/","title":{"rendered":"\u30de\u30eb\u30c1\u30ab\u30fc\u30bd\u30eb\u3092\u7528\u3044\u3066\u5feb\u9069\u306b VSCode \u3092\u4f7f\u3046"},"content":{"rendered":"<h1>\u306f\u3058\u3081\u306b<\/h1>\n<p>\u3053\u3093\u306b\u3061\u306f\u3001WESEEK \u3067\u30a8\u30f3\u30b8\u30cb\u30a2\u3092\u3057\u3066\u3044\u308b\u3001\u85e4\u6fa4\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f VS Code \u3067\u30de\u30eb\u30c1\u30ab\u30fc\u30bd\u30eb\u3092\u4f7f\u3046\u65b9\u6cd5\u3092\u305d\u306e\u5177\u4f53\u4f8b\u3068\u3068\u3082\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n<p>\u30de\u30eb\u30c1\u30ab\u30fc\u30bd\u30eb\u3092\u4f7f\u3044\u3053\u306a\u3059\u3053\u3068\u3067\u65e5\u3005\u306e\u696d\u52d9\u306e\u6642\u9593\u77ed\u7e2e\u304c\u56f3\u308c\u308b\u306f\u305a\u3067\u3059\u3002<br \/>\n\u305c\u3072\u3053\u306e\u8a18\u4e8b\u3092\u898b\u3066\u3001\u30de\u30eb\u30c1\u30ab\u30fc\u30bd\u30eb\u3092\u4f7f\u3046\u3053\u3068\u3092\u691c\u8a0e\u3057\u3066\u3082\u3089\u3048\u308c\u3070\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p><!--more--><\/p>\n\n<h1>\u30de\u30eb\u30c1\u30ab\u30fc\u30bd\u30eb\u3068\u306f<\/h1>\n<p>VS Code \u3067\u306f\u8907\u6570\u306e\u30ab\u30fc\u30bd\u30eb\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u3066\u3001<a href=\"https:\/\/code.visualstudio.com\/docs\/editor\/codebasics#_multiple-selections-multicursor\">\u30de\u30eb\u30c1\u30ab\u30fc\u30bd\u30eb<\/a>\u3068\u547c\u3070\u308c\u3066\u3044\u307e\u3059\u3002\u305d\u308c\u305e\u308c\u306e\u30ab\u30fc\u30bd\u30eb\u306f\u30e6\u30fc\u30b6\u306e\u5165\u529b\u306b\u5bfe\u3057\u3066\u72ec\u7acb\u306b\u3001\u4e26\u5217\u306b\u52d5\u4f5c\u3057\u307e\u3059\u3002<\/p>\n<p>\u8a73\u3057\u304f\u8aac\u660e\u3059\u308b\u3088\u308a\u3082\u898b\u305f\u65b9\u304c\u65e9\u3044\u306e\u3067\u4ee5\u4e0b\u306e\u52d5\u753b\u3092\u898b\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div style=\"width: 1920px;\" class=\"wp-video\"><!--[if lt IE 9]><script>document.createElement('video');<\/script><![endif]-->\n<video class=\"wp-video-shortcode\" id=\"video-3827-1\" width=\"1920\" height=\"1032\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/weseek.co.jp\/tech\/wp-content\/uploads\/2022\/11\/tech-blog-multicursor1.mp4?_=1\" \/><a href=\"https:\/\/weseek.co.jp\/tech\/wp-content\/uploads\/2022\/11\/tech-blog-multicursor1.mp4\">https:\/\/weseek.co.jp\/tech\/wp-content\/uploads\/2022\/11\/tech-blog-multicursor1.mp4<\/a><\/video><\/div>\n<div style=\"width: 1920px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-3827-2\" width=\"1920\" height=\"1032\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/weseek.co.jp\/tech\/wp-content\/uploads\/2022\/11\/\u25cf-1-\u2022-Untitled-1-growi-WSL_-Ubuntu-20.04-Visual-Studio-Code-2022-11-24-23-20-28.mp4?_=2\" \/><a href=\"https:\/\/weseek.co.jp\/tech\/wp-content\/uploads\/2022\/11\/\u25cf-1-\u2022-Untitled-1-growi-WSL_-Ubuntu-20.04-Visual-Studio-Code-2022-11-24-23-20-28.mp4\">https:\/\/weseek.co.jp\/tech\/wp-content\/uploads\/2022\/11\/\u25cf-1-\u2022-Untitled-1-growi-WSL_-Ubuntu-20.04-Visual-Studio-Code-2022-11-24-23-20-28.mp4<\/a><\/video><\/div>\n<p>\u4ee5\u4e0a\u306e\u52d5\u753b\u306e\u3088\u3046\u306b\u8907\u6570\u306e\u30ab\u30fc\u30bd\u30eb\u3092\u4e26\u5217\u306b\u52d5\u4f5c\u3055\u305b\u3001\u4f3c\u305f\u3088\u3046\u306a\u4f5c\u696d\u304c\u540c\u6642\u306b\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>VS Code \u306e KeyBindings \u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u3067\u3088\u308a\u4f7f\u3044\u3084\u3059\u304f\u306a\u308b\u306e\u3067\u3001\u4ee5\u4e0b\u3067\u306f KeyBindings \u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h1>\u8a2d\u5b9a\u3057\u3066\u304a\u304f\u3079\u304d KeyBindings<\/h1>\n<p>\u30de\u30eb\u30c1\u30ab\u30fc\u30bd\u30eb\u3092\u4f7f\u7528\u3059\u308b\u969b\u306b\u3044\u304f\u3064\u304b\u8a2d\u5b9a\u3057\u3066\u304a\u304f\u3079\u304d KeyBindings \u304c\u3042\u308b\u306e\u3067\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p>KeyBindings \u306e\u8a2d\u5b9a\u65b9\u6cd5\u306f<a href=\"https:\/\/code.visualstudio.com\/docs\/getstarted\/keybindings#_keyboard-shortcuts-editor\">\u3053\u3061\u3089<\/a>\u3092\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n\u3053\u3053\u3067\u306f VS Code \u306e KeyBindings \u540d\u3067\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li>AddCursorBelow\/Above\n<ul>\n<li>\u73fe\u5728\u30ab\u30fc\u30bd\u30eb\u304c\u3042\u308b\u3068\u3053\u308d\u304b\u3089\u4e0a\u4e0b\u3078\u30de\u30eb\u30c1\u30ab\u30fc\u30bd\u30eb\u306e\u30ab\u30fc\u30bd\u30eb\u3092\u8ffd\u52a0\u3057\u307e\u3059<\/li>\n<\/ul>\n<\/li>\n<li>cursorWordEndRight\/Left\n<ul>\n<li>Right\u3001 Left \u3068\u3042\u308a\u3001\u5de6\u53f3 1 \u5358\u8a9e\u5206\u79fb\u52d5\u3057\u307e\u3059\u3002<\/li>\n<li>\u30de\u30eb\u30c1\u30ab\u30fc\u30bd\u30eb\u3067\u4f7f\u7528\u3059\u308b\u969b\u306b\u306f\u30ab\u30fc\u30bd\u30eb\u306e\u307f\u3060\u3068\u5358\u8a9e\u306e\u6587\u5b57\u6570\u306b\u3088\u3063\u3066\u5404\u30ab\u30fc\u30bd\u30eb\u304c\u305a\u308c\u308b\u306e\u3067\u4f7f\u3046\u6a5f\u4f1a\u306f\u591a\u3044\u3067\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<li>cursorEndRight\/Left\n<ul>\n<li>Right\u3001Left \u3068\u3042\u308a\u3001\u30a4\u30f3\u30c7\u30f3\u30c8\u3084\u30b9\u30da\u30fc\u30b9\u3092\u9664\u3044\u3066\u5de6\u53f3\u884c\u3051\u308b\u3068\u3053\u308d\u307e\u3067\u884c\u304d\u307e\u3059\u3002<\/li>\n<li>2\u56de cursorEndLeft \u3067\u30a4\u30f3\u30c7\u30f3\u30c8\u3084\u30b9\u30da\u30fc\u30b9\u3092\u8d85\u3048\u3066\u4e00\u756a\u5de6\u307e\u3067\u884c\u304d\u307e\u3059\u3002<\/li>\n<li>\u30de\u30eb\u30c1\u30ab\u30fc\u30bd\u30eb\u3067\u306f\u4e0a\u306e cursorWordEnd \u3068\u7d44\u307f\u5408\u308f\u305b\u3066\u4f7f\u3063\u305f\u308a\u3001\u4f7f\u3046\u6a5f\u4f1a\u304c\u591a\u3044\u3067\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<li>cursorWordEndRightSelect\/LeftSelect\n<ul>\n<li>cursorWordEndRight\/Left \u540c\u69d8\u30ab\u30fc\u30bd\u30eb\u304c\u79fb\u52d5\u3057\u3001 \u3055\u3089\u306b\u79fb\u52d5\u3057\u305f\u7bc4\u56f2\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/li>\n<li>\u30b3\u30d4\u30fc\u3084\u524a\u9664\u3068\u7d44\u307f\u5408\u308f\u305b\u3066\u4f7f\u3046\u3053\u3068\u304c\u591a\u3044\u3067\u3059\u3002<\/li>\n<li>\u5f8c\u8ff0\u306e Add Selection To Next Find Match \u3068\u7d44\u307f\u5408\u308f\u305b\u3066\u4f7f\u3046\u3053\u3068\u3082\u591a\u3044\u3067\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<li>cursorEndRightSelect\/LeftSelect\n<ul>\n<li>cursorEndRight\/Left \u540c\u69d8\u30ab\u30fc\u30bd\u30eb\u304c\u79fb\u52d5\u3057\u3001\u3055\u3089\u306b\u79fb\u52d5\u3057\u305f\u7bc4\u56f2\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/li>\n<li>\u3053\u3061\u3089\u3082\u30b3\u30d4\u30fc\u3084\u524a\u9664\u3068\u7d44\u307f\u5408\u308f\u305b\u3066\u4f7f\u3046\u3053\u3068\u304c\u591a\u3044\u3067\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<li>Add Selection To Next Find Match\n<ul>\n<li>\u73fe\u5728\u9078\u629e\u4e2d\u306e\u6587\u5b57\u3092\u691c\u7d22\u3057\u3001\u6b21\u306b\u8fd1\u3044\u90e8\u5206\u306b\u8ffd\u52a0\u3067\u30ab\u30fc\u30bd\u30eb\u3092\u7f6e\u304d\u307e\u3059\u3002<\/li>\n<li>replace \u3067\u5168\u4f53\u3092\u3084\u308b\u307b\u3069\u3067\u3082\u306a\u3044\u3068\u304d\u306b\u4f7f\u3046\u3053\u3068\u304c\u591a\u3044\u3067\u3059\u3002(\u95a2\u6570\u5185\u306e\u307f\u3067\u306e replace \u3092\u3057\u305f\u3044\u3068\u304d\u7b49)<\/li>\n<li>Move Last Selection To Next Find Match \u3067\u30ab\u30fc\u30bd\u30eb\u3092\u7f6e\u304f\u306e\u3092\u4e00\u3064\u30b9\u30ad\u30c3\u30d7\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<li>Move Last Selection To Next Find Match\n<ul>\n<li>\u4e0a\u8ff0\u306e Add Selection To Next Find Match \u3092\u4e00\u3064\u30b9\u30ad\u30c3\u30d7\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h1>\u5177\u4f53\u4f8b<\/h1>\n<p>\u5177\u4f53\u4f8b\u3092\u3082\u3068\u306b\u4f7f\u3044\u65b9\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<br \/>\n\u30b3\u30fc\u30c9\u81ea\u4f53\u306f\u30c6\u30ad\u30c8\u30fc\u3067\u3059\u3002<\/p>\n<ol>\n<li>\u6587\u5b57\u5217\u306e\u914d\u5217\u304b\u3089\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u308b<br \/>\n<div style=\"width: 1920px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-3827-3\" width=\"1920\" height=\"1032\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/weseek.co.jp\/tech\/wp-content\/uploads\/2022\/11\/\u25cf-red-green-blue-yellow-purp-\u2022-Untitled-2-growi-WSL_-Ubuntu-20.04-Visual-Studio-Code-2022-11-25-00-00-32.mp4?_=3\" \/><a href=\"https:\/\/weseek.co.jp\/tech\/wp-content\/uploads\/2022\/11\/\u25cf-red-green-blue-yellow-purp-\u2022-Untitled-2-growi-WSL_-Ubuntu-20.04-Visual-Studio-Code-2022-11-25-00-00-32.mp4\">https:\/\/weseek.co.jp\/tech\/wp-content\/uploads\/2022\/11\/\u25cf-red-green-blue-yellow-purp-\u2022-Untitled-2-growi-WSL_-Ubuntu-20.04-Visual-Studio-Code-2022-11-25-00-00-32.mp4<\/a><\/video><\/div><\/p>\n<ul>\n<li>\u305d\u3093\u306a\u5834\u9762\u304c\u3042\u308b\u304b\u306f\u308f\u304b\u308a\u307e\u305b\u3093\u304c\u914d\u5217\u306e\u5404\u6587\u5b57\u5217\u304b\u3089\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u308a\u307e\u3057\u305f\u3002<\/li>\n<li>\u307e\u305a[]\u306f\u3044\u3089\u306a\u3044\u306e\u3067\u666e\u901a\u306b\u6d88\u3057\u307e\u3059\u3002<\/li>\n<li>\u6b21\u306b\u30ab\u30f3\u30de\u3092\u9078\u629e\u3057\u3001 Add Selection To Next Find Match \u3092\u4f7f\u3044\u305d\u308c\u305e\u308c\u6539\u884c\u3057\u307e\u3059\u3002\u305d\u306e\u969b\u306b\u5168\u90e8\u306e\u884c\u982d\u306e\u4f4d\u7f6e\u3092\u63c3\u3048\u307e\u3059\u3002<\/li>\n<li>escape \u3067\u3044\u3063\u305f\u3093\u30ab\u30fc\u30bd\u30eb\u3092\u5916\u3057\u30011\u884c\u76ee\u982d\u306b\u30ab\u30fc\u30bd\u30eb\u3092\u7f6e\u304d\u3001AddCursorBelow \u306b\u3088\u3063\u3066\u5404\u884c\u306e\u982d\u306b\u30ab\u30fc\u30bd\u30eb\u3092\u6301\u3063\u3066\u304d\u307e\u3059\u3002<\/li>\n<li>\u3042\u3068\u306f\u4e00\u3064\u306e\u884c\u306b\u6ce8\u76ee\u3057\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u308b\u3088\u3046\u306a\u64cd\u4f5c\u3092\u3059\u308c\u3070\u5168\u884c\u3067\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u5b8c\u6210\u3057\u307e\u3059\u3002\u3053\u306e\u969b\u306b\u5404\u884c\u306e\u5dee\u7570\u304c\u51fa\u306a\u3044\u3088\u3046\u306b\u306a\u308b\u3079\u304f\u30ab\u30fc\u30bd\u30eb\u30ad\u30fc\u3092\u5358\u4f53\u3067\u4f7f\u308f\u306a\u3044\u3053\u3068\u304c\u5927\u4e8b\u3067\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h1>\u307e\u3068\u3081<\/h1>\n<p>\u4eca\u56de\u306f\u4e00\u3064\u5177\u4f53\u4f8b\u3092\u6319\u3052\u307e\u3057\u305f\u304c\u3001\u4f7f\u3044\u65b9\u306f\u3082\u3063\u3068\u3044\u308d\u3044\u308d\u3042\u308b\u306f\u305a\u3067\u3059\u3002<br \/>\n\u30de\u30eb\u30c1\u30ab\u30fc\u30bd\u30eb\u304c\u624b\u306b\u306a\u3058\u3080\u3068\u3061\u3087\u3063\u3068\u3057\u305f\u3068\u304d\u306b\u5927\u5909\u4fbf\u5229\u3067\u6642\u9593\u77ed\u7e2e\u304c\u3067\u304d\u307e\u3059\u3001\u662f\u975e\u4f7f\u3063\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u307e\u305f\u3001\u62e1\u5f35\u6a5f\u80fd\u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u5404\u30ab\u30fc\u30bd\u30eb\u3067\u9078\u629e\u4e2d\u306e\u3082\u306e\u306e\u547d\u540d\u30b1\u30fc\u30b9\u3092\u5909\u3048\u305f\u308a(camel case -&gt; snake case)\u3001HTML \u306e\u9589\u3058\u30bf\u30b0\u3092\u30ab\u30fc\u30bd\u30eb\u3054\u3068\u306b\u8ffd\u52a0\u3057\u305f\u308a\u3001\u3068\u3044\u308d\u3044\u308d\u306a\u4f7f\u3044\u65b9\u304c\u3067\u304d\u308b\u306e\u3067\u662f\u975e\u63a2\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h1>\u53c2\u8003<\/h1>\n<p><a href=\"https:\/\/code.visualstudio.com\/docs\/editor\/codebasics#_multiple-selections-multicursor\">https:\/\/code.visualstudio.com\/docs\/editor\/codebasics#_multiple-selections-multicursor<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u306f\u3058\u3081\u306b \u3053\u3093\u306b\u3061\u306f\u3001WESEEK \u3067\u30a8\u30f3\u30b8\u30cb\u30a2\u3092\u3057\u3066\u3044\u308b\u3001\u85e4\u6fa4\u3067\u3059\u3002 \u3053\u306e\u8a18\u4e8b\u3067\u306f VS Code \u3067\u30de\u30eb\u30c1\u30ab\u30fc\u30bd\u30eb\u3092\u4f7f\u3046\u65b9\u6cd5\u3092\u305d\u306e\u5177\u4f53\u4f8b\u3068\u3068\u3082\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002 \u30de\u30eb\u30c1\u30ab\u30fc\u30bd\u30eb\u3092\u4f7f\u3044\u3053\u306a\u3059\u3053\u3068\u3067\u65e5\u3005\u306e\u696d\u52d9\u306e\u6642\u9593\u77ed\u7e2e\u304c\u56f3\u308c<\/p>\n","protected":false},"author":23,"featured_media":3949,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[151],"tags":[],"_links":{"self":[{"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/posts\/3827"}],"collection":[{"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/users\/23"}],"replies":[{"embeddable":true,"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/comments?post=3827"}],"version-history":[{"count":14,"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/posts\/3827\/revisions"}],"predecessor-version":[{"id":3948,"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/posts\/3827\/revisions\/3948"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/media\/3949"}],"wp:attachment":[{"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/media?parent=3827"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/categories?post=3827"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/tags?post=3827"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}