<p dir="auto">It would be interesting to have the ability to define different word wrap values for <em>different languages</em>, specially if you use <strong>Code</strong> for editing normal programming languages like JavaScript, Pascal and <em>non</em> programming languages, like Markdown.</p>
<p dir="auto">I tend to respect the word wrap values defined in the main IDE for a particular language (if exists/is used), and turn off word wrap for for Markdown/Log/Text files. But today, in <strong>Code</strong> I only have settings for the <em>Editor</em>  (<code class="notranslate">editor.wrappingColumn</code> and <code class="notranslate">editor.wrappingIndent</code>).</p>
<p dir="auto">Thanks in advance</p>
<p dir="auto">In our project we have a number of files where tabs are strictly required (a format we do not control). However, we want to normalize tabs to spaces throughout the rest of the project.</p>
<p dir="auto">For now, I just ask that people don't edit those files in VSCode. I even considered adding them to the ignore list for VSCode itself. But it's not uncommon to have file-specific settings, so I thought it would be nice if VSCode allowed for more complex patterns - much like <code class="notranslate">files.exclude</code>, perhaps something like:</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&quot;editor.insertSpaces&quot;: true,
&quot;diffEditor.ignoreTrimWhitespace&quot;: true,
&quot;files.settings&quot;: {
  &quot;**/*.idt&quot;: {
    &quot;editor.insertSpaces&quot;: false,
    &quot;diffEditor.ignoreTrimWhitespace&quot;: false
  }
}"><pre class="notranslate"><span class="pl-ent">"editor.insertSpaces"</span>: <span class="pl-c1">true</span>,
<span class="pl-ent">"diffEditor.ignoreTrimWhitespace"</span>: <span class="pl-c1">true</span>,
<span class="pl-ent">"files.settings"</span>: {
  <span class="pl-ent">"**/*.idt"</span>: {
    <span class="pl-ent">"editor.insertSpaces"</span>: <span class="pl-c1">false</span>,
    <span class="pl-ent">"diffEditor.ignoreTrimWhitespace"</span>: <span class="pl-c1">false</span>
  }
}</pre></div>