有没有办法在差异视图中启用自动换行? [英] Is there a way to enable word wrap in diff views?

查看:80
本文介绍了有没有办法在差异视图中启用自动换行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在查看拉取请求时,差异视图不是自动换行的。对于大多数源代码来说,这可能是最合适的默认设置,但是在查看Markdown文本文件和段落时,视图会变得很困难。

When reviewing a pull request, the diff views aren't word wrapped. This is probably the most appropriate default for most source code, but the view gets difficult when reviewing Markdown text files and paragraphs scroll on and on and on to the right.

是否有切换I我失踪了?我查找了键盘快捷键并没有找到任何内容。

Is there a toggle I'm missing? I looked up keyboard shortcuts and didn't find anything.

推荐答案

嗨Duncan Davidson,

Hi Duncan Davidson,

感谢您在此发帖。

根据我机器上的测试,单词在diff窗口中也禁用了wrap。如你所说,从大多数问题来看都是合适的。现在我们无法将网页自适应应用于差异窗口。但是用户很难检查长文本,然后需要
来自行拖动滚动。有人发布了一个uservoice,您可以对其进行投票和评论:

According to the test in my machine, the word wrap is disabled in diff window too. As you said, it is appropriate from most issue. And we could not apply the web wrap to diff window now. But it is hard for the users to check long text, then need to drag the scroll by themselves. Someone has posted a uservoice, you could vote and comment on it:

https://visualstudio.uservoice.com/forums/330519-team-services/suggestions/10238325-enable-word -wrap-in-tfs-web-code-editor-and-pull-r

或者你可以创建一个关于这个问题的新用户语音。

Or you could create a new uservoice about this issue.

最好的问候

Limitxiao Gao

Limitxiao Gao


这篇关于有没有办法在差异视图中启用自动换行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆