vshaxe icon indicating copy to clipboard operation
vshaxe copied to clipboard

Standalone: Sublime LSP

Open ghost opened this issue 4 years ago • 6 comments

Goodday,

Is there anyway to get the Haxe Language Server working on Sublime LSP? I've tried this for myself by installing LSP on Sublime, adding a Syntax definition and then using this configuration.

{
	"clients": {
		"haxe": {
			"command": [
				"node", "<path_to_haxe_language_server_cloned_repo>/bin/server.js"
			],
			"selector": "source.hx | source.hx.2 | source.haxe | source.haxe.2",
			"enabled": true
		}
	}
}

This seems™ to load but doesn't do anything. Does anyone have a working configuration for this? Is it even possible?

I would love to use Haxe in Sublime4, but the default plugin (from package manager) is WAY TOO slow, so I would ratter use the Haxe Language Server.

I've read: #171 but that thread was hijacked by neovim! :) So hence asking it here.

Many thanks for any help on this! Please Help Me!

ghost avatar Nov 28 '21 15:11 ghost

The problem is possibly https://github.com/vshaxe/vshaxe/issues/359

Gama11 avatar Nov 28 '21 15:11 Gama11

@Gama11 Thanks for the reply!

Is there a workaround? Or must we just wait for a fix?

MK-Alias avatar Nov 28 '21 15:11 MK-Alias

Well, the workaround is to trigger an onDidChangeConfiguration event. Not sure if there's an automated way to do that with Sublime.

Gama11 avatar Nov 28 '21 18:11 Gama11

+1 for this. I'm investigating getting it working on ST4 as well.

kevinfiol avatar Oct 06 '22 03:10 kevinfiol