forked from microsoft/TypeScript
-
Notifications
You must be signed in to change notification settings - Fork 0
Dev Mode in Visual Studio
Daniel Rosenwasser edited this page Jan 21, 2015
·
18 revisions
Dev Mode is a new feature for TypeScript 1.4 and higher that allows you to
- Use a custom language service file of your choosing.
- Debug the script side of the language service Visual Studio is using during a session.
- Open up the Registry Editor (
regedit.exe
from the Run prompt). - Navigate to
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0\TypeScriptLanguageService
(or create the key if it does not exist). - Create a new DWORD (32-bit) Value with the name
EnableDevMode
. - Right click the
EnableDevMode
value and Modify it. - Change the Value data to
1
.
- Open up the Registry Editor (
regedit.exe
from the Run prompt). - Navigate to
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0\TypeScriptLanguageService
(or create the key if it does not exist). - Create a new DWORD (32-bit) Value with the name
EnableDevMode
. - Right click the
EnableDevMode
value and Modify it. - Change the value data to
1
.
- Enable dev mode.
- Open up the Registry Editor.
- Navigate to the applicable
TypeScriptLanguageService
.
- In Visual Studio 2013:
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0\TypeScriptLanguageService
- In Visual Studio 2015:
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0\TypeScriptLanguageService
- Create a new String Value with the name
CustomTypeScriptServicesFileLocation
. - Right click the
CustomTypeScriptServicesFileLocation
value and Modify it. - Change the value data to the full path of your alternative services file (e.g.
C:\Users\drosen\TypeScript\built\local\typescriptServices.js
)
TypeScript Language Basics
- Basic Types
- Interfaces
- Classes
- Namespaces and Modules
- Functions
- Generics
- Compiler Options
- tsconfig.json
- Integrating with Build Tools
- Nightly Builds
TypeScript Language Advanced
- Mixins
- Declaration Merging
- Type Inference
- Type Compatibility
- JSX
- Writing Declaration Files
- Typings for NPM packages
News
TypeScript Contributors
- Contributing to TypeScript
- TypeScript Design Goals
- Coding Guidelines
- Spec conformance testing
- Useful Links for TypeScript Issue Management
- Writing Good Design Proposals
- Compiler Internals
Building Tools for TypeScript
- Architectural Overview
- Using the Compiler API
- Using the Language Service API
- Dev Mode in Visual Studio
- Debugging Language Service in VS Code
FAQs