0

Many SO questions (such as Visual Studio: How to open file from Windows command line to specific line in running instance of VS? and How to open file from command line in an already opened Visual Studio?) have already been asked about this, but the solutions discussed within don't seem to work for VS 2022.

So how can we do this seemingly-trivial task in VS 2022? MTIA! :-)

P.S. I actually want to pass this command line to Git's core.editor config setting, so that when I run e.g. git rebase -i <commit hash> or git commit --amend, I am presented with a new text editor window in the already-running instance of VS from which I run said command (using the integrated terminal).

Kenny83
  • 769
  • 12
  • 38

0 Answers0