CodeEditApp / CodeEditApp/CodeEdit

✨ Copy Link to Code

未关闭
#1,962 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
enhancement inspector source control
主要语言
Swift
星标
23k
派生
1.2k
PR 合并指标
30 天内没有已合并 PR

描述

### Description

It would be awesome if CodeEdit could copy links to code when the workspace has a remote on GitHub.

I'd imagine it's on a key command like Command-shift-c as well as a button in the file inspector. It would only be abled when source control is on a branch that is tracked by a remote on GitHub. Then we can craft a link to the correct branch/file/lines using GitHub's permalink format.

贡献指南

打开贡献指南

调研方向

首先跟踪 issue 中提到的文件检查器、键命令处理和源代码控制分支状态。检查 GitHub 远程仓库和选定文件行的公开方式,然后验证命令和检查器按钮仅对 GitHub 跟踪的分支启用,并生成正确的 GitHub permalink。

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

评估

技术栈
git, github, swift
领域
desktop, developer-experience
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

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