rafaelmaiolla / remote-vscode

A package that implements the Textmate's 'rmate' feature for Visual Studio Code.
MIT License
259 stars 33 forks source link

Feature request #47

Open agatho-daemon opened 6 years ago

agatho-daemon commented 6 years ago

It would be nice to change focus to the window of the file when the command is invoked on the remote host. Also bring the focus back to the terminal when the file is closed.

master1192 commented 6 years ago

+1

NorthboundTrain commented 6 years ago

I (personally) don't need the focus to return back to the terminal when the file is closed -- I'm not even sure that's possible. But the first part, raising the window that has the new file in it, would definitely be nice.

pe224 commented 6 years ago

I submitted a pull request which hacks this functionality in. Until it is (maybe) accepted you can add the 2 additional lines directly into /path-to-vscode-extensions/rafaelmaiolla.remote-vscode-1.1.0/out/src/lib/Session.js

Memphizzz commented 6 years ago

+1 This would be really usefull!

rafaelmaiolla commented 6 years ago

I will take a look in the code.

rafaelmaiolla commented 6 years ago

Tested the changes in the pull request, but it didn't work. Any help is appreciated, changes available in feature/bring-to-foreground