ycm-core / lsp-examples

Use any language server with YouCompleteMe.
https://ycm-core.github.io/YouCompleteMe
Apache License 2.0
82 stars 26 forks source link

Godot example is incorrect for Godot 4.3 #42

Open markeel opened 3 weeks ago

markeel commented 3 weeks ago

The description of enabling the Language Server option in the Godot editor is wrong.

Instead it should read

Editor Settings -> Network -> Language Server

Confirm Remote Port is set to the value in the g:ycm_language_server variable for remote_port.

The current default is 6005 (for 4.3), but used to be 6008 for 3.x. To use both versions of godot it may be easier to change the default value to 6008. If you are only using the latest Godot versions then make sure to use 6005 in your YCM definition

See active_status_request_completed for how to set the g:ycm_language_server variable.

puremourning commented 3 weeks ago

Thanks. This repo is largely community maintained, so if you'd like to make a PR to fix it 👍