Provide "Run In Terminal" CodeLens for markdown content marked as shell

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

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
markdown, shell

Research direction

Start by locating Wild Web Developer's markdown language-server integration and the entry points for CodeLens and terminal actions. Implement the requested behavior for fenced shell blocks, then verify that selecting Run In Terminal opens a terminal and executes the marked command, using the Quarkus README example as a check.

Written by the indexing model from the issue text.

Description

contributions welcome enhancement

I noticed that you have integrate markdown support with language server in WWD.

It would be nice if WWD could provide a "Run In Terminal" CodeLens for markdown marked as shell

[Run In Terminal]
''' shell script
./mvnw quarkus:dev
'''

Click on Run In Terminal codelens could open a Terminal and execute the command.

IJ provides this feature and it is very nice

Image

For instance when you create a Quarkus project, it generates a README with

```shell script
./mvnw quarkus:dev
Dominant language
Java
Stars
203
Forks
76
Avg merge
1d 5h
Merged PRs (30d)
30

Getting set up

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.

More from eclipse-wildwebdeveloper/wildwebdeveloper

All issues in eclipse-wildwebdeveloper/wildwebdeveloper

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.