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

Add a "zap gremlins" feature to automate gremlins removal #23

Open
nhoizey opened this issue Apr 15, 2019 · 6 comments
Open

Add a "zap gremlins" feature to automate gremlins removal #23

nhoizey opened this issue Apr 15, 2019 · 6 comments

Comments

@nhoizey
Copy link
Owner

nhoizey commented Apr 15, 2019

On a side note but related would be nice if there was a change all option when the gremlins are highlighted. BBEdit has a feature called "Zap Gremlins" that does this. Its basically just a regex find and replace with a dialog. May be out of scope for this project but would love that ability. I have had smart quotes/curly quotes cost me hours trying to debug errors from those things popping up in code.

There is an extension that I am going to use for this purpose just wish it was on github so I could contribute :( Replace Smart Characters

Originally posted by @disaac in #8 (comment)

@ctf0
Copy link
Contributor

ctf0 commented Jul 10, 2019

i was going to request the exact same thing

@nhoizey nhoizey pinned this issue Oct 24, 2019
@ctf0
Copy link
Contributor

ctf0 commented Dec 10, 2019

@nhoizey check https://github.com/ctf0/vscode-replace-pesky-characters

@nhoizey
Copy link
Owner Author

nhoizey commented Dec 14, 2019

@ctf0 thanks for the link, I'll see how I can add this feature to Gremlins.

@TheSench
Copy link
Collaborator

I've started looking at this one. I'll have a PR up sometime in the next week that will at least have zapping current document.

@TheSench
Copy link
Collaborator

PR is ready, just waiting on the language-overridable PR as it builds upon the configuration changes made there.

@TheSench
Copy link
Collaborator

Branch still ready, just waiting on #160, as I built the PR off of that branch. I can undo those changes if necessary, but just need confirmation.

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

No branches or pull requests

3 participants