I need some feedback on this feature. First:
(a) Would you expect it to apply only to untitled queries? Or:
(b) Would you also expect it to apply to saved queries that were modified?
(The reason I ask is that option (a) is simple to implement, whereas option (b) creates numerous complications.)Lance May commented
VS Code's approach of keeping 'untitled's and actual files as they are on close is perfect. Seems like keeping your editor's state is handled completely separate from file saving and loading is the way to go. Also seems like this is becoming a popular trend (and rightly so).
9 votesLance May commented
I'm throwing votes to this specifically for the Github integration. I would think as an extension to the "My Queries" tree, various cloud-based integrations could exist. Github would be the only real one I'd be interested in, but I'm sure this could evolve over time. Along the same lines, having the option to share .linqs via Gist makes more sense to me than the current "Instant Share" feature.