Closed jasonxris closed 3 years ago
I don't know if restarting the language server would be good. May re-querying would suffice?
Yeah re-querying would be better.
I only suggested restarting the server since it is the only was we currently have of triggering the re-query.
00:45:50.801 [pool-2-thread-1] INFO server.bazel.cli.Bazel - Getting BuildTargets... 00:45:51.072 [pool-2-thread-1] INFO server.bazel.cli.Bazel - Parsing Error 00:45:51.072 [pool-2-thread-1] INFO server.workspace.Workspace - ERROR: /workspaces/dev/playground/examples/intellij/BUILD:54:11: Label '//javascript:integration_tests' is duplicated in the 'tests' attribute of rule 'ijwb_ue_tests'
In this case there was an error the build file that causes the parsing to break and for the Workspace tree to not be populated correctly. Breaking many of our features.
There should be a notification to the user about the parsing error allowing the user to