PowerShell / PowerShell/PowerShellEditorServices

Add ability to New WIndow with Folder or Open Folder in Current Window

未关闭
#260 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

Area-Extension Terminal Issue-Enhancement
主要语言
C#
星标
767
派生
266
平均合并
3 天 16 小时
30 天内合并 PR
1

描述

When working with Editor Commands, it would be nice to be able to Open a new instance of Code with a specified folder as a project directory.

Example;

  • Create new module with Plaster with Editor Command.
  • After Plaster is finished, the Editor Command then Opens a new Code window with the Module Root as Project Folder.

I would actually prefer if it could open the folder in the current Window if Code supported multiple project folders (I'm getting tired of having 15-20 Code Windows open.)

I wouldn't also mind being able to just open the Project in the current Windows as well.

Is there any sort of way to accomplish this? So far, trying to use code command line is totally worthless if I already have a code window open. This is actually something really frustrating that makes the "Open in Code" or "Open in Code Insiders" totally worthless. I need to check the status of these sort of issues on the Code issues. Right now, I have to use Insiders for my normal Projects, and normal Code for my "Open with".

贡献指南

打开贡献指南

从这里开始

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

调研方向

从 issue 中描述的 Editor Commands 和 code 命令行行为入手,包括 Plaster 工作流,以及新建 Code 窗口与在当前窗口中打开文件夹之间的区别。在确定这是否属于 PowerShell Editor Services 之前,检查所引用的 Code 和 Code Insiders issue 的状态。完成的标准是:对于打开项目文件夹,有明确的受支持路径或有文档说明的限制。

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

评估

技术栈
powershell
领域
tooling
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

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