<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Ollie Ridsdale</title>
    <description>The latest articles on Forem by Ollie Ridsdale (@oridsdale).</description>
    <link>https://forem.com/oridsdale</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F18646%2Fc231897a-f1c7-4546-bff4-3c9f6c0c8ba8.jpg</url>
      <title>Forem: Ollie Ridsdale</title>
      <link>https://forem.com/oridsdale</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/oridsdale"/>
    <language>en</language>
    <item>
      <title>5 useful VSCode shortcuts for GitHub Copilot 🤖</title>
      <dc:creator>Ollie Ridsdale</dc:creator>
      <pubDate>Tue, 07 May 2024 16:20:24 +0000</pubDate>
      <link>https://forem.com/shortcutmasters/5-useful-vscode-shortcuts-for-github-copilot-2i26</link>
      <guid>https://forem.com/shortcutmasters/5-useful-vscode-shortcuts-for-github-copilot-2i26</guid>
      <description>&lt;p&gt;If you're a Copilot user, you're probably already familiar with the shortcuts to accept (&lt;code&gt;tab&lt;/code&gt;) and dismiss suggestions (&lt;code&gt;esc&lt;/code&gt;). &lt;/p&gt;

&lt;p&gt;But did you know about these 5 shortcuts? I've personally found them really useful.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Show next/previous inline suggestion
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbfk2ofo1aw78b43h5xzc.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbfk2ofo1aw78b43h5xzc.gif" alt="Demonstrates the shortcut in action, cycling through inline suggestions with copilot in the vscode editor"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This shortcut lets you cycle forwards and backwards between different inline suggestions offered by Copilot&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Mac&lt;/strong&gt;: &lt;code&gt;Option ⌥&lt;/code&gt; + &lt;code&gt;[&lt;/code&gt;  /  &lt;code&gt;Option ⌥&lt;/code&gt; + &lt;code&gt;]&lt;/code&gt;&lt;br&gt;
&lt;strong&gt;Windows &amp;amp; Linux&lt;/strong&gt;: &lt;code&gt;Alt&lt;/code&gt; +  &lt;code&gt;[&lt;/code&gt;  /  &lt;code&gt;Alt&lt;/code&gt; + &lt;code&gt;]&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Trigger an inline suggestion
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fojj9s1345twbqxzqjmb4.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fojj9s1345twbqxzqjmb4.gif" alt="Demonstrates the shortcut in action, a copilot suggestion is triggered which looks like a predective suggestion inline in the vscode editor"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This one is super useful if you accidentally dismiss a suggestion with &lt;code&gt;esc&lt;/code&gt;, you can have Copilot trigger a new suggestion.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Mac&lt;/strong&gt;: &lt;code&gt;Option ⌥&lt;/code&gt; + &lt;code&gt;\&lt;/code&gt;&lt;br&gt;
&lt;strong&gt;Windows &amp;amp; Linux&lt;/strong&gt;: &lt;code&gt;Alt&lt;/code&gt; +  &lt;code&gt;\&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Open suggestions panel
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxdp0a7m8rwtw8k3e1mzm.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxdp0a7m8rwtw8k3e1mzm.gif" alt="Demonstrates the suggestion panel being popped open on shortcut press in the vscode editor"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If cycling through shortcuts feels cumbersome, you might find this helpful. It opens all the suggestions in a panel where you can more easily review each one.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Mac&lt;/strong&gt;: &lt;code&gt;Control ⌥&lt;/code&gt; + &lt;code&gt;Enter ⏎&lt;/code&gt;&lt;br&gt;
&lt;strong&gt;Windows &amp;amp; Linux&lt;/strong&gt;: &lt;code&gt;Ctrl&lt;/code&gt; +  &lt;code&gt;Enter ⏎&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Open inline chat
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9yj40wb4mhfq8vr6j3bq.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9yj40wb4mhfq8vr6j3bq.gif" alt="demonstrates an inline chat popup appearing on shortcut press, it looks like a small text box hovering above the curosor which allows the user to input a command to copilot"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Chat with Copilot inline in your code, Copilot will generate code right at your cursor position.&lt;/p&gt;

&lt;p&gt;💡 This also works in the terminal, if you'd like guidance on how to do something there.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Mac&lt;/strong&gt;: &lt;code&gt;Command ⌘&lt;/code&gt; + &lt;code&gt;I&lt;/code&gt;&lt;br&gt;
&lt;strong&gt;Windows &amp;amp; Linux&lt;/strong&gt;: &lt;code&gt;Ctrl&lt;/code&gt; +  &lt;code&gt;I&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Start a new chat
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzr5wtmdv9qhd3ht5ial1.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzr5wtmdv9qhd3ht5ial1.gif" alt="Demonstrates a new copilot chat being created in the chat panel in the vscode editor"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you're already chatting with copilot in the chat panel, you can use this shortcut to quickly start a new chat.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Mac&lt;/strong&gt;: &lt;code&gt;Control ^&lt;/code&gt; + &lt;code&gt;L&lt;/code&gt;&lt;br&gt;
&lt;strong&gt;Windows &amp;amp; Linux&lt;/strong&gt;: &lt;code&gt;Ctrl&lt;/code&gt; +  &lt;code&gt;L&lt;/code&gt;&lt;/p&gt;




&lt;p&gt;and that's all five!💥. Hopefully you found those helpful. &lt;/p&gt;

&lt;p&gt;Do you know any other shortcuts in VSCode or for Copilot? Let me know in the comments below, I'd love to hear about them.&lt;/p&gt;

</description>
      <category>productivity</category>
      <category>vscode</category>
      <category>githubcopilot</category>
      <category>shortcuts</category>
    </item>
  </channel>
</rss>
