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

未关闭
#1,969 4 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
48/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
冷清
技术栈
markdown, shell

调研方向

首先定位 Wild Web Developer 的 markdown language-server 集成,以及 CodeLens 和终端操作的入口点。为 fenced shell blocks 实现所请求的行为,然后使用 Quarkus README 示例进行验证,确认选择 Run In Terminal 会打开终端并执行标记的命令。

由索引模型根据 Issue 内容生成。

描述

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
主要语言
Java
星标
201
派生
76
平均合并
4 天 7 小时
30 天内合并 PR
21

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

eclipse-wildwebdeveloper/wildwebdeveloper 的其他 Issue

查看 eclipse-wildwebdeveloper/wildwebdeveloper 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。