Skip to content

Using plugin breaks Visual Studio TSServer functionality #62

Closed
@jakelauer

Description

@jakelauer

Describe the bug
When I enable the plugin, all of the TypeScript functionality in the Visual Studio 2017 editor breaks.

To Reproduce
Steps to reproduce the behavior:

  1. Open a TypeScript project in VS2017
  2. Enable the plugin
  3. Observe

Expected behavior
Plugin functions and enables CSS module autocomplete.

Actual Behavior
TypeScript no longer provides any syntax highlight or navigation of any kind

Desktop (please complete the following information):

  • OS: Windows 10

Additional context
I noticed a difference in the tsserver logs between when I am using the plugin and when I am not.

When it is enabled, tsserver basically just stops after the first time it attempts to watch a .module.scss file. Here is the final line in the log:

Info 1296 [12:22:53.699] FileWatcher:: Added:: WatchInfo: D:/<project>/Client/src/UI/UIKit/Controls/Spinner.module.scss 500 Project: WatchType: Closed Script info

When it is disabled, it does not do this.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions