cquery-project / vscode-cquery

cquery plugin for Visual Studio Code
54 stars 16 forks source link

Cquery process restart results in erroneous text parsing #50

Open Yanpas opened 5 years ago

Yanpas commented 5 years ago

STR:

  1. Open vscode, wait while cquery is loaded
  2. Kill cquery process (or restart cquery via command), it will be restarted automatically
  3. There are some errors in source file parsing appear: image
trond-snekvik commented 5 years ago

If this is the same issue as I'm having in https://github.com/cquery-project/cquery/issues/792, it could be caused by https://github.com/Microsoft/vscode-languageserver-node/issues/342. It was fixed in vscode-languageclient version 4.1.4, so upgrading the vscode-languageclient dependency to the current 5.1.0 looks like it's fixing the problem for me so far.