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

Syntax Highlighting in IDEs #269

Open
ce-bo opened this issue Mar 22, 2024 · 0 comments
Open

Syntax Highlighting in IDEs #269

ce-bo opened this issue Mar 22, 2024 · 0 comments
Labels
priority:low Set by the PO only

Comments

@ce-bo
Copy link
Collaborator

ce-bo commented Mar 22, 2024

Follow up of #268:

Description

As a Developer, I would like to see in my IDE which elements of the source code of a file have been considered by metric-gardener to calculate a metric.

Developer Notes

  • IDE plugin could provide this feature.
  • It would be possible to output the start and end text-position of an element in the source code that is counted e.g. by the complexity metric.
  • The metric-gardener json output file could be processed by a IDE plugin.
  • IDE plugins can somehow do syntax highlighting based on text positions.
  • Tree-sitter supports syntax highlighting out of the box. Though, I am not sure if we can use this approach: https://tree-sitter.github.io/tree-sitter/syntax-highlighting
@ChristianHuehn ChristianHuehn added the priority:low Set by the PO only label May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority:low Set by the PO only
Projects
None yet
Development

No branches or pull requests

2 participants