You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
widersky opened this issue
May 8, 2024
· 1 comment
Labels
defect[core label]emmetEmmet tooling supportlanguage serverAn umbrella label for all language serverslanguageAn umbrella label for all programming languages syntax behaviorsphpPHP programming language supporttoolingAn umbrella label for language tools, linters, formatters, etc
When I try to use Emmet in a PHP file, I can't do it unless I open any HTML file first.
Steps to reproduce:
Open any PHP project without the HTML file open on any tab
Try to use Emmet in PHP file (in my case it was empty PHP file - I tried to use just plain HTML syntax inside PHP file)
Open any HTML file - might be just for preview
Now Emmet is working in PHP file too
It looks like PHP files are not triggering Emmet Language Server to download.
It also happened to me once that after completing the above steps, the CMD + / shortcut started inserting an incorrect comment in the HTML syntax ( // instead of <!—- -—> ). Unfortunately, I was unable to trigger this behavior a second time.
Moshyfawn
added
language
An umbrella label for all programming languages syntax behaviors
language server
An umbrella label for all language servers
php
PHP programming language support
tooling
An umbrella label for language tools, linters, formatters, etc
emmet
Emmet tooling support
and removed
triage
Maintainer needs to classify the issue
labels
May 8, 2024
defect[core label]emmetEmmet tooling supportlanguage serverAn umbrella label for all language serverslanguageAn umbrella label for all programming languages syntax behaviorsphpPHP programming language supporttoolingAn umbrella label for language tools, linters, formatters, etc
Check for existing issues
Describe the bug / provide steps to reproduce it
When I try to use Emmet in a PHP file, I can't do it unless I open any HTML file first.
Steps to reproduce:
It looks like PHP files are not triggering Emmet Language Server to download.
It also happened to me once that after completing the above steps, the
CMD + /
shortcut started inserting an incorrect comment in the HTML syntax (//
instead of<!—- -—>
). Unfortunately, I was unable to trigger this behavior a second time.Environment
Zed: v0.134.1 (Zed Preview)
OS: macOS 14.4.1
Memory: 16 GiB
Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your
~/Library/Logs/Zed/Zed.log
file to this issue.No response
The text was updated successfully, but these errors were encountered: