mesonbuild / mesonbuild/vscode-meson

No autocomplete in `meson.build` file

Open
#271 11 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
138
Forks
53
PR merge metrics
No merged PRs in 30d

Description

I've installed this extension and it prompted me to install an LSP, so it should be installed (how do I verify that?).

Unfortunately, there is still no autocomplete for `meson.build` files. I get suggestions only for commands that were already entered previously in any of the files. No error squiggly lines either. Why is that?

So time ago I had the exact same setup and everything worked fine.

Meson is installed via pip, the Identifier of this extension is `mesonbuild.mesonbuild`. It's the only meson VSCode extension installed. I also have muon installed. I've build it from source.
```
muon 0.3.1
meson compatibility version 1.5.99
enabled features:
samurai
```
Downloading [mesonlsp](https://github.com/JCWasmx86/mesonlsp/releases/tag/v4.3.7) and manually adding its binary to `/urs/bin` has no effect, still no autocomplete.

The is no `mesonbuild.*` settings set in my VSCode settings.json config.

Pls help :(

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the meson.build file, the mesonbuild.mesonbuild extension, and the manually installed mesonlsp binary; verify whether VS Code starts the language server and inspect the extension's available diagnostics. Review the user's settings.json context and reproduce the missing completion and error squiggles, with autocomplete and diagnostics working as the done condition.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.