grafana / grafana/jsonnet-language-server

bug: no autocomplete inside brackets [vscode]

Open
#247 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
223
Forks
33
PR merge metrics
No merged PRs in 30d

Description

Autosuggestions don't work when inside inline brackets.

no brackets (working):
Image

inline brackets (not working):

Image

out of line brackets (working):

Image

Only error given: `time="" level=error msg="DocumentSymbol: error parsing the document"`

VS Code Jsonnet Language Server 0.7.4

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue in VS Code using inline brackets and compare it with the working cases shown in the report. Start by tracing the DocumentSymbol parsing path associated with the reported error; done means autocomplete works inside inline brackets without the parsing error, while the existing working cases remain unaffected.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, vscode
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.