[GH-ISSUE #3398] 【强烈需求】 添加支持打开文本,脚本,并方便发送 当前行/选中行到终端 #2299

Open
opened 2026-02-27 00:06:52 +03:00 by kerem · 3 comments
Owner

Originally created by @heartacker on GitHub (May 4, 2024).
Original GitHub issue: https://github.com/electerm/electerm/issues/3398

What feature you'd like to see or proposal(期望什么新功能/特性或者建议)

很多时候,调试测试会将很多指令写在文本中。
如嵌入式调试

Originally created by @heartacker on GitHub (May 4, 2024). Original GitHub issue: https://github.com/electerm/electerm/issues/3398 ### What feature you'd like to see or proposal(期望什么新功能/特性或者建议) 很多时候,调试测试会将很多指令写在文本中。 如嵌入式调试
Author
Owner

@zxdong262 commented on GitHub (May 4, 2024):

是不是可以运行 sh path-to/file 或者 bat path/to/file解决?

<!-- gh-comment-id:2094058352 --> @zxdong262 commented on GitHub (May 4, 2024): 是不是可以运行 `sh path-to/file` 或者 `bat path/to/file`解决?
Author
Owner

@heartacker commented on GitHub (May 4, 2024):

是不是可以运行 sh path-to/file 或者 bat path/to/file解决?

不可以哦

比如说我要可以提前写好很多不同测试模下下的不同指令
比如有10个测试,那我可能就写10行,但我不可能一次执行写10行,而是单独执行这每一行
或者不同指令的组合,的这些指令都放在一个文本里面,就提前写好了
我不是要执行一个脚本,而是要执行脚本里的某几行或者某一行

<!-- gh-comment-id:2094065593 --> @heartacker commented on GitHub (May 4, 2024): > 是不是可以运行 `sh path-to/file` 或者 `bat path/to/file`解决? 不可以哦 比如说我要可以提前写好很多不同测试模下下的不同指令 比如有10个测试,那我可能就写10行,但我不可能一次执行写10行,而是单独执行这每一行 或者不同指令的组合,的这些指令都放在一个文本里面,就提前写好了 我不是要执行一个脚本,而是要执行脚本里的某几行或者某一行
Author
Owner

@heartacker commented on GitHub (May 4, 2024):

here is some demo using vscode.(yes, we can do this with vscode)

  1. text base panel is need indeed (good for teamwork and easy to use)
  2. notebook panel is welcome also (good for guiding)

txt notebook_panel

<!-- gh-comment-id:2094066185 --> @heartacker commented on GitHub (May 4, 2024): > here is some demo using vscode.(yes, we can do this with vscode) > 1. text base panel is need indeed (good for teamwork and easy to use) > 2. notebook panel is welcome also (good for guiding) > > ![txt notebook_panel](https://github.com/microsoft/terminal/assets/1876302/ca2797de-5a12-4c11-8fef-bd396a46d332) > >
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#2299
No description provided.