Skip to content

Fix completion suggestions inside comments#498

Open
NgoQuocViet2001 wants to merge 1 commit into
microsoft:mainfrom
NgoQuocViet2001:fix-429-comment-pseudo-completion
Open

Fix completion suggestions inside comments#498
NgoQuocViet2001 wants to merge 1 commit into
microsoft:mainfrom
NgoQuocViet2001:fix-429-comment-pseudo-completion

Conversation

@NgoQuocViet2001

Copy link
Copy Markdown

Fixes #429.

Summary

  • stop completion calculation when the cursor is inside a comment
  • use the CSS, SCSS, or LESS scanner so both block and single-line comments are handled
  • keep selector completion available immediately after a closed block comment

Testing

  • npm run compile
  • full test suite: 710 passed

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.

Pseudo-class/element suggestions are triggered by colon (:) character in comment contexts

1 participant