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

vscode: built in editor.action.selectToBracket breaks in TOML files #688

Open
bhainesva opened this issue Oct 18, 2024 · 0 comments
Open

Comments

@bhainesva
Copy link

The behavior of vscode's built in editor.action.selectToBracket command changes when used in a TOML file, specifically it seems to ignore curly brackets.

For example in a file with the following text, where | represents the cursor:

name = { first = "To|m", last = "Preston-Werner" }

If the language of the file is set to "Plain Text", running editor.action.selectToBracket will cause first = "To|m", last = "Preston-Werner" to be selected. If the same thing is done after changing the language mode to TOML no text is selected.

It's possible this is a bug with vscode itself, but I've only seen it happen in TOML files so decided to start here, apologies if I'm the wrong place.

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

1 participant