Typescript disable compile on save in vs 2015 ctp 6

后端 未结 2 1665
谎友^
谎友^ 2021-02-14 05:31

I need to know how to disable compile on save for typescript files?

2条回答
  •  广开言路
    2021-02-14 05:56

    For loose files (outside of a project)

    Tools -> Options

    • Text Editor
      • TypeScript
        • Project

    [ ] Automatically compile TypeScript files which are not part of a project

    For projects

    Right-click the project -> Properties

    Select the "TypeScript Build" tab (on the left)

    Uncheck "Compile on save" under the "General" heading

提交回复
热议问题