Comments (6)
Please notice the big Work in progress notice in the README. This extension is not published yet, but in a public repository to enable collaboration.
This extension is only a thin wrapper that spawns the https://github.com/felixfbecker/php-language-server, so bugs need to be fixed there
Feel free to contribute.
from vscode-php-intellisense.
Yes, contribution is my goal :)
For now I'm trying to understand if my initial steps were correct and I didn't missed anything important. After I will have working version I will be able to start playing with implementation of https://github.com/felixfbecker/php-language-server
from vscode-php-intellisense.
Yes I basically created this extension already because I needed some way to test the language server. That being said though, I got initialize already working. I think you were missing some steps:
- run
composer install
to install the language server as a dependency (you need composer installed) - run
npm run compile
to compile
This should be highlighted more in the README, I build the 3 packages in just two days and published them on GitHub as quickly as possible without writing extensible documentation :D
My next step is implementing documentSymbols because it is trivial with an AST. But I couldnt debug it properly, the server crashed and I couldn't get STDERR output, so I asked the VS Code folks how to do it, and got help here: microsoft/vscode-languageserver-node#82. I couldn't find the time to implement it yet, but that way we can get STDERR output with stacktraces. But ultimately I want all features of the language server to be verified through unit tests, because it is designed to run with many IDEs, not just VS Code. Tracking test coverage is on my todo list aswell.
I also used my own debug adapter https://github.com/felixfbecker/vscode-php-debug to debug the language server with success.
I am also open to adding more maintainers, would be nice if this could become a community project.
from vscode-php-intellisense.
Thanks for clarification. It looks that I was able to reach initialization step. I just thought something else should work ;) I will try add simple description to README to summarize what I did.
from vscode-php-intellisense.
microsoft/vscode-languageserver-node#86
from vscode-php-intellisense.
I added a solution to the problem in felixfbecker/php-advanced-json-rpc@53808d3
documentSymbols
is working now! 🎉
from vscode-php-intellisense.
Related Issues (20)
- Extension issue
- Extension issue
- Extension issue
- Keeps popping up with a Warning saying that the extension is not working properly. So I disabled it.
- php intellisense not found in vscode HOT 4
- Extension issue - PHP IntelliSense ver 2.3.14
- Extension issue
- function names inserted as GlobalFunctionName
- Extension issue
- Dependency Dashboard
- Extension issue
- Deprecation notice on start-up
- Go to definition not working on use statements HOT 1
- phpcs: Unable to locate phpcs. Command failed: "C:/Servers/php8" --version '"C:/Servers/php8"' is not recognized as an internal or external command, operable program or batch file.
- Extension issue
- This plugin shows an error when using PHP mixed with HTML
- Is this dead? HOT 2
- Deprecation warning via Github Copilot
- PHP + HTML indentation pattern
- Go To Definition fails with Definition not found HOT 1
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 vscode-php-intellisense.