[英]Is there a better way to create a new Python project from existing code in Visual Studio
I find it very cumbersome to create a new Python (I am using the PTVS extension) project in Visual Studio from existing code. 我发现在Visual Studio中根据现有代码创建一个新的Python(我正在使用PTVS扩展名)项目非常麻烦。 What I am wanting to know is if there is a way to do this more efficiently.
我想知道的是,是否有一种方法可以更有效地做到这一点。
Ideally, something that would live in the context menu in Windows Explorer, something like "New VS Project", that would open VS, create the project and import the source .py file. 理想情况下,将存在于Windows资源管理器的上下文菜单中的东西(如“ New VS Project”)将打开VS,创建项目并导入源.py文件。 Is something like that possible?
这样有可能吗?
Thanks. 谢谢。
I'm not aware of something like this. 我不知道这样的事情。 Personally I use the Import from existing Code dialog in Visual Studio.
我个人使用Visual Studio中的“ 从现有代码导入”对话框。 You could add this to the issues list on CodePlex .
您可以将其添加到CodePlex的问题列表中 。 Maybe it will be added in a future version.
也许它将在将来的版本中添加。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.