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

Only suggest issues if already in a comment? #1521

Closed
connor4312 opened this issue Feb 25, 2020 · 3 comments
Closed

Only suggest issues if already in a comment? #1521

connor4312 opened this issue Feb 25, 2020 · 3 comments
Assignees
Labels
feature-request Request for new features or functionality

Comments

@connor4312
Copy link
Member

connor4312 commented Feb 25, 2020

Python uses # as its comment delimiter, which triggers issue suggestions every time I start writing a comment. Is there a way to only offer the completion if the # is in the body of a comment?

image

@alexr00
Copy link
Member

alexr00 commented Feb 26, 2020

I wish I could do this, but the VS Code API doesn't have anything to support this. I've opened microsoft/vscode#91555 to track this API request.

@alexr00 alexr00 added the feature-request Request for new features or functionality label Feb 26, 2020
@mattstrayer
Copy link

Also keep running into this for comments in python and bash.

@alexr00 Would it be sensible to offer a setting for the user to set a prefix character(s) for activating the auto-complete? Maybe adding a ! prefix --> !#, !@ ?

@alexr00
Copy link
Member

alexr00 commented Nov 18, 2021

This has since been completed.

@alexr00 alexr00 closed this as completed Nov 18, 2021
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
Projects
None yet
Development

No branches or pull requests

3 participants