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

Autocomplete for study-config.json won't trigger inside quotes #9

Open
psybers opened this issue May 24, 2022 · 2 comments
Open

Autocomplete for study-config.json won't trigger inside quotes #9

psybers opened this issue May 24, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@psybers
Copy link
Member

psybers commented May 24, 2022

When editing a study-config.json file, auto-complete suggests the names of all Boa datasets. But currently it will only suggest outside of the string. So you have to auto-complete after the :, but before typing the " to start the string.

Our current workaround is to have the auto-complete actually place the dataset name with quotes around it.

But most users probably would only try to auto-complete once they start the string. Ideally, it would automatically suggest the moment you type the " to open the string.

This is probably due to JSON disallowing auto-complete inside strings. I am not sure if we can override that.

@psybers psybers added the bug Something isn't working label May 24, 2022
@psybers
Copy link
Member Author

psybers commented May 25, 2022

JSON actually allows auto-completing inside strings.

@psybers
Copy link
Member Author

psybers commented Oct 23, 2022

Not sure when things changed, but it is now autocompleting inside strings.

However, it is starting the completing from the current word (not the start of the string) so if you select it you get weird things like "java-sf": "2013 "2013 September/SF"/SF",. So still not working as we would like it.

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

1 participant