thomaswilburn / gh2caret

To Caret, From Github: a demo plugin that sends source code from GitHub to Chrome OS's best text editor
12 stars 2 forks source link

Open caret on click. #1

Open TheThirdOne opened 10 years ago

TheThirdOne commented 10 years ago

I was testing this out and I accidentally opened 100 tabs or so because I didn't realize I was opening them.

I think it would be a good idea to open caret when a new file is added. Though I don't know how this would be added.

I had a few ideas:

I don't know whether either of those are possible using chrome api's.

TheThirdOne commented 10 years ago

I have looked through the api's and the second option is definitely a possibility, though it would be a messy solution.

thomaswilburn commented 10 years ago

Yeah, I need teach the background page to listen for and queue up incoming messages, then add a message for the attention flash. It'll end up working similar to the way we handle opening items from the Files app.