Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No docs on hover when using interpreter line #186

Closed
naipotato opened this issue May 17, 2021 · 0 comments · Fixed by #187
Closed

No docs on hover when using interpreter line #186

naipotato opened this issue May 17, 2021 · 0 comments · Fixed by #187
Labels

Comments

@naipotato
Copy link
Contributor

Describe the bug
When opening a file with a shebang at the beginning (for example, #!/usr/bin/env -S vala --pkg gtk4), VLS does not seem to be able to display documentation for any of the library symbols whose documentation is obtained from the gir files.

Software
OS and version (e.g. Ubuntu 20.04): Fedora 34 (Silverblue)
Code editor (e.g. VSCode): VS Code 1.56.2
Vala Language Server (e.g. git commit, or PPA/AUR version): RPM 0.48.2
Vala version (valac --version): 0.48.17

To Reproduce

#!/usr/bin/env -S vala --pkg gtk4

void main () {
  var asd = new Gtk.AboutDialog ();
}

Steps to reproduce the behavior:

  1. Hover the Gtk.AboutDialog symbol
  2. You get the declaration of the class, but no docs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants