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

Support "regex" in "quickSuggestions" #235467

Open
RedCMD opened this issue Dec 6, 2024 · 2 comments · May be fixed by #235876
Open

Support "regex" in "quickSuggestions" #235467

RedCMD opened this issue Dec 6, 2024 · 2 comments · May be fixed by #235876
Assignees
Labels
feature-request Request for new features or functionality suggest IntelliSense, Auto Complete

Comments

@RedCMD
Copy link
Contributor

RedCMD commented Dec 6, 2024

I would like "regex" to be added to "editor.quickSuggestions"

Currently "editor.quickSuggestions" supports "other", "comments" and "strings"
"regex" is currently defaulted to "off" and cannot be changed
Currently it is impossible to automatically show inline snippet suggestions within regular expressions

"editor.quickSuggestions": {
	"other": "inline",
	"comments": "off",
	"strings": "inline",
	"regex": "inline" // New!
},

https://github.com/microsoft/vscode/blob/main/src/vs/editor/common/config/editorOptions.ts#L3502-L3584
https://github.com/microsoft/vscode/blob/main/src/vs/editor/contrib/suggest/browser/suggest.ts#L453-L470
https://github.com/microsoft/vscode/blob/main/src/vs/editor/contrib/suggest/browser/suggestInlineCompletions.ts#L148

@jrieken jrieken added feature-request Request for new features or functionality suggest IntelliSense, Auto Complete labels Dec 6, 2024
@vs-code-engineering vs-code-engineering bot added this to the Backlog Candidates milestone Dec 6, 2024
Copy link

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

@RedCMD RedCMD linked a pull request Dec 12, 2024 that will close this issue
@RedCMD
Copy link
Contributor Author

RedCMD commented Dec 12, 2024

@RedCMD RedCMD changed the title Support "quickSuggestions" "regex" Support "regex" in "quickSuggestions" Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality suggest IntelliSense, Auto Complete
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants