danhper / atomic-chrome

Edit Chrome textareas in Atom
https://goo.gl/Et0hwg
MIT License
916 stars 30 forks source link

Do you think once the chrome tab is closed, tab in atom should be closed? #6

Open gansai opened 8 years ago

gansai commented 8 years ago

Suppose we are composing a mail or drafting text in stackoverflow and we have opened the corresponding tab in atom editor. During editing session, Atom syncs with the chrome browser. After we are done with that chrome tab, suppose we close the tab, currently, corresponding atom tab is left open. Do you think it should get automatically closed? Just want to hear your views on this scenario.

danhper commented 8 years ago

Hi,

I thought a little about this, and it is easy enough to close the tab automatically, but I prefer not to do anything automatically to avoid any inconvenience if the tab was closed by mistake (which sometimes happens, at least to me). Maybe we could make this configurable, as I agree that closing the Atom tab when the Chrome one is closed is probably the most common use case.

What do you think?

gansai commented 8 years ago

As you said, we could make it configurable and by default - let it remain open. So if the user wants to close it automatically, the user can configure it.