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

Extension causes selection operators to stop working #227

Closed
forivall opened this issue Sep 11, 2019 · 0 comments
Closed

Extension causes selection operators to stop working #227

forivall opened this issue Sep 11, 2019 · 0 comments

Comments

@forivall
Copy link
Contributor

I regularly use "Add selection to find next match" (cmd+d) and sometimes "Expand selection (ctrl+'), and when i have this extension enabled, they break:

By default, without selecting anything, "Add sel..." will select the current word, but when this extension is enabled, in yaml files, it does nothing.

Without this extension, expand selection will select the word, then the key/value pair, then the whole line, then the entire file. With this extension, it just selects the entire file.

With a bit of experimentation, and comparing the built-in language config & syntax with the ones this extension provides, the only difference was the "wordPattern" in the language-configuration.json. Removing it solved my problem. I also made a quick tweak to remove the surrounding /s from the pattern, and that solved it too. PR incoming.

JPinkney added a commit that referenced this issue Sep 11, 2019
Fix #227: Remove surrounding `/` from wordPattern
bleach31 pushed a commit to bleach31/vscode-yaml that referenced this issue Jan 25, 2022
…e-custom-schemas

Made yamlSchemaService accept multiple uris from requestCustomSchema
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