Skip to content

Code completion is broken with the vala-language-server #928

Closed

Description

using Gee;
using GLib;

public class MyClass : Object {
	public static int main (string[] args) {
		string? path_env = Environment.get_variable ("PATH");
		string[] paths = path_env.spli // Press Enter here to insert the suggestion from the language server
		// This is what you will get:
		// string[] paths = path_env.split (${1:string delimiter}, ${2:int max_tokens})$0
		// For a method without any parameters like MyClass.Foo (), it will be MyClass.Foo ()$0
		return 0;
	}
}

I'm using MSMSY2. Any pointers would be appreciated.

Activity

  1. SpartanJ commented on Jul 17, 2026

    @SpartanJ
    Owner

    Works fine here, issue is only code completion but server is running correctly? I have no idea about the vala lsp, I don't use vala at all.

  2. Repository owner locked and limited conversation to collaborators on Jul 17, 2026
  3. converted this issue into a discussion #929 on Jul 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions