Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
715 views
in Technique[技术] by (71.8m points)

visual-studio-code - 如何在VS Code中增加后退/前进光标导航中的历史项目数?(How to increase number of history items in back/forward cursor navigation in VS Code?)

Situation and Question (情况与问题)

In Visual Studio Code, there seems to be a (short) limitation in the number of locations kept in the history of cursor navigation.

(在Visual Studio Code中,游标导航历史记录中保留的位置数似乎有一个(简短的)限制。)

When I use Go Back command ( Alt + Left in Windows), it only goes to about 50 previous locations.

(当我使用“返回”命令(在Windows中为Alt + Left )时,它只会转到大约50个以前的位置。)

Is there a setting to increase this value?

(是否有设置可以增加该值?)

Or is there an alternative extension for the same functionality without this limitation?

(还是有不受此限制的相同功能的替代扩展?)

I couldn't find anything.

(我什么都找不到。)

More Info (更多信息)

Although this limitation seems enough, the Vim extension (vscodevim) makes this a problem for me.

(尽管这个限制似乎足够了,但是Vim扩展(vscodevim)对我来说还是一个问题。)

When this extension is active, every line movement is recorded in history, and I reach the limit very soon.

(启用此扩展程序后, 每条线的移动都会记录在历史记录中,我很快就会达到极限。)

I know that the point of using Vim is to not use cursor keys for navigation.

(我知道使用Vim的目的是不要使用光标键进行导航。)

I won't.

(我不会)

But when I am in a huge codebase, I move back and forth between lines quite a lot.

(但是,当我处于庞大的代码库中时,我会在许多行之间来回移动。)

The solution may be just filing a bug in vscodevim repo.

(解决方案可能只是在vscodevim存储库中提交错误。)

  ask by Mohammad Dehghan translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...