-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
Consider emmet completions from php extension #29354
Comments
Something new, would like to see it in action! :) |
@roblourens and I discussed this and it looks tough at the moment. |
What about websockets? For php I use this library: http://socketo.me/ |
I am not familiar with that, but you are welcome to give it a try :) |
Spawning a node process from PHP is probably one solution. Making them talk to each other is easy, websockets not needed. |
cc @felixfbecker for this thoughts |
I think this is the same issue as HTML suggestions inside PHP in general (or CSS in HTML, or JS in HTML, or SQL in PHP). Imo requiring the language server to handle all possible embedded languages (and the possibly embedded languages inside the embedded language and so on) doesn't scale, because for N language servers you will each have to build and integrate M<N embedded languages, which can then have embedded languages again, so in the worst case you have to embed close to N^N language servers. For example, PHP needs to embed HTML, but HTML then needs to embed CSS and JS. The user also can't decide anymore what language server to use for the embedded languages. Overall, we would end up with a very inconsistent experience across languages. A better approach I think is what I outlined in this thread: #670 (comment) |
@bmewburn set However, we have refined the triggering of emmet suggestions in the latest Insiders (https://code.visualstudio.com/insiders). The same will be out in tomorrow's release of 1.15.1 So if you use emmet, I would suggest to set |
@ramya-rao-a I'm using 1.18.1 but I still need to set |
@mcdado To solve which problem? Please share screenshots |
I admit that when I was figuring it out I thought it was happening exactly like here, with random keywords, but I now realize it is different, it happens with HTML keywords: This is without |
With the intelephense extension my preference is to set |
@mcdado Can't do much for cases like that other than setting @bmewburn I did not know that, good to know! Can you point me to the code that does that? |
@bmewburn Indeed I'm using your awesome extension. I added again |
This iteration we focus on issue grooming. This issue is being closed to keep the number of issues in our inbox on a manageable level, we are closing issues that are not going to be addressed in the foreseeable future: We look at the number of votes the issue has received and the number of duplicate issues filed. More details here. If you disagree and feel that this issue is crucial: We are happy to listen and to reconsider. If you wonder what we are up to, please see our roadmap and issue reporting guidelines. Thanks for your understanding and happy coding! |
See #29318 and #28286 (comment)
The text was updated successfully, but these errors were encountered: