Comments (3)
Yes, noticed that too. That is because before we had all ASTs in memory. Now we only have a FQN => URI map. But for SymbolInformations, we need the locations and types of those symbols. So we first apply the query to the FQNs, and then for all FQNs that matched, load the document at the URI and find out the location/type. And because IO in PHP is sync (we could make it async though) it is done in serial. So the less specific your query is, the longer it takes.
I would like to also keep a table of SymbolInformation
s to speed this up.
from php-language-server.
I will just change the map to FQN => SymbolInformation then because a SymbolInformation includes the URI
from php-language-server.
@felixfbecker Yes, I think having SymbolInformations array would be good compromise between keeping only FQN => URI and ASTs in memory.
from php-language-server.
Related Issues (20)
- VS Code error
- PHP intelisense not working with MacOS 11.3
- open source funding available from Gitpod
- Keep getting alert for PHP 7
- Intellisense is "Unable to open" "Unable to read file" "Error: Unable to resolve non-existing file" after a directory is renamed in PHP Project HOT 1
- not found LanguageServer\StderrLogger
- Extension causes high cpu load
- Language Server Crashing and VS Code is hanged when opening Laravel 8 project with PHP 8.0 HOT 1
- File Copy Participants never finishes
- [Feature request] Autocomplete `$variable` without needing to type the `$`
- [FEATURE] Autocomplete classes in PHP DocBlock
- Requirements could not be resolved.
- New Issue HOT 1
- PHP language server crash in VS Code HOT 1
- __callStatic via trait not absorbed HOT 1
- Plugin Not Starting? - Help me please HOT 1
- more open source funding available from Gitpod HOT 1
- PHP (felixfbecker) language server has excited and exceeded the restart limit HOT 4
- "type is missing before a type separator" HOT 2
- is a malware????
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 php-language-server.