Installing and enabling the WebCompiler extension and even restarting the application does not result in any Compile option being available for SCSS files.
Steps to recreate
Install and enable WebCompiler
Right click on SCSS file in Source Explorer
There's no compile option
Current behavior
Not only is there no Compile option, but trying to save an SCSS file results in a NullReferenceException error. See below:
System.NullReferenceException: Object reference not set to an instance of an object.at WebCompilerVsix.Listeners.SourceFileCreationListener.DocumentSaved(Object sender, TextDocumentFileActionEventArgs e) in C:\projects\webcompiler\src\WebCompilerVsix\FileListeners\SourceFileCreationListener.cs:line 64at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.RaiseEvent[TArgs](Object sender, EventHandler1 eventHandlers, TArgs args) --- End of stack trace from previous location where exception was thrown ---at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)`
Expected behavior
Compile option should be visible on right click of SCSS file. Saving an SCSS file should automatically result in a compiled CSS and minimized CSS file.
Installed product versions
Description
Installing and enabling the WebCompiler extension and even restarting the application does not result in any Compile option being available for SCSS files.
Steps to recreate
Current behavior
Not only is there no Compile option, but trying to save an SCSS file results in a NullReferenceException error. See below:
System.NullReferenceException: Object reference not set to an instance of an object.at WebCompilerVsix.Listeners.SourceFileCreationListener.DocumentSaved(Object sender, TextDocumentFileActionEventArgs e) in C:\projects\webcompiler\src\WebCompilerVsix\FileListeners\SourceFileCreationListener.cs:line 64at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.RaiseEvent[TArgs](Object sender, EventHandler
1 eventHandlers, TArgs args) --- End of stack trace from previous location where exception was thrown ---at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)`Expected behavior
Compile option should be visible on right click of SCSS file. Saving an SCSS file should automatically result in a compiled CSS and minimized CSS file.