Code Autocomplete for this new lua configuration

Hey there!

I’ve been using Hyprland for a while now, it’s the best WM and I loooove it!

Any chance you guys have already figured out a way to get some sort of code completion for the lua-side configurations ? I guess a lua intellisense would work but I’m looking to have autocompletion on hyprland specific functions… Using hyprland’s source ?

Any IDE/editor would do although a vscode/vscodium solution would be the absolute best ahah

I’ll try if noboby’s working on it but I don’t want to duplicate efforts ahah

Cheers,

Mathieu

How did I not see this???

Well thanks a lot mate!

no probs mate, glad i could help :slight_smile:

I would also suggest adding the hl global to your diagnostics to avoid “undefined global” lint errors, like this:

{
  "workspace": {
    "library": [
      "/usr/share/hypr/stubs"
    ]
  },
  "diagnostics": {
    "globals": ["hl"]
  }
}