Skip to content

Conversation

@schloerke
Copy link
Collaborator

@schloerke schloerke commented Oct 26, 2021

Fixes #603

Should this be configurable? I'm thinking no.

PR task list:

  • Update NEWS
  • Add tests (if possible)
  • [NA] Update documentation with devtools::document()

Also move comment checking to top. It does not matter if it is within a quote or not, the result is still "no autocompletion". So move the logic to the top to avoid performing unnecessary actions.
@schloerke schloerke requested a review from gadenbuie October 26, 2021 15:19
@schloerke schloerke marked this pull request as ready for review October 26, 2021 15:20
Copy link
Member

@gadenbuie gadenbuie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏 👏 Go team! Thanks @schloerke

@gadenbuie gadenbuie merged commit f1d0ec9 into master Oct 26, 2021
@gadenbuie gadenbuie deleted the no_comment_auto_complete branch October 26, 2021 16:52
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

Successfully merging this pull request may close these issues.

Disable code completion on lines that start with # (e.g. comment lines)

3 participants