Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 13 10:03
  • Oct 08 19:28
    JeysonFlores starred Prince781/vala-language-server
  • Oct 04 11:46
    v1993 commented #221
  • Oct 03 08:19
    ComradeNapCali starred Prince781/vala-language-server
  • Oct 03 02:21
    Prince781 commented #221
  • Oct 02 03:33
    Prince781 commented #221
  • Oct 01 12:57
    v1993 commented #221
  • Sep 30 20:52
    Prince781 commented #221
  • Sep 30 20:48

    Prince781 on master

    check for Ide.LspSearchProvider… (compare)

  • Sep 30 20:48

    Prince781 on builder-3_38-plugin

    (compare)

  • Sep 30 20:48
    Prince781 closed #222
  • Sep 30 20:48
    Prince781 closed #221
  • Sep 30 16:30
    v1993 commented #221
  • Sep 30 16:09
    Prince781 edited #217
  • Sep 30 16:05

    Prince781 on caching

    cache ListSymbols results Impr… cache code lens (compare)

  • Sep 30 16:04
    Prince781 commented #221
  • Sep 30 16:03
    Prince781 opened #222
  • Sep 30 16:03
    Prince781 labeled #221
  • Sep 30 16:03
    Prince781 labeled #221
knuxbbs
@knuxbbs:matrix.org
[m]
I'm using the built-in language server from Gnome Builder
apparently, the project builds normally
but this error is very annoying
Prince781
@Prince781:matrix.org
[m]
What does it show in the Output tab of vscode?
there's nothing in output
ben
@ben:matrix.iofel.me
[m]
under output, select 'vala-language-server'
knuxbbs
@knuxbbs:matrix.org
[m]
but those are the errors
Prince781
@Prince781:matrix.org
[m]
Now you have to scroll all the way back up the output window and look for messages about meson.
knuxbbs
@knuxbbs:matrix.org
[m]

(process:41501): vls-WARNING **: 13:16:15.202: mesonproject.vala:72: MesonProject: for target 25a6634@@valasample-resources_c@cus, source #0, could not substitute special arg `DEPFILE'

(process:41501): vls-WARNING **: 13:16:15.203: mesonproject.vala:107: MesonProject: for target 25a6634@@valasample@exe, source #0, could not substitute special arg `@valasample@'

(process:41501): vls-WARNING **: 13:16:15.203: mesonproject.vala:281: MesonProject: target #5 has no target sources

(process:41501): vls-WARNING **: 13:16:15.203: mesonproject.vala:281: MesonProject: target #6 has no target sources

(process:41501): vls-WARNING **: 13:16:15.203: mesonproject.vala:281: MesonProject: target #7 has no target sources

I've found this errors too:

Error: Package gobject-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories Error: Packagegtk+-3.0' not found in specified Vala API directories or GObject-Introspection GIR directories
Error: Package glib-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories Error: Packagegio-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories
Error: Package gobject-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories Error: Packagegtk+-3.0' not found in specified Vala API directories or GObject-Introspection GIR directories
Error: Package glib-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories Error: Packagegio-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories
Error: The namespace name GLib' could not be found Error: The namespace nameGLib' could not be found

1 reply
Prince781
@Prince781:matrix.org
[m]
That's interesting.
ben
@ben:matrix.iofel.me
[m]
Prince781: would be cool to add a vala-language-server doctor command to automatically collect system info and try to build a project
Prince781
@Prince781:matrix.org
[m]
If it set up a meson dir then the VAPIs should be available...because meson would've complained earlier
ben explain further
knuxbbs you should create an issue l
(ignore the I)
knuxbbs need to provide the entire output log
when you make the issue
this seems like a simple project so I wonder why it's not working.
ben actually I understand now
Prince781
@Prince781:matrix.org
[m]
knuxbbs yeah so just copy the output window and paste it in the issue report, or add it as an attachment in gh
that way I can understand
knuxbbs
@knuxbbs:matrix.org
[m]
okay
I'll do after the lunch
thanks in advance
Prince781
@Prince781:matrix.org
[m]
knuxbbs: so it seems I can't reproduce this issue on my end
I'm wondering if there's something wrong with your system configuration
you need to enable debug mode for the Vala plugin in VSCode
that way you can give me a more extensive log
I also forgot to ask you to run meson compile -C build because that way we would discover whether your VAPIs are misconfigured
Prince781
@Prince781:matrix.org
[m]
knuxbbs: you're using VLS 0.48.0
so that's the problem
unfortunately OBS still can't build latest VLS in Ubuntu 20.04
Behrooz Amoozad
@behrooz0az_gitlab
Hi,
is (vala-language-server:10495): vala-CRITICAL **: 04:04:35.653: vala_scope_get_parent_scope: assertion 'self != NULL' failed a known bug or do I file a report?
Prince781
@Prince781:matrix.org
[m]
@behrooz0az_gitlab it's a known bug in Vala.GirParser (I think). You could file a bug
But it would be a bug in the compiler, not VLS.
ricotz
@ricotz:matrix.org
[m]
Prince781 is this related to your girparser-fixes? Or something different. A full trace would be great
redoC-A2k
@redoC-A2k

I have just installed vala-language-server from aur ,
putted following in coc-settings.json

{
"languageserver":{
"vala":{
"command":"vala-language-server",
"filetypes":["vala"]
}
}
}

Then upon opening vala file in new instace of vim , I am unabe to get any of language-server-features working , text is behaving as a normal text .
what I missed .. Please could anyone help who has got vala-language-server working properly in vim

redoC-A2k
@redoC-A2k

I also checked output of following , then there was not any process of vala-language-server running on opening .vala file in vim

ps -aux | grep "vala-language-server"
or
ps -aux | grep "vala"

redoC-A2k
@redoC-A2k
Could anyone help..
redoC-A2k
@redoC-A2k

On running following , in terminal this process starts as terminals hangs , but I don't get anyoutput related to vala-language-server

vala-language-server

Prince781
@Prince781:matrix.org
[m]
@redoC-A2k sorry for late response. VLS doesn't hang in terminal, it just waits for input. It's supposed to be run as a child process communicating with the editor over a pipe.
Did you make sure coc.nvim is working? Can you get it working with other language servers?
BearHeathen
@BearHeathen
Is there an easy way to get VLS to run on Windows via MSYS2? Everything I'm seeing is particularly convoluted.
Princeton Ferro
@Prince781
@BearHeathen there's a MSYS2 package. That should work?
Just pacman -S mingw-w64-x86_64-vala-language-server