<?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>DEV Community: py.talk()</title>
    <description>The latest articles on DEV Community by py.talk() (@py_talk).</description>
    <link>https://dev.to/py_talk</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%2F473804%2F3863030e-4ffc-4a3f-98ac-bd4e84491ec8.jpg</url>
      <title>DEV Community: py.talk()</title>
      <link>https://dev.to/py_talk</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/py_talk"/>
    <language>en</language>
    <item>
      <title>How to set correctly snipets? [solved]</title>
      <dc:creator>py.talk()</dc:creator>
      <pubDate>Wed, 23 Sep 2020 09:24:50 +0000</pubDate>
      <link>https://dev.to/py_talk/how-to-set-correctly-snipets-32be</link>
      <guid>https://dev.to/py_talk/how-to-set-correctly-snipets-32be</guid>
      <description>&lt;h3&gt;
  
  
  Hi, I have a qestion about setting up snipets in VSCode.
&lt;/h3&gt;

&lt;p&gt;First of all I use standard Python extention by MS.&lt;br&gt;
There are several points when just after pressing &lt;code&gt;space&lt;/code&gt; or &lt;code&gt;enter&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;I don't like situations when I get:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;pandas&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;pdb&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;pdb&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;set_trace&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;insted&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;pandas&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;pd&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;Ist there possibility to turn off some snippets or choose acceptance button?&lt;/p&gt;

&lt;p&gt;Thanks in advance&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[edit]
I've found solution. Just add following line to your settings



&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;"editor.acceptSuggestionOnEnter": "off"&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;



&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Ok. I think I've found solution. Just add following line do your settings&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"editor.acceptSuggestionOnEnter": "off"
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



</description>
      <category>vscode</category>
      <category>help</category>
      <category>snipets</category>
    </item>
  </channel>
</rss>
