Visual Studio Code Typescript Auto ImporterWhat is itThis plugin was created to automate the importing of code files within Visual Studio Code for TypeScript. When authoring code, you will often have files across many locations within a single project. This can quickly become hard to keep track of the namespace for each file. Currently, you'll find that you're typing
With TypeScriptImporter, you will now simply declare it inline, accept the code hint and the plugin deals with the rest. InstallationPrecompiledDrag/Drop the latest vsix file into VSCode and then restart CompileSee building below, this is only recommended for development of the plugin UsageOut of the box the plugin will work for any TypeScript project that is using namespaces and lives within a single project. Multiple projects, cross dependanciesIt is possible to have the plugin pick up namespaces from other projects. By default, the plugin uses WorkflowFiles, part of the ts-internal-module-workflow by kungfusheep, but this can be overriden in the settings shown below. Supported ModulesFor now the plugin just supports namespaces, but has in-built experimental support for ES6 imports.
It would be possible to add support for modules that are currently unsupported in the future. Settings
Additional settings will be added as the project expands into more modules. BuildingOpen both the Client and Server code in VSCode and run the built in task Alternatively
DebuggingWith both code bases open, start a debug session in Visual Studio Code from the Client and once this is running begin a debug session from the Server |