Skip to content

Request textDocument/documentSymbol failed when test name is empty #447

@dragsbruh

Description

@dragsbruh

In the middle of writing a new test there is a brief moment where the test name is an empty string

test "" {}

this triggers this vscode extension error

Request textDocument/documentSymbol failed. Error: name must not be falsy at vf.validate (file:///opt/visual-studio-code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:107:22554) at new vf (file:///opt/visual-studio-code/resource
....

this can get annoying sometimes when editing the test name and its empty for a split second

perhaps we can have it fail gracefully instead of throwing that notification?

Metadata

Metadata

Assignees

No one assigned

    Labels

    buglspIssue with language server integration

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions