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

HTML autocomplete lowercase is messing with text color #77889

Closed
Ares9323 opened this issue Jul 24, 2019 · 1 comment
Closed

HTML autocomplete lowercase is messing with text color #77889

Ares9323 opened this issue Jul 24, 2019 · 1 comment
Assignees

Comments

@Ares9323
Copy link

Ares9323 commented Jul 24, 2019

VSCode Screenshot with all extensions disabled

Screenshot

Screenshot

Steps to Reproduce:

  1. Type anything inside a div like onClick, onMouseOver, etc.
  2. If you use the autocomplete function everything will be written in lowercase causing the system not to recognize the function and applying a different color

If the correct form is lowercase i will use it, but in some documentations is written with uppercase letters

System Info

  • VSCode Version: 1.37.0 Insider (Latest)
  • OS Version: Windows 10 Pro Build 1903 (Latest)
  • Does this issue occur when all extensions are disabled?: Yes
@aeschli
Copy link
Contributor

aeschli commented Jul 25, 2019

I don't know if there's a recommendation but we follow how mdn does it: all-lowercase
https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers

Moving issue to the HTML textmate grammar to answer why the tokens are different.
textmate/html.tmbundle#104

@aeschli aeschli closed this as completed Jul 25, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Sep 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants