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

Ability to disable Auto-cloaking #25

Closed
martin-braun opened this issue Sep 4, 2022 · 5 comments
Closed

Ability to disable Auto-cloaking #25

martin-braun opened this issue Sep 4, 2022 · 5 comments

Comments

@martin-braun
Copy link

I miss the ability to disable the Auto-cloaking feature. Not everybody who is working with .env files is streaming or has to worry about visually leaked data.

@martin-braun martin-braun changed the title Disable Auto-cloaking Ability to disable Auto-cloaking Sep 4, 2022
@motdotla
Copy link
Member

motdotla commented Sep 4, 2022

@martin-braun I agree. I started work on this. Will go out as 0.8.0 relatively shortly.

@motdotla
Copy link
Member

motdotla commented Sep 4, 2022

Also, @martin-braun can I ask how you knew to update the latest version that contained auto-cloaking?

Did VSCode prompt you or did you choose to update the installation manually?

@martin-braun
Copy link
Author

martin-braun commented Sep 4, 2022

@motdotla I manually installed the extension, because I saw the Twitter Tweet about Auto-Cloaking. I was curious and I like the concept when doing screen shares and working in public places, although it falls short due to the lack of turning it off, easily.

I want to mention that it might be useful to have a quick toggle in the bottom bar as well as a flag in the extension settings itself.

Finally, I think the concept would be better in a dedicated extension that goes beyond .env files, i.e. for secrets in dart files, AndroidManifest.xml (Google Maps API key), my.cnf (SQL credentials) and so on, but this would exceed the scope, since this is the DotEnv extension.

Overall, it's a good start. Kudos!

@motdotla
Copy link
Member

motdotla commented Sep 4, 2022

Thank you.

@martin-braun give 0.8.0 a try. There is a link to 'Toggle auto-cloaking'

cloak-mode-2

@motdotla
Copy link
Member

motdotla commented Sep 5, 2022

Closing. If you need something more just comment and I'll re-open.

@motdotla motdotla closed this as completed Sep 5, 2022
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

2 participants