Not usable in VS 2019
human-0 opened this issue · comments
When using an intrinsic in VS 2019, there are annoying places where characters cannot be typed.
- A
(
after the intrinsic name. - A comma to separate parameters
If a space is put first, then removed, it works, but this is very annoying to do every time.
Also, using tab to accept IntelliSense completion also doesn't work (on anything), it will just type a tab. The options tab for the extension also doesn't work and causes Visual Studio to crash when trying to access the settings. (I believe it is an IO exception.)
It might just be my installation, but I have tried reinstalling several times. I get this exception:
System.AggregateException: One or more errors occurred. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.Threading, Version=16.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. at IntrinsicsDude.Tools.IntrinsicsDudeTools.InitAsync() at IntrinsicsDude.Tools.IntrinsicsDudeTools.get_Instance() in C:\Users\henk\Documents\Github\intrinsics-dude\VS\CSHARP\intrinsics-dude-vsix\Tools\IntrinsicsDudeTools.cs:line 51 at IntrinsicsDude.QuickInfo.IntrinsicsQuickInfoSource..ctor(ITextBuffer buffer, ITagAggregator`1 aggregator) in C:\Users\henk\Documents\Github\intrinsics-dude\VS\CSHARP\intrinsics-dude-vsix\QuickInfo\IntrinsicsQuickInfoSource.cs:line 57 at IntrinsicsDude.QuickInfo.IntrinsicsQuickInfoSourceProvider.<>c__DisplayClass1_0.<TryCreateQuickInfoSource>g__sc\|0() in C:\Users\henk\Documents\Github\intrinsics-dude\VS\CSHARP\intrinsics-dude-vsix\QuickInfo\IntrinsicsQuickInfoSourceProvider.cs:line 50 at Microsoft.VisualStudio.Utilities.PropertyCollection.GetOrCreateSingletonProperty[T](Object key, Func`1 creator) at IntrinsicsDude.QuickInfo.IntrinsicsQuickInfoSourceProvider.TryCreateQuickInfoSource(ITextBuffer buffer) in C:\Users\henk\Documents\Github\intrinsics-dude\VS\CSHARP\intrinsics-dude-vsix\QuickInfo\IntrinsicsQuickInfoSourceProvider.cs:line 53 at Microsoft.VisualStudio.Language.Intellisense.Implementation.LegacyQuickInfoSource.CreateSource(ITextBuffer textBuffer, Lazy`2 sourceProvider) at Microsoft.VisualStudio.Language.Intellisense.Implementation.LegacyQuickInfoSource.Create(ITextBuffer textBuffer, Lazy`2 sourceProvider, ILegacyQuickInfoBrokerSupport asyncQuickInfoBroker, JoinableTaskContext joinableTaskContext) at Microsoft.VisualStudio.Language.Intellisense.Implementation.LegacyQuickInfoSourceProvider.TryCreateQuickInfoSource(ITextBuffer textBuffer) at Microsoft.VisualStudio.Language.Intellisense.Implementation.AsyncQuickInfoSession.CreateSources(JoinableTaskContext joinableTaskContext, IEnumerable`1 orderedSourceProviders, ITextBuffer textBuffer, IList`1 failures) --- End of stack trace from previous location where exception was thrown --- at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) --- End of inner exception stack trace --- at Microsoft.VisualStudio.Language.Intellisense.Implementation.AsyncQuickInfoSession.<UpdateAsync>d__32.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.VisualStudio.Language.Intellisense.Implementation.AsyncQuickInfoPresentationSession.<UpdateAsync>d__5.MoveNext() ---> (Inner Exception #0) System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.Threading, Version=16.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. File name: 'Microsoft.VisualStudio.Threading, Version=16.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' at IntrinsicsDude.Tools.IntrinsicsDudeTools.InitAsync() at IntrinsicsDude.Tools.IntrinsicsDudeTools.get_Instance() in C:\Users\henk\Documents\Github\intrinsics-dude\VS\CSHARP\intrinsics-dude-vsix\Tools\IntrinsicsDudeTools.cs:line 51 at IntrinsicsDude.QuickInfo.IntrinsicsQuickInfoSource..ctor(ITextBuffer buffer, ITagAggregator`1 aggregator) in C:\Users\henk\Documents\Github\intrinsics-dude\VS\CSHARP\intrinsics-dude-vsix\QuickInfo\IntrinsicsQuickInfoSource.cs:line 57 at IntrinsicsDude.QuickInfo.IntrinsicsQuickInfoSourceProvider.<>c__DisplayClass1_0.<TryCreateQuickInfoSource>g__sc\|0() in C:\Users\henk\Documents\Github\intrinsics-dude\VS\CSHARP\intrinsics-dude-vsix\QuickInfo\IntrinsicsQuickInfoSourceProvider.cs:line 50 at Microsoft.VisualStudio.Utilities.PropertyCollection.GetOrCreateSingletonProperty[T](Object key, Func`1 creator) at IntrinsicsDude.QuickInfo.IntrinsicsQuickInfoSourceProvider.TryCreateQuickInfoSource(ITextBuffer buffer) in C:\Users\henk\Documents\Github\intrinsics-dude\VS\CSHARP\intrinsics-dude-vsix\QuickInfo\IntrinsicsQuickInfoSourceProvider.cs:line 53 at Microsoft.VisualStudio.Language.Intellisense.Implementation.LegacyQuickInfoSource.CreateSource(ITextBuffer textBuffer, Lazy`2 sourceProvider) at Microsoft.VisualStudio.Language.Intellisense.Implementation.LegacyQuickInfoSource.Create(ITextBuffer textBuffer, Lazy`2 sourceProvider, ILegacyQuickInfoBrokerSupport asyncQuickInfoBroker, JoinableTaskContext joinableTaskContext) at Microsoft.VisualStudio.Language.Intellisense.Implementation.LegacyQuickInfoSourceProvider.TryCreateQuickInfoSource(ITextBuffer textBuffer) at Microsoft.VisualStudio.Language.Intellisense.Implementation.AsyncQuickInfoSession.CreateSources(JoinableTaskContext joinableTaskContext, IEnumerable`1 orderedSourceProviders, ITextBuffer textBuffer, IList`1 failures) --- End of stack trace from previous location where exception was thrown --- at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].< ---
--
and several of these exceptions:
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.Threading, Version=16.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. File name: 'Microsoft.VisualStudio.Threading, Version=16.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' at IntrinsicsDude.Tools.IntrinsicsDudeToolsStatic.OutputAsync(String msg) at IntrinsicsDude.Tools.IntrinsicsDudeToolsStatic.Output_ERROR(String msg) in C:\Users\henk\Documents\Github\intrinsics-dude\VS\CSHARP\intrinsics-dude-vsix\Tools\IntrinsicsDudeToolsStatic.cs:line 204 at IntrinsicsDude.SignHelp.IntrSignatureHelpCommandFilter.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) in C:\Users\henk\Documents\Github\intrinsics-dude\VS\CSHARP\intrinsics-dude-vsix\SignatureHelp\IntrSignatureHelpCommandFilter.cs:line 123 at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.SimpleTextViewWindow.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.VsKeyboardFilter.SendCommand(Guid cmdGroup, UInt32 cmdID, Object inParam) at Microsoft.VisualStudio.Editor.Implementation.VsKeyboardFilter.TextInput(TextCompositionEventArgs args) at Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.<>c.<DispatchTextInputEvents>b__6_0(KeyProcessor p, TextCompositionEventArgs args) at Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.<>c__DisplayClass10_1`1.<Dispatch>b__0() at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.CallExtensionPoint(Object errorSource, Action call) --- End of stack trace from previous location where exception was thrown --- at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
--
Yes, I did downgrade the threading library such that it will work on VS2015 and VS2017 before making the screenshot. I wasn't aware it could have cause issues in VS2019. Give me a few days, then I will hopefully will have fixed the signature help that is interfering with c++ signature help.
Fixed in latest update.