How to disable automatic import statements in VsCode October 2017

前端 未结 5 732
长发绾君心
长发绾君心 2021-01-01 08:36

The latest version of VS Code installed a few days ago (the October 2017 update) keeps adding all kinds of strange import statements to the top of the .ts code file.

5条回答
  •  清酒与你
    2021-01-01 09:20

    Updated for new version of VSCode 2019 for using the UI to modify the setting. So choose the File > Preference > Setting then search auto in the Workspace secton. Find the Javascrtip or Typescript with highlight word auto import then check or uncheck for enable / disalbe this function.

    Here is the picture for reference.

提交回复
热议问题