Closed alextremblay closed 4 years ago
Hi @alextremblay . I've seen similar behaviour before when facts output to STDOUT. Can you try changing to the TCP protocol and see if the problem still exists?
How to change settings in VS Code https://code.visualstudio.com/docs/getstarted/settings
protocol setting: https://puppet-vscode.github.io/docs/extension-settings/#puppet-editorservice-protocol
This issue has been marked stale because it has been open for more than 30 days with no activity. If this issue is still important to you, please comment to keep this issue open. If not, this will be closed in 5 days
What Versions are you running?
OS Version: MacOS 10.14.6 VSCode Version: 1.40.2 Puppet Extension Version: 0.21.0 PDK Version: 1.15.0
What You Are Seeing?
I know the title is pretty generic, but I can't think of a more specific way to describe my problem.
When I open a .pp file in VSCode, once the language server gets up and running, everything works fine for a few seconds (linting, hover definitions, go to definition, etc) and after a few seconds, all of that stops working (corrected linting errors still show as errors, new text which should cause linting errors doesn't, peek definition displays the text "Loading..." forever, go to definition causes vscode to display a loading bar at the top of the editor indefinitely
reloading the window restarts the extension and the languageserver, which fixes the issue for a few seconds, but then it stops working again
What is Expected?
All languageserver features to work continuously
How Did You Get This To Happen? (Steps to Reproduce)
wait a few seconds
Output Log