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

Change entire ignored form to grey when #_ is used #58

Open
mefryar opened this issue Nov 13, 2024 · 0 comments
Open

Change entire ignored form to grey when #_ is used #58

mefryar opened this issue Nov 13, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@mefryar
Copy link

mefryar commented Nov 13, 2024

🤔 Problem

With #47, the string immediately following a #_ (a.k.a. discard character) turns grey. This works as I expected what is being ignored is a single string and there is no space. The problem arises when what is being commented is a form that is longer than a single string.

Single Line Form with space after #_

Current: Nothing changes color.

Desired: Ignored form becomes grey (as well as unused bindings).

Mutli-line Form with space after #_

Current: Nothing changes color.
image

Desired: Ignored form becomes grey.
image

Multi-line Form with no space after #_

Current: Only the first string changes colors and the last parenthesis is underlined in red.
image

Desired: Ignored form becomes grey.
image

💻 Details

IntelliJ IDEA 2024.2.4 (Community Edition)
macOS 14.7.1
com.github.clojure-lsp (2.6.2)

@mefryar mefryar added the enhancement New feature or request label Nov 13, 2024
@ericdallo ericdallo moved this to Ready for development in clojure-lsp-intellij Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Ready for development
Development

No branches or pull requests

1 participant