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

Env Var highlighting & suggestions in Header Field #572

Open
DenserMeerkat opened this issue Feb 13, 2025 · 2 comments · May be fixed by #573
Open

Env Var highlighting & suggestions in Header Field #572

DenserMeerkat opened this issue Feb 13, 2025 · 2 comments · May be fixed by #573

Comments

@DenserMeerkat
Copy link
Contributor

Tell us about the task you want to perform and are unable to do so because the feature is not available

The header field doesn't highlight or suggest environment variables on user typing though it supports environment variables substitution.

Describe the solution/feature you'd like us to add

The field should show autocomplete suggestions for both headers and env variables and highlight env variables.

@DenserMeerkat DenserMeerkat added the enhancement New feature or request label Feb 13, 2025
@Gunnzzz-tech
Copy link

I would be interested in working on this issue to implement both the highlighting of environment variables and the autocomplete functionality. You can use RichText inside a Stack to overlay the highlighted text while keeping the TextField editable. For autocomplete suggestions, you can utilize Flutter’s TextField with the onChanged() method and implement a custom autocomplete overlay.

@DenserMeerkat
Copy link
Contributor Author

I am actually done with the implementation just have to rewrite the tests. Used the existing EnvCellField with modifications to the custom implementation of multi_trigger_autocomplete package to allow autocomplete suggestions without a trigger.

@ashitaprasad ashitaprasad removed the enhancement New feature or request label Mar 2, 2025
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

Successfully merging a pull request may close this issue.

3 participants