redhat-developer / redhat-developer/vscode-xml

Support highlighting of embedded Groovy scripts inside XML CDATA blocks

Open
#1,093 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
328
Forks
101
Avg merge
1d 17h
Merged PRs (30d)
7

Description

On our project we use Groovy scripts that are embedded directly in XML CDATA blocks, this feature would be very helpful for this, since now there's no way to get syntax highlighting working in this use case.

Addition to this feature would be to somewhere specify what variables and types are available in these one-off scripts, since in my use case there are variables and methods injected at runtime which you can freely use.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points to begin with. First determine how this extension handles syntax highlighting for XML CDATA blocks, then define completion criteria for embedded Groovy highlighting and for documenting the variables and types injected into those scripts.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy, typescript
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.