Language Service issues with Lua extension update to VS 2022
Hello,
I am currently experiencing issues with a Language Service extension that I updated from Visual Studio 2019 to Visual Studio 2022. The extension, that we maintain internally, adds support for Lua programming language, and includes setting up font colors and integrating a Lua debugger in the IDE. Since the update, the font colors are not working properly, and I am noticing some unexpected behavior. When installing a new version of the extension, the font colors are not consistent for the first one or two times the IDE is launched. The font colors will eventually work after a few restarts of the IDE, but the problem resurfaces with each update.
One user is experiencing this issue with more consistency than anyone else, since the issue happens to them on every restart of their PC, and cleaning the component cache seems to solves it until their next PC restart: AppData\Local\Microsoft\VisualStudio\17.0_1339d46f\ComponentModelCache.
Additionally, after an extension update, the C++ codes are sometimes using some of the Lua colors, for example on the string and some keywords. However, our language service is only registered for three specific file extensions, and .cpp is not one of them. This will also fixes itself after the IDE is restarted a few time.
I would appreciate any help you can provide to understand those issues.
Thank you, David Guy