<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>おすすめツール＆サービス｜ミトラボ</title>
	<atom:link href="https://mito-lab.com/category/coding/service/feed/" rel="self" type="application/rss+xml" />
	<link>https://mito-lab.com</link>
	<description>フリーランスWebデザイナーの実験と備忘録</description>
	<lastBuildDate>Fri, 17 Jan 2020 19:18:38 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.6.17</generator>

<image>
	<url>https://mito-lab.com/wp-content/uploads/2019/11/cropped-fav_mitolab2.0-1-32x32.jpg</url>
	<title>おすすめツール＆サービス｜ミトラボ</title>
	<link>https://mito-lab.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Visual Studio Codeの便利なショートカットキー</title>
		<link>https://mito-lab.com/how-to-vscode/</link>
					<comments>https://mito-lab.com/how-to-vscode/#comments</comments>
		
		<dc:creator><![CDATA[mito]]></dc:creator>
		<pubDate>Sat, 31 Aug 2019 17:04:03 +0000</pubDate>
				<category><![CDATA[おすすめツール＆サービス]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[効率化]]></category>
		<guid isPermaLink="false">https://mito-lab.com/?p=1193</guid>

					<description><![CDATA[こんにちは、mito（@mito_works）です！ 今回は、ソースコードエディタのVSCode(Visual Studio Code)の便利なショートカットキーをまとめました。 まずは、VSCodeとはどんなエディタな]]></description>
										<content:encoded><![CDATA[<p><span class="s1">こんにちは、</span>mito<span class="s1">（<a href="https://twitter.com/mito_works"><span class="s2">@mito_works</span></a>）です！</span></p>
<p>今回は、ソースコードエディタのVSCode(Visual Studio Code)の便利なショートカットキーをまとめました。</p>
<div class="balloon-box balloon-right balloon-none balloon-bg-gray clearfix">
<div class="balloon-icon maru"><img src="https://mito-lab.com/wp-content/uploads/2024/01/fukidashi.jpg" alt="mito" width="80" height="80"></div>
<div class="icon-name">mito</div>
<div class="balloon-serif">
<div class="balloon-content">自分がよく使うな〜と思うものを中心にまとめているので随時更新していく予定です。</div>
</div></div>
<p>まずは、VSCodeとはどんなエディタなのか？というところから書くので、どのエディタを使うか悩んでいる方もぜひ参考にしてください。</p>
<h2>VSCodeとは</h2>
<p>2015年にマイクロソフトからリリースされたエディタです。<br />
Windowsのほかに、Mac OS、Linux上でも動作します。</p>
<h2>VSCodeの特徴</h2>
<h4><span id="i">シンタックスハイライト</span></h4>
<p>ソースコードの構造を視覚的に区別できるようにする表示機能のことです。<br />
テキストの一部（構文）をわかりやすい色で表示します。</p>
<h4>マルチカーソル機能</h4>
<p>エディタ上で複数選択し、同時編集ができる機能です。以下を参考にさせていただきました。</p>
<p class="entry-title"><a class="entry-title-link bookmark" href="http://mugi1.hateblo.jp/entry/2018/12/11/215808">マルチカーソルを使わないVSCodeはただのVSCodeだ！〜解説編〜</a></p>
<div class="balloon-box balloon-right balloon-none balloon-bg-gray clearfix">
<div class="balloon-icon maru"><img src="https://mito-lab.com/wp-content/uploads/2024/01/fukidashi.jpg" alt="mito" width="80" height="80"></div>
<div class="icon-name">mito</div>
<div class="balloon-serif">
<div class="balloon-content">⌘Dで選択か⌘⇧Lで選択して一気に修正できます。</div>
</div></div>
<h4><strong>標準でEmmetがついてる</strong></h4>
<p>EmmetとはHTML/CSSの超強力な入力補完プラグインです。</p>
<div class="balloon-box balloon-right balloon-none balloon-bg-gray clearfix">
<div class="balloon-icon maru"><img src="https://mito-lab.com/wp-content/uploads/2024/01/fukidashi.jpg" alt="mito" width="80" height="80"></div>
<div class="icon-name">mito</div>
<div class="balloon-serif">
<div class="balloon-content">このEmmetがすごく便利でコードを書くスピードを上げてくれるということで使いはじめました。</div>
</div></div>
<h2>覚えておくと便利なEmmetのショートカットキー紹介</h2>
<p>基本的な使い方はこちらがすごく参考になります。</p>
<p class="entry-title"><a href="https://haniwaman.com/emmet/">「はじめて」でも簡単！Emmetの使い方とよく使うパターン集</a></p>
<p>以下には少しスペルが紛らわしく覚える必要があるなと思ったものを書いています。</p>
<h3>CSS編</h3>
<table class="cps-table03">
<tbody>
<tr>
<th>dib</th>
<td class="rankinginfo">display: inline-block;</td>
</tr>
<tr>
<th>fz20</th>
<td class="rankinginfo">font-size: 20px;</td>
</tr>
<tr>
<th>p2-8-2-8</th>
<td class="rankinginfo">padding: 2px 8px 2px 8px;</td>
</tr>
<tr>
<th>bd+</th>
<td class="rankinginfo">border: 1px solid #000;</td>
</tr>
<tr>
<th>bsh0-0-3-0#000</th>
<td class="rankinginfo">box-shadow: 0 0 3px 0 #000000;</td>
</tr>
<tr>
<th>bdrs4</th>
<td>border-radius: 4px;</td>
</tr>
<tr>
<th>psr</th>
<td>position: relative;</td>
</tr>
<tr>
<th>psa</th>
<td>position: absolute;</td>
</tr>
<tr>
<th>tac</th>
<td>text-align: center;</td>
</tr>
<tr>
<th>tf</th>
<td>transform:</td>
</tr>
<tr>
<th>trs</th>
<td>transition:</td>
</tr>
</tbody>
</table>
<p>その他チートシートはこちら<span style="color:#e9546b; font-size:16px;" class="jic-sc jin-code-icon-arrow"><i class="jic jin-ifont-arrow"></i></span><a href="https://docs.emmet.io/cheat-sheet/" target="_blank" rel="noopener noreferrer">Emmetのチートシート</a></p>
<h2>VScodeのショートカットキー</h2>
<p><a href="https://qiita.com/naru0504/items/99495c4482cd158ddca8" target="_blank" rel="noopener noreferrer">【Mac版】 VisualStudioCode キーボードショートカット</a></p>
<p>こちらから特によく使うものをご紹介します！</p>
<table class="cps-table03">
<tbody>
<tr>
<th><span style="color: #ff0000;">⌘K ⌘Q</span></th>
<td class="rankinginfo"><span style="color: #ff0000;">最後の編集位置に移動</span></td>
</tr>
</tbody>
</table>
<p>コードを書く時に先に書いてあるコードをコピーすることがよくあるのですごくよく使います。</p>
<p>&nbsp;</p>
<table class="cps-table03">
<tbody>
<tr>
<th>⌘K ⌘U</th>
<td class="rankinginfo">コメント追加</td>
</tr>
<tr>
<th>⌘/</th>
<td>行コメント記号をトグル</td>
</tr>
<tr>
<th>⇧⌘K</th>
<td class="rankinginfo">カーソル行削除</td>
</tr>
<tr>
<th>⇧⌥↓</th>
<td class="rankinginfo">カーソル行を下にコピー</td>
</tr>
<tr>
<th>⌘↑</th>
<td class="rankinginfo">ファイルの先頭に移動</td>
</tr>
<tr>
<th>⌘↓</th>
<td class="rankinginfo">ファイルの末尾に移動</td>
</tr>
</tbody>
</table>
<table class="cps-table03">
<tbody>
<tr>
<th>⌥↑</th>
<td class="rankinginfo">カーソル行を上にコピー</td>
</tr>
<tr>
<th>⌥↓</th>
<td>カーソル行を下にコピー</td>
</tr>
</tbody>
</table>
<p>例えばHTMLでdivの中身を先に書いて後からdivで囲む時に便利です。</p>
<p>&nbsp;</p>
<table class="cps-table03" style="height: 115px;">
<tbody>
<tr style="height: 23px;">
<th style="height: 23px; width: 168px;">⌘1</th>
<td class="rankinginfo" style="height: 23px; width: 414px;">左のエディターにフォーカス</td>
</tr>
<tr style="height: 23px;">
<th style="height: 23px; width: 168px;">⌘2</th>
<td class="rankinginfo" style="height: 23px; width: 414px;">右のエディターにフォーカス</td>
</tr>
<tr style="height: 23px;">
<th style="height: 23px; width: 168px;"><strong>⌘B</strong></th>
<td class="rankinginfo" style="height: 23px; width: 414px;">サイドバー表示のトグル</td>
</tr>
</tbody>
</table>
<p>2列表示の場合の切り替えに便利です。</p>
<p>&nbsp;</p>
<table class="cps-table03">
<tbody>
<tr>
<th>⌘Enter</th>
<td class="rankinginfo">下に行追加</td>
</tr>
<tr>
<th>⇧⌘Enter</th>
<td class="rankinginfo">上に行追加</td>
</tr>
</tbody>
</table>
<p>選択している行が長い場合も上記のショートカットで上下にコードを追加できます。</p>
<table class="cps-table03">
<tbody>
<tr>
<th>⌘G</th>
<td class="rankinginfo">次を検索</td>
</tr>
<tr>
<th>⇧⌘G</th>
<td class="rankinginfo">前を検索</td>
</tr>
</tbody>
</table>
<p>カーソルで選択しているコードと同じコードをすぐに検索できます。</p>
<div class="balloon-box balloon-left balloon-gray balloon-bg-none clearfix">
<div class="balloon-icon maru"><img src="https://mito-lab.com/wp-content/uploads/2019/05/dog2.jpg" alt="momo" width="80" height="80"></div>
<div class="icon-name">momo</div>
<div class="balloon-serif">
<div class="balloon-content">使いこなせるとコードを書くのが楽しくなるね！</div>
</div></div>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://mito-lab.com/how-to-vscode/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
