danielscherzer / GLSL

VSIX Project that provides GLSL language integration.
258 stars 28 forks source link

Editing multiple lines causes NullReferenceException to be thrown #81

Closed NRUB closed 3 years ago

NRUB commented 3 years ago

Installed product versions

Description

When editing more than one line at a time with multiline editing, VS is throwing NullReferenceException. Although the exception is being caught by Visual Studio and doesn't cause hard crash, it is being forwarded and the appropriate information is being displayed in that slim light yellow bar above editor. My best guess it has something to do with IntelliSense, but unfortunately in my case "Open log file" button does nothing. This problem will appear only once, during any given session. To reproduce it after the message is dismissed it is required to restart Visual Studio, to have it happen again.

Steps to recreate

  1. Open Visual Studio
  2. Create empty GLSL shader file
  3. Add few new lines
  4. Hold Alt and select 2-3 lines
  5. Type anything (e.g. "aaa")
  6. Wait a second and exception should be thrown
  7. If nothing happens, restart Visual Studio and repeat steps 4 to 6.

Here is a screenshot of the message in context of a test file, in new empty project. exception

danielscherzer commented 3 years ago

Does version 0.10.125 now work as expected?

danielscherzer commented 3 years ago

Can we close this issue?