title: VS code indentation mode changes from spaces to tab
body: <p>I am using VS code with a number of extensions, including pylance , editorconfig, prettier, . No matter how many times I change the insertSpaces to true for the different languages or any indentation related settings to spaces  mode, at some point (sometimes after a couple of minutes of usage, sometimes after reopening VS code) the tab key starts indenting with tab.  I notice this mostly by  pressing enter. How can I figure out which extension is doing   overriding the spaces indentation mode? I don't want to go through the exercise of testing them one by one. Here's my settings.json that I have pruned down  to remove nonrelevant settings.</p>
  <pre><code>{
      &quot;workbench.statusBar.visible&quot;: true,
      &quot;editor.insertSpaces&quot;: true,
      &quot;editor.tabSize&quot;: 4,
      //&quot;shellformat.useEditorConfig&quot;: true,
      &quot;editor.fontSize&quot;: 10,
      &quot;editor.tabCompletion&quot;: &quot;on&quot;,
      &quot;editor.renderWhitespace&quot;: &quot;all&quot;,
      &quot;editor.suggestSelection&quot;: &quot;first&quot;,
      &quot;editor.codeLens&quot;: true,
      // Generic
      &quot;cSpell.enabled&quot;: true,
      &quot;cSpell.language&quot;: &quot;en&quot;,
      &quot;python.linting.enabled&quot;: true,
      &quot;python.linting.pylintArgs&quot;: [
          &quot;--disable=C0303&quot;,
          &quot;--indent-string=\&quot;    \&quot;&quot;
      ],
      &quot;python.linting.pylintEnabled&quot;: true,
      &quot;python.autoComplete.addBrackets&quot;: true,
      &quot;python.terminal.activateEnvironment&quot;: true,
      &quot;[python]&quot;: {
          &quot;editor.defaultFormatter&quot;: &quot;ms-python.vscode-pylance&quot;,
          &quot;editor.tabSize&quot;: 4,
          &quot;editor.autoClosingBrackets&quot;: &quot;always&quot;,
          &quot;editor.insertSpaces&quot;: true,
      },
      &quot;prettier.useEditorConfig&quot;: true,
      &quot;prettier.tabWidth&quot;: 4,
      &quot;python.linting.pylintCategorySeverity.convention&quot;: &quot;Hint&quot;,
      &quot;python.linting.pylintCategorySeverity.refactor&quot;: &quot;Warning&quot;,
      &quot;python.linting.maxNumberOfProblems&quot;: 200,
      &quot;python.linting.pycodestyleArgs&quot;: [
          &quot;--max-line-length=100&quot;
      ],
      &quot;python.jediEnabled&quot;: false,
      &quot;vsintellicode.python.completionsEnabled&quot;: true,
      &quot;[json]&quot;: {
          &quot;editor.insertSpaces&quot;: true
      },
      // R
      &quot;[r]&quot;: {
          &quot;editor.autoClosingBrackets&quot;: &quot;always&quot;,
          &quot;editor.defaultFormatter&quot;: &quot;Ikuyadeu.r&quot;,
          &quot;editor.comments.insertSpace&quot;: true,
      },
      &quot;r.interpreter&quot;: 0,
      &quot;r.linting.enable&quot;: true,
      &quot;r.lsp.debug&quot;: true,
      &quot;r.linting.maxLineLength&quot;: 105,
      &quot;r.editor.tabSize&quot;: 2,
      &quot;r.linting.noTabs&quot;: true,
      &quot;editor.detectIndentation&quot;: false,
      &quot;editor.comments.insertSpace&quot;: true,
      &quot;prettier.useTabs&quot;: false,
      &quot;editor.useTabStops&quot;: true,
      &quot;editor.stickyTabStops&quot;: false,
      &quot;update.enableWindowsBackgroundUpdates&quot;: false,
      &quot;breadcrumbs.enabled&quot;: true,
      // REMOTE connection
      &quot;remote.SSH.showLoginTerminal&quot;: true,
      &quot;remote.SSH.lockfilesInTmp&quot;: true,
      &quot;window.openFoldersInNewWindow&quot;: &quot;on&quot;,
      &quot;search.showLineNumbers&quot;: true,
      &quot;r.lsp.diagnostics&quot;: false,
      &quot;diffEditor.ignoreTrimWhitespace&quot;: false,
      &quot;workbench.iconTheme&quot;: &quot;vscode-icons&quot;,
      &quot;material-icon-theme.showUpdateMessage&quot;: false,
      &quot;window.zoomLevel&quot;: 3,
      &quot;sync.removeExtensions&quot;: true,
      &quot;sync.syncExtensions&quot;: true,
      &quot;vsintellicode.modify.editor.suggestSelection&quot;: &quot;automaticallyOverrodeDefaultValue&quot;,
      &quot;python.analysis.extraPaths&quot;: [],
      &quot;python.terminal.activateEnvInCurrentTerminal&quot;: true,
      &quot;python.workspaceSymbols.enabled&quot;: true,
      &quot;python.analysis.completeFunctionParens&quot;: true,
      &quot;python.languageServer&quot;: &quot;None&quot;,
      &quot;gitlens.currentLine.enabled&quot;: false,
      &quot;gitlens.hovers.currentLine.over&quot;: &quot;line&quot;,
      &quot;gitlens.statusBar.enabled&quot;: false,
      &quot;jupyter.askForKernelRestart&quot;: false,
      &quot;[ignore]&quot;: {
          &quot;editor.defaultFormatter&quot;: &quot;foxundermoon.shell-format&quot;
      },
      &quot;editor.autoIndent&quot;: &quot;brackets&quot;,
      &quot;formattingToggle.affects&quot;: [
          &quot;editor.formatOnPaste&quot;,
          &quot;editor.formatOnSave&quot;,
          &quot;editor.formatOnType&quot;
      ],
    
  }
  </code></pre>