superlou / fountain-atom

Grammar and tools for the Fountain screenwriting syntax
MIT License
48 stars 15 forks source link

Evaluate appropriateness of Atom-IDE #26

Open superlou opened 7 years ago

superlou commented 7 years ago

There are a decent number of features that might overlap Atom-IDE like a filterable outline, context based autocomplete, and syntax errors. Is it crazy to think about making a Fountain language server and letting Atom-IDE handle the GUI aspects?

morekitsch commented 7 years ago

As in embed a small server into the ATOM/electron runtime? Sure if it would help. I'm not quire sure I understand the reasons for needing a server. We are in a sense storing the script in memory as it is. or you thinking an online server? I'd want local caching if that's the case, would rather not be tied to the net.

superlou commented 7 years ago

My (weak) understanding is that it would be a small server initiated by Atom. I think it's a way to standardize how every language package has similar presentation (outline, smart renaming, autocomplete), but different logic for the operations. So, Atom just asks the Fountain language server to generate an outline, and then the language server responds with the info Atom-IDE needs to show it in the standard format. I think this is a lmuch ower priority than the draggable outline and PDF stuff.

jrbostic commented 6 years ago

It does sounds like a cool idea... better integrated. And I'm not too familiar with the language server thing... but being able to drop more of the responsibility on Atom would definitely be better. This wouldn't mean delegating all of the rendering to Atom, right? That seems like it might be a challenge... but delegating more to Atom where it excels might save you long-term.