-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Bug when pasting emojis into IntelliJ #76
Comments
Can you confirm this happens even if the biome extension is disabled? |
If the Biome extension is disabled, the expected functionality happens: Pasting the emoji (unicode value: A colleague of mine actually ran into this issue and I was able to recreate it so I know this at least happens on different operating systems and different machines. |
Just popping by to say I can still reproduce this on Biome 1.4.0 in Intellij IDEA 2024.2.1 |
It happens to me as well, Biome 1.4.0 in Intellij IDEA 2024.2.1 on MacOS Sonoma 14.7 Pasting this emoji ( {
"warning": "⚠️ Warning",
"welcome": "👋 Welcome {name}!",
"askAi": "✨ Ask AI",
"seeThis": "👈 This is {node}’s AI Logs"
} It works at the playground though Maybe it's an IntelliJ problem not Biome |
More detailed steps to reproduce:
|
Problem
There is an issue where IntelliJ Biome formats emojis when they are pasted into the document.
Run format on save
enabled.U+2708 U+FE0F
) into the documentIt formats that emoji to ✈ (unicode value:
U+2708
) when pasting in it - not even on save. Biome cli itself doesn't do this formatting, so it's definitely an IntelliJ Biome issue. WhenRun format on save
is not enabled, I don't get the error.Expectation
When pasting the emoji into the document, it doesn't format away the
U+FE0F
emoji bit of the unicode character, like IntelliJ behaves without Biome IntelliJRun format on save
option enabled.System information
Operating System: PopOs 22.04 and MacOS Sonoma
App: IntellJ IDEA Ultimate 2024.2.0.1
Biome IntelliJ version:
1.2.1
and also tried1.0.0
The text was updated successfully, but these errors were encountered: