[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#62795: 29.0.90; eglot: gdscript default port is 6005
From: |
xiliuya |
Subject: |
bug#62795: 29.0.90; eglot: gdscript default port is 6005 |
Date: |
Sat, 15 Apr 2023 21:28:45 +0800 |
User-agent: |
mu4e 1.10.2; emacs 29.0.90 |
João Távora <joaotavora@gmail.com> writes:
> I see. So it's not an inferior process to Emacs. Then
> maybe a function can be crafted in Elisp -- and housed
> in gdscript-mode -- that somehow discovers if the Godot
> Engine is running and finds the correct port. Then
> gdscript-mode can add that function to eglot-server-programs.
Yeah, that's a great idea.
Execute shell command `ss -lnpt | grep godot | awk -F':' '{print $2}' | awk
'{print $1}'`
Will output:
6006
6005
The default port 6006 is an LSP port.
The default port 6005 is the Debug Adapter port.
> And are you sure that port has never been 6008? If
> that was just a mistake, then I think we should change,
> yes. But please let's not change this back and forth
> every 3 months, or add alternatives for every positive
> integer.
I checked the historical submission of Godot and found that
the default LSP port has been changed from 6005 to 6008,
which was submitted in Dec 5, 2021:
https://github.com/godotengine/godot/commit/de7873c2d87c3ee8af8c27e35f49767fcc384e75
--
xiliuya :)
- bug#62795: 29.0.90; eglot: gdscript default port is 6005, xiliuya, 2023/04/12
- bug#62795: 29.0.90; eglot: gdscript default port is 6005, Eli Zaretskii, 2023/04/15
- bug#62795: 29.0.90; eglot: gdscript default port is 6005, João Távora, 2023/04/15
- bug#62795: 29.0.90; eglot: gdscript default port is 6005, xiliuya, 2023/04/15
- bug#62795: 29.0.90; eglot: gdscript default port is 6005, Ruijie Yu, 2023/04/16
- bug#62795: 29.0.90; eglot: gdscript default port is 6005, xiliuya, 2023/04/16
- bug#62795: 29.0.90; eglot: gdscript default port is 6005, Ruijie Yu, 2023/04/16
- bug#62795: 29.0.90; eglot: gdscript default port is 6005, xiliuya, 2023/04/16
- bug#62795: 29.0.90; eglot: gdscript default port is 6005, João Távora, 2023/04/16
- bug#62795: 29.0.90; eglot: gdscript default port is 6005, xiliuya, 2023/04/16
- bug#62795: 29.0.90; eglot: gdscript default port is 6005, Ruijie Yu, 2023/04/17
- bug#62795: 29.0.90; eglot: gdscript default port is 6005, Ruijie Yu, 2023/04/17