0

Is it possible to instruct VS Code to apply updateImportsOnFileMove setting to all file types, especially to JSON files? Currently I can do it only for JS / TS files and I didn't find anything in VS Code docs or anywhere else about other file types.

Here's my jsconfig.json:

  "compilerOptions": {
    "baseUrl": "src"
  },
  "include": ["src/**/*"],
  "javascript.updateImportsOnFileMove.enabled": "prompt"
}

So with this setting, only after I rename or move JS file I get the popup asking whether to update imports. For JSON's and other types nothing happens, and it's a quite common thing to move JSON's around

cincplug
  • 1,024
  • 5
  • 20
  • 38

0 Answers0