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

Bug: When autocompleting an environment variable, closing braces are added even when they are not needed #297

Closed
Greenheart opened this issue Dec 17, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Greenheart
Copy link

First of all, thanks for this amazing tool! Restfox is exactly what I need, and I love the minimalistic and offline-first approach 😊

A minor bug/annoyance is that replacing an environment variable always ends up adding two extra closing braces, even if they are not needed. Perhaps the surrounding text in the editor could be scanned to see if the closing braces are needed or not.

Screencast.From.2024-12-17.10-41-46.mp4

Severity: This can pretty easily be worked around, but it would be a nice UX improvement.

@flawiddsouza flawiddsouza added the bug Something isn't working label Dec 17, 2024
@flawiddsouza
Copy link
Owner

I've noticed this happen before. I'll see what I can do.

I'm glad you find the application useful 😊

@flawiddsouza
Copy link
Owner

Hi @Greenheart, I've pushed a fix for the above. You can test it at: https://restfox.dev and let me know if there are any issues still remaining.

@Greenheart
Copy link
Author

It works perfectly - thank you! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants