├── .gitignore ├── README.md ├── SECURITY.md ├── articles ├── build │ ├── index.md │ ├── nuget.md │ └── tsc.md ├── configuration │ ├── index.md │ ├── msbuild.md │ ├── tsconfig.md │ └── versioning.md ├── debugging │ ├── clientSideDebugging.md │ ├── index.md │ └── sourcemaps.md ├── editor │ ├── formatting.md │ ├── index.md │ ├── intellisense.md │ ├── linting.md │ ├── lists.md │ ├── refactoring.md │ └── test.js ├── frameworks │ ├── angular.md │ ├── gulpwebpack.md │ ├── index.md │ ├── jsx.md │ └── vue.md ├── index-2019.md ├── index.md ├── nodejs │ ├── azure.md │ ├── index.md │ ├── interactivewindow.md │ ├── npm.md │ ├── requirements.md │ ├── taskexplorer.md │ └── unittesting.md ├── projects │ ├── aspnet │ │ ├── aspnetclassic.md │ │ ├── aspnetcore.md │ │ └── index.md │ ├── cordova.md │ ├── index.md │ ├── nodejs.md │ ├── openfolder.md │ └── uwp.md ├── toc.yml ├── troubleshooting │ ├── diagnostics.md │ ├── editorProblems.md │ ├── index.md │ ├── newtonsoft.md │ ├── resourceProblems.md │ └── tsconfigtypewarning.md └── types │ ├── allowjs.md │ ├── ata.md │ ├── attypes.md │ ├── index.md │ └── jsdoc.md ├── docfx.json ├── docs ├── README.html ├── articles │ ├── build │ │ ├── index.html │ │ ├── nuget.html │ │ └── tsc.html │ ├── configuration │ │ ├── index.html │ │ ├── msbuild.html │ │ ├── tsconfig.html │ │ └── versioning.html │ ├── debugging │ │ ├── clientSideDebugging.html │ │ ├── index.html │ │ └── sourcemaps.html │ ├── editor │ │ ├── formatting.html │ │ ├── index.html │ │ ├── intellisense.html │ │ ├── linting.html │ │ ├── lists.html │ │ └── refactoring.html │ ├── frameworks │ │ ├── angular.html │ │ ├── gulpwebpack.html │ │ ├── index.html │ │ ├── jsx.html │ │ └── vue.html │ ├── index.html │ ├── nodejs │ │ ├── azure.html │ │ ├── index.html │ │ ├── interactivewindow.html │ │ ├── npm.html │ │ ├── requirements.html │ │ ├── taskexplorer.html │ │ └── unittesting.html │ ├── projects │ │ ├── aspnet │ │ │ ├── aspnetclassic.html │ │ │ ├── aspnetcore.html │ │ │ └── index.html │ │ ├── cordova.html │ │ ├── index.html │ │ ├── nodejs.html │ │ ├── openfolder.html │ │ └── uwp.html │ ├── toc.html │ ├── troubleshooting │ │ ├── index.html │ │ ├── jsdisabled.html │ │ └── newtonsoft.html │ └── types │ │ ├── allowjs.html │ │ ├── ata.html │ │ ├── attypes.html │ │ ├── index.html │ │ └── jsdoc.html ├── favicon.ico ├── fonts │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.svg │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ └── glyphicons-halflings-regular.woff2 ├── images │ ├── NewtonSoftPath.png │ ├── installation-nodejs-options.png │ ├── installation-nodejs-workload.png │ ├── installation-vs-launch.png │ ├── jsdoc-param.png │ ├── jsdoc-quickinfo.png │ ├── jslsdisabledpopup.png │ ├── linux-appservice │ │ ├── changes-detected.png │ │ ├── choose-source.png │ │ ├── create-appservice-annotated.png │ │ ├── create-appservice.png │ │ ├── deployment-options-sync.png │ │ ├── deployment-options.png │ │ ├── github-get-started.png │ │ ├── github-publish.png │ │ ├── repo-and-branch.png │ │ ├── script-generator-args.png │ │ └── ts-express-app.png │ ├── mygetAddSource.PNG │ ├── mygetMSBuild.PNG │ ├── node │ │ ├── UnitTestsDiscoveryMocha.png │ │ ├── UnitTestsFrameworkMocha.png │ │ ├── extraneous-npm.png │ │ ├── installation-nodejs-options.png │ │ ├── installation-nodejs-workload.png │ │ ├── installation-vs-launch.png │ │ ├── installed-npm.png │ │ ├── interactivewindow.png │ │ ├── missing-npm.png │ │ ├── newproject-dialog.png │ │ ├── project-interactivewindow.png │ │ ├── search-package.png │ │ ├── solution-explorer-install-package.png │ │ ├── solution-explorer-npm-ctx.png │ │ ├── solution-explorer-status.png │ │ ├── unit-test-add-new-item.png │ │ ├── unit-test-project-properties.png │ │ └── viewmenu-interactivewindow.png │ ├── nugetMSBuild.png │ ├── taskmanager.png │ ├── toolsoptionsproject.png │ ├── tooltip.png │ ├── virtualproject.png │ └── virtualprojects.png ├── index.html ├── logo.svg ├── manifest.json ├── search-stopwords.json ├── styles │ ├── docfx.css │ ├── docfx.js │ ├── docfx.vendor.css │ ├── docfx.vendor.js │ ├── lunr.js │ ├── lunr.min.js │ ├── main.css │ ├── main.js │ └── search-worker.js ├── toc.html └── xrefmap.yml ├── images ├── NewtonSoftPath.png ├── intellisense_completion.png ├── intellisensesighelp.png ├── jsdoc-param.png ├── jsdoc-quickinfo.png ├── jslsdisabledpopup.png ├── linux-appservice │ ├── changes-detected.png │ ├── choose-source.png │ ├── create-appservice-annotated.png │ ├── create-appservice.png │ ├── deployment-options-sync.png │ ├── deployment-options.png │ ├── github-get-started.png │ ├── github-publish.png │ ├── repo-and-branch.png │ ├── script-generator-args.png │ └── ts-express-app.png ├── mygetAddSource.PNG ├── mygetMSBuild.PNG ├── node │ ├── UnitTestsDiscoveryMocha.png │ ├── UnitTestsFrameworkMocha.png │ ├── extraneous-npm.png │ ├── installation-nodejs-options.png │ ├── installation-nodejs-workload.png │ ├── installation-vs-launch.png │ ├── installed-npm.png │ ├── interactivewindow.png │ ├── missing-npm.png │ ├── newproject-dialog.png │ ├── project-interactivewindow.png │ ├── search-package.png │ ├── solution-explorer-install-package.png │ ├── solution-explorer-npm-ctx.png │ ├── solution-explorer-status.png │ ├── unit-test-add-new-item.png │ ├── unit-test-project-properties.png │ └── viewmenu-interactivewindow.png ├── nugetMSBuild.png ├── taskmanager.png ├── toolsoptionsproject.png ├── tooltip.png ├── virtualproject.png └── virtualprojects.png ├── index.md └── toc.yml /.gitignore: -------------------------------------------------------------------------------- 1 | /_site/ 2 | /obj/ 3 | /.vs/ 4 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # JavaScript & TypeScript documentation for Visual Studio 2 | 3 | This repository contains documentation for using the JavaScript and TypeScript languages in VS 2017 and 2019. 4 | 5 | - Overview 6 | - [Visual Studio 2019](articles/index-2019.md) 7 | - [Visual Studio 2017](articles/index.md) 8 | 9 | 10 | - Build 11 | - [Building via Nuget](articles/build/nuget.md) 12 | - [Building via tsc](articles/build/tsc.md) 13 | 14 | - Configuration 15 | - [MSBuild Configuration](articles/configuration/msbuild.md) 16 | - [Using tsconfig.json](articles/configuration/tsconfig.md) 17 | 18 | - Editor 19 | - [Formatting](articles/editor/formatting.md) 20 | - [Linting](articles/editor/linting.md) 21 | - [Refactoring and Quick Fixes](articles/editor/refactoring.md) 22 | - [IntelliSense](articles/editor/intellisense.md) 23 | 24 | - Troubleshooting 25 | - [Editor problems](articles/troubleshooting/editorProblems.md) 26 | - [CPU and memory consumption](articles/troubleshooting/resourceProblems.md) 27 | - [Missing or unexpected errors](articles/troubleshooting/diagnostics.md) 28 | - [Newtonsoft.json versioning](articles/troubleshooting/newtonsoft.md) 29 | - [Gathering more information](articles/troubleshooting/index.md) 30 | 31 | - FAQ 32 | -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | ## Security 4 | 5 | Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet), [Xamarin](https://github.com/xamarin), and [our GitHub organizations](https://opensource.microsoft.com/). 6 | 7 | If you believe you have found a security vulnerability in any Microsoft-owned repository that meets [Microsoft's definition of a security vulnerability](https://aka.ms/opensource/security/definition), please report it to us as described below. 8 | 9 | ## Reporting Security Issues 10 | 11 | **Please do not report security vulnerabilities through public GitHub issues.** 12 | 13 | Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://aka.ms/opensource/security/create-report). 14 | 15 | If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://aka.ms/opensource/security/pgpkey). 16 | 17 | You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://aka.ms/opensource/security/msrc). 18 | 19 | Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue: 20 | 21 | * Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.) 22 | * Full paths of source file(s) related to the manifestation of the issue 23 | * The location of the affected source code (tag/branch/commit or direct URL) 24 | * Any special configuration required to reproduce the issue 25 | * Step-by-step instructions to reproduce the issue 26 | * Proof-of-concept or exploit code (if possible) 27 | * Impact of the issue, including how an attacker might exploit the issue 28 | 29 | This information will help us triage your report more quickly. 30 | 31 | If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://aka.ms/opensource/security/bounty) page for more details about our active programs. 32 | 33 | ## Preferred Languages 34 | 35 | We prefer all communications to be in English. 36 | 37 | ## Policy 38 | 39 | Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://aka.ms/opensource/security/cvd). 40 | 41 | 42 | -------------------------------------------------------------------------------- /articles/build/index.md: -------------------------------------------------------------------------------- 1 | # Building 2 | 3 | TODO 4 | -------------------------------------------------------------------------------- /articles/build/nuget.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Building via NuGet 3 | author: uniqueiniquity 4 | ms.author: belichtm 5 | ms.date: 12/1/2017 6 | ms.topic: article 7 | ms.prod: .net 8 | uid: tsnuget 9 | --- 10 | 11 | # Building via NuGet 12 | 13 | As an alternative to using the TypeScript SDK with MSBuild to compile TypeScript, you can also use the TypeScript NuGet package `Microsoft.TypeScript.MSBuild`. This allows you to install a particular version of TypeScript locally to your project. 14 | 15 | > :pushpin: 16 | > One common use case for the NuGet package is for compiling TypeScript using the .NET Core CLI. Unless you are willing to hand-edit your project file to import build targets from a TypeScript SDK installation, the NuGet package is the only way to enable TypeScript compilation using .NET Core CLI commands such as `dotnet build` and `dotnet publish`. 17 | 18 | >:warning: 19 | > If you are using the NuGet package for MSBuild support for a given project, that project file must not itself import `Microsoft.TypeScript.Default.props` or `Microsoft.TypeScript.targets`. 20 | > These will be imported by the NuGet package, so including them separately could cause unintended behavior. See [Removing Default Imports](#removing-default-imports) for details on what to remove. 21 | 22 | ## Installing major releases via NuGet (https://www.nuget.org) 23 | 24 | * Right-Click -> Manage NuGet Packages 25 | * Search for `Microsoft.TypeScript.MSBuild` 26 | 27 | Search for NuGet Package 28 | 29 | * Hit `Install` 30 | * When install is complete, rebuild! 31 | 32 | ## Installing nightly drops (https://www.myget.org) 33 | 34 | 1. Add a new Package Source 35 | * Go to `Tools` -> `Options` -> `NuGet Package Manager` -> `Package Sources` 36 | * Create a new Source: 37 | * Name: `TypeScript Nightly` 38 | * Source: `https://www.myget.org/F/typescript-preview/` 39 | 40 | Add New Package Source 41 | 42 | 2. Use the new Package Source 43 | * On Project node Right-Click -> `Manage NuGet Packages` 44 | * Search for `Microsoft.TypeScript.MSBuild` 45 | 46 | Search for NuGet Nightly Build Package 47 | 48 | * Hit `Install` 49 | * When install is complete, rebuild! 50 | 51 | ## Removing default imports 52 | 53 | * Right-Click -> `Unload Project` 54 | * Right-Click -> `Edit ` 55 | * Remove references to 56 | 57 | * `Microsoft.TypeScript.Default.props` 58 | 59 | The import should look something like: 60 | 61 | ```XML 62 | 65 | ``` 66 | 67 | * `Microsoft.TypeScript.targets` 68 | 69 | The import should look something like: 70 | 71 | ```XML 72 | 75 | ``` 76 | 77 | ## Package structure details 78 | 79 | `Microsoft.TypeScript.MSBuild.nupkg` contains two main folders: 80 | 81 | * `build` folder 82 | 83 | Two files are located in this folder. 84 | Both are entry points - for the main TypeScript target file and props file respectively. 85 | 86 | 1. Microsoft.TypeScript.MSBuild.targets 87 | 88 | This file sets variables that specify the run-time platform, such as a path to `TypeScript.Tasks.dll`, before importing `Microsoft.TypeScript.targets` from the `tools` folder. 89 | 90 | 2. Microsoft.TypeScript.MSBuild.props 91 | 92 | This file imports `Microsoft.TypeScript.Default.props` from the `tools` folder and sets properties indicating that the build has been initiated through NuGet. 93 | 94 | * `tools` folder 95 | 96 | Versions prior to 2.3 only contain a tsc folder. `Microsoft.TypeScript.targets` and `TypeScript.Tasks.dll` are located at the root level. 97 | 98 | In versions 2.3 and later, the root level contains `Microsoft.TypeScript.targets` and `Microsoft.TypeScript.Default.props`. See [MSBuild Configuration](xref:msbuild) for more details on these files. 99 | 100 | Additionally, the folder contains three subfolders: 101 | 102 | 1. `net45` 103 | 104 | This folder contains `TypeScript.Tasks.dll` and other DLLs on which it depends. 105 | When building a project on a Windows platform, MSBuild uses the DLLs from this folder. 106 | 107 | 2. `netstandard1.3` 108 | 109 | This folder contains another version of `TypeScript.Tasks.dll`, which is used when building projects on a non-Windows machine. 110 | 111 | 3. `tsc` 112 | 113 | This folder contains `tsc.js`, `tsserver.js` and all dependency files required to run them as node scripts. 114 | > :pushpin: 115 | > If Visual Studio is installed then the `node.exe` bundled with it will automatically be picked up. Otherwise Node.js must be installed on the machine. 116 | 117 | Versions prior to 3.1 contained a `tsc.exe` executable to run the compilation. In version 3.1 this was removed in favor of using `node.exe`. 118 | -------------------------------------------------------------------------------- /articles/build/tsc.md: -------------------------------------------------------------------------------- 1 | # Building via tsc 2 | 3 | TODO 4 | -------------------------------------------------------------------------------- /articles/configuration/index.md: -------------------------------------------------------------------------------- 1 | # Project configuration 2 | 3 | TODO: Details configured, external, and inferred project/context types. 4 | 5 | ## External projects 6 | The VS/MSBuild default 7 | 8 | ```xml 9 | 2.5 10 | ``` 11 | 12 | ## Configured projects 13 | Just add a `tsconfig.json` file, e.g. 14 | 15 | ```json 16 | { 17 | "compilerOptions": { 18 | "target": "es5", 19 | "module": "commonjs" 20 | } 21 | } 22 | ``` 23 | 24 | ## Inferred projects 25 | The leftovers will appear in the Virtual Projects node as: 26 | 27 | 28 | -------------------------------------------------------------------------------- /articles/configuration/msbuild.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: MSBuild Configuration 3 | author: uniqueiniquity 4 | ms.author: belichtm 5 | ms.date: 11/13/2017 6 | ms.topic: article 7 | ms.prod: .net 8 | uid: msbuild 9 | --- 10 | 11 | # MSBuild Configuration 12 | 13 | ## Props and targets 14 | 15 | There are two different sources of information that tell MSBuild how to handle TypeScript. The first, `Microsoft.TypeScript.Default.props`, establishes some default TypeScript compilation settings. The second, `Microsoft.TypeScript.targets`, gives instructions on how to handle TypeScript files as part of the building and cleaning processes. To include these in your project, you will need to (in most cases) import `Microsoft.TypeScript.Default.props` at the beginning of your project file and `Microsoft.TypeScript.targets` at the end, as shown [in the TypeScript handbook](http://www.typescriptlang.org/docs/handbook/integrating-with-build-tools.html#msbuild). 16 | 17 | > :pushpin: 18 | > ASP.NET Core projects implicitly include these files, so an ASP.NET Core project file will not need to import them. 19 | 20 | ## The `TypeScriptToolsVersion` property 21 | Since a particular machine may have multiple versions of TypeScript installed, MSBuild allows you to set the `TypeScriptToolsVersion` property in your project file to specify which version to use, as shown in the example below. If this property is not set, MSBuild defaults to using the newest version of TypeScript that is installed. However, if you are using the TypeScript NuGet package instead, its version will override any setting in the project file. This setting must occur before the import of `Microsoft.TypeScript.targets` to properly work. 22 | ```xml 23 | 2.5 24 | ``` 25 | 26 | ## Input files 27 | There are two ways of including TypeScript files in the compilation: either using a tsconfig.json file or the `TypeScriptCompile` MSBuild item type. 28 | ### With TSConfig 29 | One option for allowing MSBuild to recognize what TypeScript files are part of your project is by way of a tsconfig.json file. This configuration file can be registered for build configuration by being explicitly associated with your .csproj in the TypeScriptCompile or Content item lists, as shown in the example below. Otherwise, if your project has no items included as part of either the TypeScriptCompile or Content item lists, it can be simply included as part of the directory tree rooted at the directory containing your project file. 30 | ```xml 31 | 32 | 33 | 34 | ``` 35 | Note that in the latter case, configuration files within a folder titled "node_modules", "bower_components", or "platforms" will not be considered in order to avoid duplicate symbol errors. 36 | Furthermore, note in TypeScript 3.5.1 and earlier, the Content item list must be used, as the TypeScriptCompile item list was not supported for `tsconfig.json` files. 37 | 38 | The tsconfig.json can either explicitly enumerate the input files (in the "includes" property) or it can exclude files that should not be compiled (in the "excludes" property). The file also allows you to set compile options that will override those set in the TypeScript Build page of your project's Properties. For more details, refer to [the discussion of tsconfig.json files](xref:tsconfig). 39 | 40 | ### `TypeScriptCompile` items 41 | 42 | If there is no discoverable tsconfig.json, MSBuild relies on the project file to determine what files to include. For this scenario, TypeScript files must be included using the `TypeScriptCompile` item type, as shown in the following example. 43 | 44 | ```xml 45 | 46 | 47 | 48 | ``` 49 | 50 | ## Incremental build 51 | 52 | Starting with the TypeScript 2.7 SDK, we use the `Inputs` and `Outputs` attributes of certain targets, such as `CompileTypeScript` or `CompileTypeScriptWithTSConfig` to allow MSBuild to determine whether or not to skip the target. For targets that have these attributes defined, MSBuild compares the timestamps of the files specified by `Inputs` with those specified by `Outputs`. Since there is not always a one-to-one mapping between input files and output files (e.g., if `--outFile` is specified), MSBuild will rebuild all output files if at least one of the input files has been updated. 53 | 54 | ## Compilation options 55 | 56 | Similar to how the set of input files is specified, there are two ways to specify settings for the compiler. If a `tsconfig.json` exists, then it will specify the compilation settings. Otherwise, settings can be specified in the project file itself (between the imports of the props and targets files), as shown [in the TypeScript handbook](http://www.typescriptlang.org/docs/handbook/integrating-with-build-tools.html#msbuild). These settings are documented [in the handbook](http://www.typescriptlang.org/docs/handbook/compiler-options-in-msbuild.html) as well. 57 | 58 | ## Third-party build tool support 59 | 60 | If you are using a different build tool to build your project (e.g. gulp, grunt , etc.) and VS for the development and debugging experience, set `true` in your project. This will give support for editing TypeScript files but will not include them in the build process. 61 | -------------------------------------------------------------------------------- /articles/configuration/tsconfig.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Using a tsconfig.json file 3 | author: uniqueiniquity 4 | ms.author: belichtm 5 | ms.date: 2/28/2019 6 | ms.topic: article 7 | ms.prod: .net 8 | uid: tsconfig 9 | --- 10 | 11 | # Using `tsconfig.json` for project configuration 12 | 13 | The primary documentation concerning the `tsconfig.json` file can be found [on the TypeScript website](http://www.typescriptlang.org/docs/handbook/tsconfig-json.html). 14 | There, you can find details on the file format, the available compiler options, and more. 15 | Here, we will provide some tips for using the `tsconfig.json` file that might be helpful when using TypeScript in Visual Studio. 16 | 17 | ## Configuring JavaScript using a `jsconfig.json` file 18 | 19 | Generally, you can edit JavaScript files in Visual Studio without needing a configuration file. Most of the options that are commonly used can be changed using the Visual Studio user interface. However, if you need to change one or more of the features that are not exposed, you can use a `jsconfig.json` file to configure your project. This file acts like a `tsconfig.json` file, but with some defaults that are specific to JavaScript development. In particular, these defaults are as follows: 20 | 21 | - `allowJs` is enabled 22 | - `maxNodeModuleJsDepth` is set to 2 23 | - `skipLibCheck` is enabled 24 | - `noEmit` is enabled 25 | 26 | If you have a significant number of JavaScript files in your project and are experiencing performance issues related to editing JavaScript files, it can sometimes be advantageous to use a `jsconfig.json` file to specify the source files that constitute your project (as opposed to libraries that may be checked in and included in your solution). This will limit the number of files that Visual Studio is processing and may improve performance. 27 | 28 | ## Mixed TypeScript and JavaScript projects 29 | 30 | By default, the set of files included in a project configured by a `tsconfig.json` file only includes TypeScript files. If you would also like JavaScript files to be included, then the `allowJs` option needs to be enabled. Furthermore, if you would like diagnostics to be reported in JavaScript files, then the `checkJs` option needs to be enabled. 31 | 32 | When a single project includes some source files written in TypeScript and some source files written in JavaScript, it can be a little tricky to configure. 33 | In particular, if `allowJs` is set to true and no output options are set (that is, `outFile` or `outDir`), the compiler will not be able to determine which JavaScript source files are intended to be source files and which are emitted files, and it will therefore produce an error. 34 | 35 | In this scenario, if `outDir` or `outFile` cannot be used, it is reasonable to use a `tsconfig.json` without `allowJs` enabled to configure settings for the TypeScript files, and a `jsconfig.json` file (or a `tsconfig.json` file with `allowJs` and `noEmit` enabled) to configure settings for the JavaScript files. More details on this situation can be found [here](https://github.com/Microsoft/TypeScript/wiki/FAQ#why-am-i-getting-the-error-ts5055-cannot-write-file-xxxjs-because-it-would-overwrite-input-file-when-using-javascript-files). 36 | -------------------------------------------------------------------------------- /articles/configuration/versioning.md: -------------------------------------------------------------------------------- 1 | # TypeScript SDK versions 2 | 3 | Visual Studio 2017 contains the TypeScript SDK. The TypeScript SDK includes the TypeScript compiler, as well as the JavaScript and TypeScript language service. 4 | 5 | The following table shows the version of the TypeScript SDK that is included in each version of Visual Studio 2017. 6 | 7 | | Visual Studio 2017 Version | TypeScript SDK version | 8 | |----------------------------|------------------------| 9 | | 15.0 | 2.1 | 10 | | 15.1 | 2.1 | 11 | | 15.2 | 2.2 | 12 | | 15.3 | 2.3 | 13 | | 15.4 | 2.3 | 14 | | 15.5 | 2.5 | 15 | 16 | You can configure your Visual Studio 2017 project to use a specific version of the TypeScript compiler. For more information, see [Updating TypeScript in Visual Studio 2017](https://github.com/Microsoft/TypeScript/wiki/Updating-TypeScript-in-Visual-Studio-2017). 17 | 18 | You can install additional versions of TypeScript SDK by visiting the [TypeScript for Visual Studio 2017 download page](https://www.microsoft.com/en-us/download/details.aspx?id=55258). 19 | -------------------------------------------------------------------------------- /articles/debugging/clientSideDebugging.md: -------------------------------------------------------------------------------- 1 | # Client-side debugging 2 | 3 | Visual Studio provides debugging support for Chrome and Internet Explorer only. It will automatically attach breakpoints to JavaScript/TypeScript and embedded scripts on HTML files. 4 | 5 | Dynamically generated files are not automatic though. See below to understand how the process works. 6 | 7 | ## Debugging JavaScript in dynamic files (using Razor) 8 | 9 | Breakpoints on files generated with Razor syntax (cshtml, vbhtml) are not automatically attached when debugging. There are two approaches you can do in order to debug this kind of files: 10 | 11 | 1. **Place the `debugger;` statement where you want to break**: This will cause the dynamic script to stop execution and start debugging immediately while being created. 12 | 1. **Load the page and open the dynamic document on Visual Studio**: You'll need to open the dynamic file while debugging, place your breakpoint and refresh the page for this one to work. Depending if you're using Chrome or Internet Explorer you'll find the file using one of the following strategies: 13 | 14 | For Chrome, go to *Solution Explorer > Script Documents > YourPageName*. **Note**: When using Chrome you might get a screen indicating no source available between ` 108 | 109 | 110 | 111 | 112 | -------------------------------------------------------------------------------- /docs/articles/build/tsc.html: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | Building via tsc 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 |
26 | 27 | 50 | 51 | 58 |
59 | 92 | 93 |
94 |
95 | 104 |
105 |
106 | 107 | 108 | 109 | 110 | 111 | 112 | -------------------------------------------------------------------------------- /docs/articles/configuration/tsconfig.html: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | Using tsconfig.json for project configuration 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 |
26 | 27 | 50 | 51 | 58 |
59 | 98 | 99 |
100 |
101 | 110 |
111 |
112 | 113 | 114 | 115 | 116 | 117 | 118 | -------------------------------------------------------------------------------- /docs/articles/debugging/index.html: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | Debugging JavaScript & TypeScript 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 |
26 | 27 | 50 | 51 | 58 |
59 | 92 | 93 |
94 |
95 | 104 |
105 |
106 | 107 | 108 | 109 | 110 | 111 | 112 | -------------------------------------------------------------------------------- /docs/articles/editor/formatting.html: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | Formatting 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 |
26 | 27 | 50 | 51 | 58 |
59 | 98 | 99 |
100 |
101 | 110 |
111 |
112 | 113 | 114 | 115 | 116 | 117 | 118 | -------------------------------------------------------------------------------- /docs/articles/editor/index.html: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | Editor features 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 |
26 | 27 | 50 | 51 | 58 |
59 | 92 | 93 |
94 |
95 | 104 |
105 |
106 | 107 | 108 | 109 | 110 | 111 | 112 | -------------------------------------------------------------------------------- /docs/articles/editor/intellisense.html: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | Intellisense 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 |
26 | 27 | 50 | 51 | 58 |
59 | 100 | 101 |
102 |
103 | 112 |
113 |
114 | 115 | 116 | 117 | 118 | 119 | 120 | -------------------------------------------------------------------------------- /docs/articles/editor/lists.html: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | Errors lists and Todo lists 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 |
26 | 27 | 50 | 51 | 58 |
59 | 92 | 93 |
94 |
95 | 104 |
105 |
106 | 107 | 108 | 109 | 110 | 111 | 112 | -------------------------------------------------------------------------------- /docs/articles/frameworks/gulpwebpack.html: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | Gulp & Webpack support 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 |
26 | 27 | 50 | 51 | 58 |
59 | 92 | 93 |
94 |
95 | 104 |
105 |
106 | 107 | 108 | 109 | 110 | 111 | 112 | -------------------------------------------------------------------------------- /docs/articles/frameworks/index.html: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | Support for common JavaScript frameworks 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 |
26 | 27 | 50 | 51 | 58 |
59 | 92 | 93 |
94 |
95 | 104 |
105 |
106 | 107 | 108 | 109 | 110 | 111 | 112 | -------------------------------------------------------------------------------- /docs/articles/nodejs/taskexplorer.html: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | Running tasks in Node.js 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 |
26 | 27 | 50 | 51 | 58 |
59 | 92 | 93 |
94 |
95 | 104 |
105 |
106 | 107 | 108 | 109 | 110 | 111 | 112 | -------------------------------------------------------------------------------- /docs/articles/projects/aspnet/aspnetclassic.html: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | ASP.NET 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 |
26 | 27 | 50 | 51 | 58 |
59 | 92 | 93 |
94 |
95 | 104 |
105 |
106 | 107 | 108 | 109 | 110 | 111 | 112 | -------------------------------------------------------------------------------- /docs/articles/projects/aspnet/aspnetcore.html: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | ASP.NET Core 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 |
26 | 27 | 50 | 51 | 58 |
59 | 92 | 93 |
94 |
95 | 104 |
105 |
106 | 107 | 108 | 109 | 110 | 111 | 112 | -------------------------------------------------------------------------------- /docs/articles/projects/aspnet/index.html: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | ASP.NET overview 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 |
26 | 27 | 50 | 51 | 58 |
59 | 92 | 93 |
94 |
95 | 104 |
105 |
106 | 107 | 108 | 109 | 110 | 111 | 112 | -------------------------------------------------------------------------------- /docs/articles/projects/cordova.html: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | Cordova projects 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 |
26 | 27 | 50 | 51 | 58 |
59 | 92 | 93 |
94 |
95 | 104 |
105 |
106 | 107 | 108 | 109 | 110 | 111 | 112 | -------------------------------------------------------------------------------- /docs/articles/projects/index.html: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | Lots of stuff about projects 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 |
26 | 27 | 50 | 51 | 58 |
59 | 92 | 93 |
94 |
95 | 104 |
105 |
106 | 107 | 108 | 109 | 110 | 111 | 112 | -------------------------------------------------------------------------------- /docs/articles/projects/uwp.html: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | Universal Windows Projects and JavaScript 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 |
26 | 27 | 50 | 51 | 58 |
59 | 92 | 93 |
94 |
95 | 104 |
105 |
106 | 107 | 108 | 109 | 110 | 111 | 112 | -------------------------------------------------------------------------------- /docs/articles/types/allowjs.html: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | Type checking JavaScript 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 |
26 | 27 | 50 | 51 | 58 |
59 | 92 | 93 |
94 |
95 | 104 |
105 |
106 | 107 | 108 | 109 | 110 | 111 | 112 | -------------------------------------------------------------------------------- /docs/articles/types/attypes.html: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | and DefinitelyTyped 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 |
26 | 27 | 50 | 51 | 58 |
59 | 92 | 93 |
94 |
95 | 104 |
105 |
106 | 107 | 108 | 109 | 110 | 111 | 112 | -------------------------------------------------------------------------------- /docs/articles/types/index.html: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | Type definitions and type checking 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 |
26 | 27 | 50 | 51 | 58 |
59 | 92 | 93 |
94 |
95 | 104 |
105 |
106 | 107 | 108 | 109 | 110 | 111 | 112 | -------------------------------------------------------------------------------- /docs/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/favicon.ico -------------------------------------------------------------------------------- /docs/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /docs/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /docs/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /docs/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /docs/images/NewtonSoftPath.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/NewtonSoftPath.png -------------------------------------------------------------------------------- /docs/images/installation-nodejs-options.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/installation-nodejs-options.png -------------------------------------------------------------------------------- /docs/images/installation-nodejs-workload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/installation-nodejs-workload.png -------------------------------------------------------------------------------- /docs/images/installation-vs-launch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/installation-vs-launch.png -------------------------------------------------------------------------------- /docs/images/jsdoc-param.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/jsdoc-param.png -------------------------------------------------------------------------------- /docs/images/jsdoc-quickinfo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/jsdoc-quickinfo.png -------------------------------------------------------------------------------- /docs/images/jslsdisabledpopup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/jslsdisabledpopup.png -------------------------------------------------------------------------------- /docs/images/linux-appservice/changes-detected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/linux-appservice/changes-detected.png -------------------------------------------------------------------------------- /docs/images/linux-appservice/choose-source.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/linux-appservice/choose-source.png -------------------------------------------------------------------------------- /docs/images/linux-appservice/create-appservice-annotated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/linux-appservice/create-appservice-annotated.png -------------------------------------------------------------------------------- /docs/images/linux-appservice/create-appservice.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/linux-appservice/create-appservice.png -------------------------------------------------------------------------------- /docs/images/linux-appservice/deployment-options-sync.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/linux-appservice/deployment-options-sync.png -------------------------------------------------------------------------------- /docs/images/linux-appservice/deployment-options.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/linux-appservice/deployment-options.png -------------------------------------------------------------------------------- /docs/images/linux-appservice/github-get-started.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/linux-appservice/github-get-started.png -------------------------------------------------------------------------------- /docs/images/linux-appservice/github-publish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/linux-appservice/github-publish.png -------------------------------------------------------------------------------- /docs/images/linux-appservice/repo-and-branch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/linux-appservice/repo-and-branch.png -------------------------------------------------------------------------------- /docs/images/linux-appservice/script-generator-args.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/linux-appservice/script-generator-args.png -------------------------------------------------------------------------------- /docs/images/linux-appservice/ts-express-app.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/linux-appservice/ts-express-app.png -------------------------------------------------------------------------------- /docs/images/mygetAddSource.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/mygetAddSource.PNG -------------------------------------------------------------------------------- /docs/images/mygetMSBuild.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/mygetMSBuild.PNG -------------------------------------------------------------------------------- /docs/images/node/UnitTestsDiscoveryMocha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/node/UnitTestsDiscoveryMocha.png -------------------------------------------------------------------------------- /docs/images/node/UnitTestsFrameworkMocha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/node/UnitTestsFrameworkMocha.png -------------------------------------------------------------------------------- /docs/images/node/extraneous-npm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/node/extraneous-npm.png -------------------------------------------------------------------------------- /docs/images/node/installation-nodejs-options.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/node/installation-nodejs-options.png -------------------------------------------------------------------------------- /docs/images/node/installation-nodejs-workload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/node/installation-nodejs-workload.png -------------------------------------------------------------------------------- /docs/images/node/installation-vs-launch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/node/installation-vs-launch.png -------------------------------------------------------------------------------- /docs/images/node/installed-npm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/node/installed-npm.png -------------------------------------------------------------------------------- /docs/images/node/interactivewindow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/node/interactivewindow.png -------------------------------------------------------------------------------- /docs/images/node/missing-npm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/node/missing-npm.png -------------------------------------------------------------------------------- /docs/images/node/newproject-dialog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/node/newproject-dialog.png -------------------------------------------------------------------------------- /docs/images/node/project-interactivewindow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/node/project-interactivewindow.png -------------------------------------------------------------------------------- /docs/images/node/search-package.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/node/search-package.png -------------------------------------------------------------------------------- /docs/images/node/solution-explorer-install-package.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/node/solution-explorer-install-package.png -------------------------------------------------------------------------------- /docs/images/node/solution-explorer-npm-ctx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/node/solution-explorer-npm-ctx.png -------------------------------------------------------------------------------- /docs/images/node/solution-explorer-status.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/node/solution-explorer-status.png -------------------------------------------------------------------------------- /docs/images/node/unit-test-add-new-item.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/node/unit-test-add-new-item.png -------------------------------------------------------------------------------- /docs/images/node/unit-test-project-properties.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/node/unit-test-project-properties.png -------------------------------------------------------------------------------- /docs/images/node/viewmenu-interactivewindow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/node/viewmenu-interactivewindow.png -------------------------------------------------------------------------------- /docs/images/nugetMSBuild.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/nugetMSBuild.png -------------------------------------------------------------------------------- /docs/images/taskmanager.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/taskmanager.png -------------------------------------------------------------------------------- /docs/images/toolsoptionsproject.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/toolsoptionsproject.png -------------------------------------------------------------------------------- /docs/images/tooltip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/tooltip.png -------------------------------------------------------------------------------- /docs/images/virtualproject.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/virtualproject.png -------------------------------------------------------------------------------- /docs/images/virtualprojects.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/images/virtualprojects.png -------------------------------------------------------------------------------- /docs/index.html: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | Docs 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 |
26 | 27 | 50 | 51 | 58 |
59 | 89 | 90 |
91 |
92 | 101 |
102 |
103 | 104 | 105 | 106 | 107 | 108 | 109 | -------------------------------------------------------------------------------- /docs/logo.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 8 | Created by Docfx 9 | 10 | 12 | 15 | 21 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /docs/search-stopwords.json: -------------------------------------------------------------------------------- 1 | [ 2 | "a", 3 | "able", 4 | "about", 5 | "across", 6 | "after", 7 | "all", 8 | "almost", 9 | "also", 10 | "am", 11 | "among", 12 | "an", 13 | "and", 14 | "any", 15 | "are", 16 | "as", 17 | "at", 18 | "be", 19 | "because", 20 | "been", 21 | "but", 22 | "by", 23 | "can", 24 | "cannot", 25 | "could", 26 | "dear", 27 | "did", 28 | "do", 29 | "does", 30 | "either", 31 | "else", 32 | "ever", 33 | "every", 34 | "for", 35 | "from", 36 | "get", 37 | "got", 38 | "had", 39 | "has", 40 | "have", 41 | "he", 42 | "her", 43 | "hers", 44 | "him", 45 | "his", 46 | "how", 47 | "however", 48 | "i", 49 | "if", 50 | "in", 51 | "into", 52 | "is", 53 | "it", 54 | "its", 55 | "just", 56 | "least", 57 | "let", 58 | "like", 59 | "likely", 60 | "may", 61 | "me", 62 | "might", 63 | "most", 64 | "must", 65 | "my", 66 | "neither", 67 | "no", 68 | "nor", 69 | "not", 70 | "of", 71 | "off", 72 | "often", 73 | "on", 74 | "only", 75 | "or", 76 | "other", 77 | "our", 78 | "own", 79 | "rather", 80 | "said", 81 | "say", 82 | "says", 83 | "she", 84 | "should", 85 | "since", 86 | "so", 87 | "some", 88 | "than", 89 | "that", 90 | "the", 91 | "their", 92 | "them", 93 | "then", 94 | "there", 95 | "these", 96 | "they", 97 | "this", 98 | "tis", 99 | "to", 100 | "too", 101 | "twas", 102 | "us", 103 | "wants", 104 | "was", 105 | "we", 106 | "were", 107 | "what", 108 | "when", 109 | "where", 110 | "which", 111 | "while", 112 | "who", 113 | "whom", 114 | "why", 115 | "will", 116 | "with", 117 | "would", 118 | "yet", 119 | "you", 120 | "your" 121 | ] 122 | -------------------------------------------------------------------------------- /docs/styles/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/docs/styles/main.css -------------------------------------------------------------------------------- /docs/styles/main.js: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE file in the project root for full license information. 2 | -------------------------------------------------------------------------------- /docs/styles/search-worker.js: -------------------------------------------------------------------------------- 1 | (function () { 2 | importScripts('lunr.min.js'); 3 | 4 | var lunrIndex; 5 | 6 | var stopWords = null; 7 | var searchData = {}; 8 | 9 | lunr.tokenizer.seperator = /[\s\-\.]+/; 10 | 11 | var stopWordsRequest = new XMLHttpRequest(); 12 | stopWordsRequest.open('GET', '../search-stopwords.json'); 13 | stopWordsRequest.onload = function () { 14 | if (this.status != 200) { 15 | return; 16 | } 17 | stopWords = JSON.parse(this.responseText); 18 | buildIndex(); 19 | } 20 | stopWordsRequest.send(); 21 | 22 | var searchDataRequest = new XMLHttpRequest(); 23 | 24 | searchDataRequest.open('GET', '../index.json'); 25 | searchDataRequest.onload = function () { 26 | if (this.status != 200) { 27 | return; 28 | } 29 | searchData = JSON.parse(this.responseText); 30 | 31 | buildIndex(); 32 | 33 | postMessage({ e: 'index-ready' }); 34 | } 35 | searchDataRequest.send(); 36 | 37 | onmessage = function (oEvent) { 38 | var q = oEvent.data.q; 39 | var hits = lunrIndex.search(q); 40 | var results = []; 41 | hits.forEach(function (hit) { 42 | var item = searchData[hit.ref]; 43 | results.push({ 'href': item.href, 'title': item.title, 'keywords': item.keywords }); 44 | }); 45 | postMessage({ e: 'query-ready', q: q, d: results }); 46 | } 47 | 48 | function buildIndex() { 49 | if (stopWords !== null && !isEmpty(searchData)) { 50 | lunrIndex = lunr(function () { 51 | this.pipeline.remove(lunr.stopWordFilter); 52 | this.ref('href'); 53 | this.field('title', { boost: 50 }); 54 | this.field('keywords', { boost: 20 }); 55 | 56 | for (var prop in searchData) { 57 | if (searchData.hasOwnProperty(prop)) { 58 | this.add(searchData[prop]); 59 | } 60 | } 61 | 62 | var docfxStopWordFilter = lunr.generateStopWordFilter(stopWords); 63 | lunr.Pipeline.registerFunction(docfxStopWordFilter, 'docfxStopWordFilter'); 64 | this.pipeline.add(docfxStopWordFilter); 65 | this.searchPipeline.add(docfxStopWordFilter); 66 | }); 67 | } 68 | } 69 | 70 | function isEmpty(obj) { 71 | if(!obj) return true; 72 | 73 | for (var prop in obj) { 74 | if (obj.hasOwnProperty(prop)) 75 | return false; 76 | } 77 | 78 | return true; 79 | } 80 | })(); 81 | -------------------------------------------------------------------------------- /docs/toc.html: -------------------------------------------------------------------------------- 1 |  2 |
3 |
4 |
5 |
6 | 7 | 8 |
9 |
10 |
11 |
12 | 13 |
18 |
19 |
20 |
-------------------------------------------------------------------------------- /docs/xrefmap.yml: -------------------------------------------------------------------------------- 1 | ### YamlMime:XRefMap 2 | sorted: true 3 | references: 4 | - uid: linting 5 | name: JavaScript Linting in Visual Studio 6 | href: articles/editor/linting.html 7 | - uid: msbuild 8 | name: MSBuild Configuration 9 | href: articles/configuration/msbuild.html 10 | - uid: tsconfig 11 | name: Using tsconfig.json for project configuration 12 | href: articles/configuration/tsconfig.html 13 | - uid: tsnuget 14 | name: Building via NuGet 15 | href: articles/build/nuget.html 16 | -------------------------------------------------------------------------------- /images/NewtonSoftPath.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/images/NewtonSoftPath.png -------------------------------------------------------------------------------- /images/intellisense_completion.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/images/intellisense_completion.png -------------------------------------------------------------------------------- /images/intellisensesighelp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/images/intellisensesighelp.png -------------------------------------------------------------------------------- /images/jsdoc-param.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/images/jsdoc-param.png -------------------------------------------------------------------------------- /images/jsdoc-quickinfo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/images/jsdoc-quickinfo.png -------------------------------------------------------------------------------- /images/jslsdisabledpopup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/images/jslsdisabledpopup.png -------------------------------------------------------------------------------- /images/linux-appservice/changes-detected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/images/linux-appservice/changes-detected.png -------------------------------------------------------------------------------- /images/linux-appservice/choose-source.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/images/linux-appservice/choose-source.png -------------------------------------------------------------------------------- /images/linux-appservice/create-appservice-annotated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/images/linux-appservice/create-appservice-annotated.png -------------------------------------------------------------------------------- /images/linux-appservice/create-appservice.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/images/linux-appservice/create-appservice.png -------------------------------------------------------------------------------- /images/linux-appservice/deployment-options-sync.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/images/linux-appservice/deployment-options-sync.png -------------------------------------------------------------------------------- /images/linux-appservice/deployment-options.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/images/linux-appservice/deployment-options.png -------------------------------------------------------------------------------- /images/linux-appservice/github-get-started.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/images/linux-appservice/github-get-started.png -------------------------------------------------------------------------------- /images/linux-appservice/github-publish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/images/linux-appservice/github-publish.png -------------------------------------------------------------------------------- /images/linux-appservice/repo-and-branch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/images/linux-appservice/repo-and-branch.png -------------------------------------------------------------------------------- /images/linux-appservice/script-generator-args.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/images/linux-appservice/script-generator-args.png -------------------------------------------------------------------------------- /images/linux-appservice/ts-express-app.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/images/linux-appservice/ts-express-app.png -------------------------------------------------------------------------------- /images/mygetAddSource.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/images/mygetAddSource.PNG -------------------------------------------------------------------------------- /images/mygetMSBuild.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/images/mygetMSBuild.PNG -------------------------------------------------------------------------------- /images/node/UnitTestsDiscoveryMocha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/images/node/UnitTestsDiscoveryMocha.png -------------------------------------------------------------------------------- /images/node/UnitTestsFrameworkMocha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/images/node/UnitTestsFrameworkMocha.png -------------------------------------------------------------------------------- /images/node/extraneous-npm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/images/node/extraneous-npm.png -------------------------------------------------------------------------------- /images/node/installation-nodejs-options.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/images/node/installation-nodejs-options.png -------------------------------------------------------------------------------- /images/node/installation-nodejs-workload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/images/node/installation-nodejs-workload.png -------------------------------------------------------------------------------- /images/node/installation-vs-launch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/images/node/installation-vs-launch.png -------------------------------------------------------------------------------- /images/node/installed-npm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/images/node/installed-npm.png -------------------------------------------------------------------------------- /images/node/interactivewindow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/images/node/interactivewindow.png -------------------------------------------------------------------------------- /images/node/missing-npm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/images/node/missing-npm.png -------------------------------------------------------------------------------- /images/node/newproject-dialog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/images/node/newproject-dialog.png -------------------------------------------------------------------------------- /images/node/project-interactivewindow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/images/node/project-interactivewindow.png -------------------------------------------------------------------------------- /images/node/search-package.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/images/node/search-package.png -------------------------------------------------------------------------------- /images/node/solution-explorer-install-package.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/images/node/solution-explorer-install-package.png -------------------------------------------------------------------------------- /images/node/solution-explorer-npm-ctx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/images/node/solution-explorer-npm-ctx.png -------------------------------------------------------------------------------- /images/node/solution-explorer-status.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/images/node/solution-explorer-status.png -------------------------------------------------------------------------------- /images/node/unit-test-add-new-item.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/images/node/unit-test-add-new-item.png -------------------------------------------------------------------------------- /images/node/unit-test-project-properties.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/images/node/unit-test-project-properties.png -------------------------------------------------------------------------------- /images/node/viewmenu-interactivewindow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/images/node/viewmenu-interactivewindow.png -------------------------------------------------------------------------------- /images/nugetMSBuild.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/images/nugetMSBuild.png -------------------------------------------------------------------------------- /images/taskmanager.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/images/taskmanager.png -------------------------------------------------------------------------------- /images/toolsoptionsproject.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/images/toolsoptionsproject.png -------------------------------------------------------------------------------- /images/tooltip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/images/tooltip.png -------------------------------------------------------------------------------- /images/virtualproject.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/images/virtualproject.png -------------------------------------------------------------------------------- /images/virtualprojects.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/JSTSdocs/a557b453e559765f799b838e7141cd7242c402a0/images/virtualprojects.png -------------------------------------------------------------------------------- /index.md: -------------------------------------------------------------------------------- 1 | # Docs 2 | 3 | This page is a place holder for the top-level workload navigation page. 4 | 5 | Click here to view the [JavaScript & TypeScript in Visual Studio 2017 documentation](articles/index.md) 6 | 7 | 10 | -------------------------------------------------------------------------------- /toc.yml: -------------------------------------------------------------------------------- 1 | - name: JavaScript in VS 2 | href: articles/ 3 | homepage: articles/index.md 4 | --------------------------------------------------------------------------------