✨ feat(vscode): 代码阅读「未提交的更改」点文件行改成打开标准预览(和主栏一样不标差异),文件行上加「打开更改」按钮才打开对比上一次提交的预览,语言没有代码阅读的走 VS Code 自带的差异视图,删掉的文件行不挂这个按钮
This commit is contained in:
1 parent
4b6e110a44
commit
c2a13e5691
18 files changed
+211
-79
No files matched your search
@@ -72,7 +72,7 @@ export class FavoriteViews {
|
||||
/**
|
||||
* @param state workspaceState
|
||||
* @param pool 和「了解一块代码」共用的栏位
|
||||
* @param openCommand 点文件时执行的命令,参数是文件 Uri 和 `other`(不是从「未提交的更改」点开的)
|
||||
* @param openCommand 点文件时执行的命令,参数是文件 Uri 和 `other`:打开的预览不标差异
|
||||
* @param decorator 给行添信息(文件注释),和别的栏共用
|
||||
*/
|
||||
constructor(private readonly state: Memento, private readonly pool: SlotPool, private readonly openCommand: string, private readonly decorator: FileTreeDecorator) {
|
||||
|
||||
Reference in new issue
Block a user