Comments (12)
From your screencast it doesn't look like completions are not slowed down but rather completely suppressed.
Do you have any other servers running in php files? What is shown in the bottom-left corner?
Also check Sublime Text console for any errors.
from lsp.
I find:
Producing empty completions due to document version mismatch. Completions requested for document version 32 but document version was 27.
...to be interesting. I don't know what it means, but I do get empty completions.
from lsp.
After about 15 seconds or more I do eventually get a list of completions.
from lsp.
If LSP-copilot for some reason takes a long time to generate completions then it's an expected behavior. We can't show completions until server responds.
But you said that it happens with LSP-copilot disabled and I'm interested in that case rather.
If it doesn't happen with LSP-copilot disabled then there is nothing to fix here. Just make sure that LSP-copilot works faster. Since it relies on cloud, it's probably some issue related to your network.
Eventually you can try filing an issue against LSP-copilot.
from lsp.
It does happen with LSP-coplot disabled:
CleanShot.2024-03-06.at.18.21.41.mp4
Here I enable both LSP and LSP-copilot, then I disable LSP-copilot, then I disable LSP and it finally starts working again.
from lsp.
Try disabling copilot and then closing and reopening the file.
There might be a special case happening in disabling a package that we don't handle correctly.
from lsp.
I tried that... didn't seem to make a change. But I did find that some files were slow, while other files were faster:
📹 https://a.supportally.com/v/94QnzY
Maybe a file size or complexity issue?
Again all I have enabled is:
- LSP
- LSP-copilot
I also tested with LSP-copilot disabled (after a ST restart) and I still had the weird per-file speed issues.
from lsp.
When it's slow, what is shown in the bottom left corner of the ST window?
from lsp.
I assume you mean the status bar? Nothing of note:
from lsp.
Pretty sure it won't happen in Safe Mode (you can install Package Control and LSP in it for testing) in which case it would likely be due to some other plugin. Maybe some weird interaction between LSP and another plugin...
You can try Safe Mode and if it doesn't reproduce there then in your original installation try disabling various other plugins.
from lsp.
I have decided to give up on Sublime Text after 10+ years lol! I am not going to re-test this again in safe mode, sorry. Feel free to close the issue if you still think this isn't an issue. Thanks for building this though!
from lsp.
We can't do much about an issue when there is no reproduction and you are the first in years to report it.
from lsp.
Related Issues (20)
- Crash when removing a folder from sublime HOT 7
- setting for 'diagnostics' hover popup HOT 2
- Containerized development workflow HOT 3
- Latest version breaks on startup HOT 2
- [clangd] Duplicated references HOT 6
- Find references not working across the project but only on opened files HOT 8
- Sublime Text Becomes unresponsive when hovered on variable containing large data (Variable Storing embeded font data) HOT 16
- `KeyError` in LSP plugin when trying to open Preferences HOT 3
- Goto Definition throws HOT 4
- Deprecate ST3 support for LSP-* packages HOT 1
- Feature: Only format when project configured for formatting HOT 8
- Disabling/Uninstalling the package resets Sublime Text's color scheme HOT 4
- Progress for migrating to python 3.8 HOT 7
- Option to disable code lens reference counter to reduce screen clutter HOT 2
- LSP messaging does not properly handle trailing `.0` on integer values HOT 7
- Plugin does not reflect `lsp_code_actions_on_save` settings HOT 3
- Can't disable code lens in settings HOT 4
- Formatting code show in hover popups HOT 2
- LSP.sublime-settings does not recognize lsp_code_actions_on_save configuration HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lsp.