Skip to content

Emmet Integration#2140

Merged
abose merged 1 commit intophcode-dev:mainfrom
devvaannsh:main
Feb 18, 2025
Merged

Emmet Integration#2140
abose merged 1 commit intophcode-dev:mainfrom
devvaannsh:main

Conversation

@devvaannsh
Copy link
Member

@devvaannsh devvaannsh commented Feb 18, 2025

NB: Full commit history in #2129 , this was re-raised as some rebase conflicts could not be fixed easily.

This PR adds built-in Emmet support to Phoenix.

  • Displays code hints when an abbreviation can be expanded. (Code hints felt crucial—without them, most users might not realize that Phoenix supports Emmet by default.) A small "emmet" icon is shown at the bottom-right of the hint to indicate that the hint is coming from Emmet.
  • Places the cursor at the correct position after expansion, in a manner that users can directly start typing.
  • Preserves indentation to match the surrounding code.
  • Users can enable/disable from preferences file.
Untitled.video.-.Made.with.Clipchamp.5.mp4

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 18, 2025

Quality Gate Passed Quality Gate passed

Issues
11 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
1.6% Duplication on New Code

See analysis details on SonarQube Cloud

@abose abose merged commit 71345ba into phcode-dev:main Feb 18, 2025
18 checks passed
@abose
Copy link
Member

abose commented Feb 18, 2025

Thanks for contributing this highly requested feature @devvaannsh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants