Kol*_*yon 3 navigation powershell visual-studio
我希望使用 PowerShell 作为解决方案资源管理器的替代方案。
例如,您可以通过运行以下命令在 VS Code 中打开文件(假设位于变量.exe中$PATH):
ps>code C:\repo\path\to\file.cs
Run Code Online (Sandbox Code Playgroud)
如果可以用 Visual Studio 做同样的事情那就太好了:
ps>vs C:\repo\path\to\file.cs
Run Code Online (Sandbox Code Playgroud)
对于那些问为什么的人,我坚信这是一种更快的方法。特别是因为Ctrl+,不能很好地处理类似的事情index.cshtml
您的意思是要使用 Powershell 在 Visual Studio 中打开 C:\repo\path\to\file.cs 吗?
devenv.exe C:\repo\path\to\file.cs
| 归档时间: |
|
| 查看次数: |
1946 次 |
| 最近记录: |