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

Remove punctuation from SCSS classes & identifers #3410

Merged
merged 1 commit into from
Jun 17, 2022

Conversation

Roy-Orbison
Copy link
Contributor

Closes #3409.

@masatake
Copy link
Member

You can run the test locally with make units LANGUAGES=SCSS.

You have to update the following files:

  • Units/parser-scss.r/placeholder.d/expected.tags
  • Units/parser-scss.r/variable.d/expected.tags
  • Units/parser-scss.r/selectors.d/expected.tags

@masatake
Copy link
Member

Could you add optlib/scss.c to your commit?

@masatake
Copy link
Member

Could you write the background and idea of the change to your commit log?

@codecov
Copy link

codecov bot commented Jun 16, 2022

Codecov Report

Merging #3410 (15434fe) into master (227c65e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #3410   +/-   ##
=======================================
  Coverage   83.19%   83.19%           
=======================================
  Files         218      218           
  Lines       52428    52428           
=======================================
  Hits        43620    43620           
  Misses       8808     8808           
Impacted Files Coverage Δ
optlib/scss.c 0.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 227c65e...15434fe. Read the comment docs.

@masatake
Copy link
Member

Can I ask two more things?

  • Put Closes #3409 to the commit log, and
  • Use SCSS: as the prefix of the header of the commit log like:
    SCSS: remove punctuation from classes & identifers

Prevent appended pseudos as well. This should make the tags file output
more consistent with other language parsers, where the identifiers are
more important than the delimiters that denote their types. This aids
completion in existing tools and across languages (like HTML) where the
delimiters are not used.

Closes universal-ctags#3409
@masatake masatake merged commit 8e3da60 into universal-ctags:master Jun 17, 2022
@masatake
Copy link
Member

Thank you.

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.

Tags generated for SCSS include characters that prevent completion
2 participants