Is there a way of opening a file from the integrated terminal into a specific editor in VS Code?

Viewed 28

Following this similar question, it's possible to open a specific file from the integrated terminal via:

code -r <filename>

However, what if, in order to be more organized, I wished to open certain files in certain editors? This would be very useful for quickly creating certain types of boilerplate setups...

I'm guessing it could be something like this?

code -r --editor 1 <filename>
0 Answers
Related