fregante / GhostText

👻 Use your text editor to write in your browser. Everything you type in the editor will be instantly updated in the browser (and vice versa).
https://GhostText.fregante.com
MIT License
3.25k stars 116 forks source link

Sublime: Edit text box from existing file instead of creating new tab #234

Closed ajfriend closed 1 year ago

ajfriend commented 1 year ago

Setup

Browser: Chrome Editor: Sublime

Description

Thanks for building this. I just discovered it, and it is incredibly useful!

One thing that would help would be the ability to fill in a text box on a web page starting from an existing file I have saved and open in sublime. Would that be possible, or is it already possible?

The use case is that I use this to edit SQL queries that get executed via the web page. I'm often working on them over multiple days, so it would be nice to kick off from where I left off with the saved file.

fregante commented 1 year ago

Happy that GhostText is helping you!

Unfortunately I can't think of how to fit this into GhostText’s logic. To the editor, every new connection is just a random new field on a site. Associating "every field on example.com" to a specific file doesn't seem very useful in general and it would require options, etc.

GhostText is pretty much "finished" as a project and I only intend to improve UX and keep compatibility with new editors. New features will be rare