VS2010: Ctrl-PgUp / -PgDown like in browsers

北战南征 提交于 2019-12-08 08:01:51

问题


I'm trying to get the same navigation like in browsers in VS2010, so with Ctrl + PgUp I go to the previous window and with Ctrl + PgDown I go the next window in the tab bar. For this I changed the Shortcuts using Environment / Keyboard in Tools / Options. I changed the commands of Window.NextDocumentWindow and Window.PreviousDocumentWindow.

I can navigate using these keys now, but it doesnt't go the next/previous document in the tab list but to the document opened after/before the current one.

Window.NextDocumentWindowNav and PreviousDocumentWindowNav doesn't help, the list is always sorted by last focussed.

More explanation: I open the docs doc1, doc2, doc3, doc4, doc5. Now I the tablist I move doc5 between doc1 and doc2 and focus on doc1. When using Ctrl + PgDown now, doc2 is displayed, because it was opened right after doc1 but i want to go to doc5 which is right after doc1 in the tablist.

Anyone an Idea?


回答1:


See this question. Install the Productivity Power Tools Extension and map the commands Window.NextDocumentWellTab and Window.PreviousDocumentWellTab (in German VS: Fenster.NächsteRegisterkarte and Fenster.VorherigeRegisterkarte) to your Keys.



来源:https://stackoverflow.com/questions/9031233/vs2010-ctrl-pgup-pgdown-like-in-browsers

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!