Skip to content
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

Emmet HTML Boilerplate "!" Abbreviation Not Working #12791

Open
1 task done
FrankDraws opened this issue Jun 7, 2024 · 7 comments
Open
1 task done

Emmet HTML Boilerplate "!" Abbreviation Not Working #12791

FrankDraws opened this issue Jun 7, 2024 · 7 comments
Labels
autocompletions Feedback for code completions in the editor defect [core label] emmet Emmet tooling support html HTML markup support language An umbrella label for all programming languages syntax behaviors tooling An umbrella label for language tools, linters, formatters, etc

Comments

@FrankDraws
Copy link

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

I create an HTML file by right clicking into the Project Panel. Then, when I type "!" to create the HTML 5 boilerplate, nothing comes up. It seems to take a long while for it to recognize the page is HTML 5. I also noticed that if I put in the page structure in a different way, it seems to then recognize the page as HTML after a while; at which point typing "!" to insert the boilerplate works (after the fact).

Environment

Zed: v0.138.6 (Zed)
OS: macOS 14.5.0
Memory: 16 GiB
Architecture: aarch64

If applicable, add mockups / screenshots to help explain present your vision of the feature

Screenshot_Zed_doctypeAbbreviation
Screenshot_Zed_exclamationAbbreviation

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

Attached is a text file of the zed.log.
FrankDraws_zed_log.txt

@FrankDraws FrankDraws added admin read Pending admin review defect [core label] triage Maintainer needs to classify the issue labels Jun 7, 2024
@Moshyfawn Moshyfawn added html HTML markup support language An umbrella label for all programming languages syntax behaviors emmet Emmet tooling support autocompletions Feedback for code completions in the editor and removed triage Maintainer needs to classify the issue labels Jun 8, 2024
@bajrangCoder
Copy link
Contributor

Use emmet extension

@Moshyfawn
Copy link
Member

Use emmet extension

This behaviour is present with the Emmet extension installed.

@bajrangCoder
Copy link
Contributor

bajrangCoder commented Jun 8, 2024

Use emmet extension

This behaviour is present with the Emmet extension installed.

Really? Maybe the Emmet LSP wasn't started.(According to your zed logs , it fails to start the LSP server check the last line)
It's working fine for me 👇

InShot_20240609_013650890.mp4

@JosephTLyons JosephTLyons added tooling An umbrella label for language tools, linters, formatters, etc and removed admin read Pending admin review labels Jun 10, 2024
@mikamero
Copy link

how do you fix it? same issue here with emmet extension installed, the snippet (!, html, body, basically all of them) is not showing anything nor respond by pressing tab.
xx

@SavinDevelop
Copy link

The ! tab doesn't work for me either. But the extensions are installed

@geekysaurabh001
Copy link

how to make it work on jsx/tsx files?

@AlmeidaGabrielNunes
Copy link

Same problem here. No ideia why

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autocompletions Feedback for code completions in the editor defect [core label] emmet Emmet tooling support html HTML markup support language An umbrella label for all programming languages syntax behaviors tooling An umbrella label for language tools, linters, formatters, etc
Projects
None yet
Development

No branches or pull requests

8 participants