双击文件以打开新标签页? [英] Double-click file to open new tab?

查看:94
本文介绍了双击文件以打开新标签页?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在使用VisualStudio 2008 Shell在Unreal Tournament 3中编写脚本(我不确定完全确定哪个版本,或者只有一个版本,但是可以在此处找到下载链接:http://pixelminegames .com/unrealeditor.aspx)

现在,如果我双击一个特定的脚本文件,它将在VisualStudio中打开该文件-相当公平,这正是我所需要的.
但是,当我需要打开第二个/第三个/第四个时,就会出现问题 脚本文件(几乎总是必须这样做)-如果我双击一个新文件 脚本文件,它会打开一个新窗口,而不是一个新选项卡(我可以去 通过文件->打开文件,但这很麻烦,我会 而不是只是同时打开所有相关的脚本文件).

有什么方法可以获取我双击的文件(与使用File-> Open相对)以在新的标签页中打开当前窗口?我尝试将它们添加到项目文件中,但是似乎不想接受这些文件(如果我尝试打开项目,则绝对不会发生任何事情,即使我确实将文件添加到项目中也没有文件打开)

另一个论坛上的用户建议我这样做:
工具>选项>环境>一般>窗口布局选项卡式文档

但这仅在我通过File->打开文件时才起作用.打开...

I'm currently using VisualStudio 2008 Shell for scripting in Unreal Tournament 3 (I'm not fully sure exactly what version, or if there is only one version, but the download link can be found here: http://pixelminegames.com/unrealeditor.aspx )

Now, if I double-click a particular script file, it opens the file in VisualStudio - fair enough, that's exactly what I need.

But, the problem arises when I need to open a second/third/fourth script file (which I nearly always have to) - if I double-click a new script file, it opens a new window, rather than a new tab (I could go through File -> Open File and that, but it's alot of bother and I'd rather just open all related script files at the same time)

Is there any way to get files which I double-click on (as opposed to using File -> Open) to open in a new tab of the current window? I tried adding them to a project file, but it doesn't seem to want to accept the files (if I try to open the project, absolutely nothing happens, no files open even though I did add the files to the project)

A user on another forum suggested that I do this:
Tools > Options > Environment > General > Window Layout > Tabbed documents

but that only seems to work when I open files through File -> Open...

推荐答案

Thank you for your post!  I would suggest posting your question in one of the 

MSDN > 论坛首页> Visual Studio
MSDN > Forums Home > Visual Studio


这篇关于双击文件以打开新标签页?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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