Skip to content

Typescript compile on save setting in Visual studio is not honored  #7911

@rkavalap

Description

@rkavalap

Repro steps:
Edit a typescript file.

Expected behavior:
If Tools -> Text Editor -> Typescript -> Project -> General
If Compile on Save option unchecked
equivalent js file should not be generated at the current location.

Current behavior:
Generating a js file.

Earlier versions of ntvs had this in the project file for the behavior

<EnableTypeScript>true</EnableTypeScript>
<TypeScriptSourceMap>true</TypeScriptSourceMap>
<TypeScriptModuleKind>CommonJS</TypeScriptModuleKind>
<ToolsVersionPromptShown>1.7</ToolsVersionPromptShown>

Which was automatically generating the js file.

When I open a nodejs solution, I currently see it's automatically edited. But I don't see above setting changes getting added in the edit.
I am currently not sure where it is getting controlled from.

Issue redirected from
microsoft/nodejstools#832

Metadata

Metadata

Assignees

No one assigned

    Labels

    QuestionAn issue which isn't directly actionable in code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions