-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not start the server if i provide a TCP port, Sublime is a Client, not a Server starter #2214
Comments
Possible solution:
|
I agree this would be nice to have. |
+1 for me, i use this with godot, and the editor (and so lsp) is always running when i code by the nature of the work, dont really want sublime to mess with it. That would even be tolerable but for some reason the plugin is spinning one core to 100 percent continuously. Ive tried to give it random dummy shell command like ls or something so it would let me use the lsp, and the lsp with the tcp port filled in actually works like this, but again it spins the core making it really annoying on laptop in summer... edit: ok so apparently the old way through nc still works correctly, only without the tcp sublime setting, otherwise it spins the cpu... would be nice to not to have to use that, but ill take it. maybe it will be helpful to someone here. looked at the code and thats bit too heavy for me to editor tinker right now. "command": [ |
thanks, the nc way gets buggy and slow for some reason (although at this point it just may be godots lsp), so in the end I managed to hack it in somehow. |
fixed with #2300 |
When i provide the "tcp_port", sublime text will not connect to the server, instead it'll start the server
To Reproduce
app.zip
Sample server, it only start a TCP server on port
6969
Use this config:
if i comment the "command" i get this error btw:
Expected behavior
Sublime Text should initiate a TCP connection to my already open server
It should not start the server
Environment (please complete the following information):
Additional context
Use cases:
The text was updated successfully, but these errors were encountered: