CodeEditApp / CodeEditApp/CodeEdit

✨ Open file in a new tab by default

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

描述

### Description

Codeedit 0.3.6:

When opening an existing file, it is too easy to just click on the filename in the file tree displayed on the left. While this opens the file, it replaces the file which is currently open in the tab. In most cases, we want the file to be open along with the currently open ones. This can be done by doing a context click on the file name and then choose "Open In Tab".

I suggest that this "Open In Tab" becomes the default action, and having instead a context menu entry saying "Open In Current Buffer" if we want to replace the currently opened file by a new one.

### Alternatives Considered

An alternative would be to provide a setting for the editor, where we can choose between "always open in new tab" and "always open in current buffer".

### Additional Context

_No response_

### Screenshots

_No response_

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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