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

"Unexpected Character" error highlighting won't go away. #139

Open
cheestudio opened this issue Oct 27, 2020 · 10 comments
Open

"Unexpected Character" error highlighting won't go away. #139

cheestudio opened this issue Oct 27, 2020 · 10 comments

Comments

@cheestudio
Copy link

I get these errors anytime I expand a snippet of mine (using Sublime's native snippets):

Snipaste_2020-10-27_13-13-34

Snipaste_2020-10-27_13-11-05

I wasn't sure if Emmet was the source of these errors popups, but they cease to appear when I disable Emmet and return when I re-enabled. I combed through the settings to see if I could turn these off, but couldn't find one. I don't really want them at all...how can I suppress these?

sergeche added a commit that referenced this issue Oct 27, 2020
@sergeche
Copy link
Member

Seems like my recent fix have broken it 😬 Released v2.2.6 quickfix, please check if it works as expected

@cheestudio
Copy link
Author

That's actually another question I had...where is the install path (on Windows)? It used to be under /Packages/ but it's non longer listed there. I checked under my AppData folder too, nothing! I'm not entirely sure how to get the hotfix, since Package Control is only showing 2.2.5

@sergeche
Copy link
Member

Package Control needs some time to propagate updates. Check for Insatlled Packages folder. You can manually replace most recent version from https://emmetio.github.io/sublime-text-plugin/

@cheestudio
Copy link
Author

AHH, I was always looking for a Folder, not just a single .package file.

Fixed! Thank you!!

@cheestudio
Copy link
Author

Ah, almost there! This works fine now with my snippets, but I'm getting it even when using Sublime's baked in autocompletes, like a simple PHP tag:

Snipaste_2020-10-27_15-48-16

@cheestudio
Copy link
Author

And I'm getting them in SCSS, too:

image

@cheestudio
Copy link
Author

@sergeche just a question: is there a setting I can enable to suppress these across the board? They are still happening everywhere, its pretty distracting. :(

@sergeche
Copy link
Member

You can disable auto_mark Emmet setting, it will disable abbreviation capturing.

See more at https://github.com/emmetio/sublime-text-plugin#disable-abbreviation-capturing

@cheestudio
Copy link
Author

Whew...that did it! I was not aware this feature was actually the source of many of my woes with the new version. Disabling it restores my workflow to what I am used to (muscle memory is hard to shake!). Thanks!

@showhan
Copy link

showhan commented Jun 18, 2021

Disabling the auto_mark disables the HTML auto markup as well. So I had to disable the abbreviation_preview to disable the preview only and it works.

index

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

No branches or pull requests

3 participants