Open jrbostic opened 6 years ago
I spent some time messing with a Fountain language server as part of hooking into atom-ide-ui. I think that might be worthwhile, but a separate project.
Oh, okay, so... You think a different package altogether?
If we were to make a Fountain language server, yeah, another repository. For a linter, I think it's fine incorporating it into this module. I'm not familiar enough with Linting in Atom to suggest a good path yet. Open to ideas.
After experimenting and getting the basics working, I went ahead and just created a separate linter repo. This will allow it to be an optional (and most other languages have standalone linters for atom).
I haven't done any refactoring, testing, or docs yet. So, it still looks pretty hacky.
https://github.com/jrbostic/linter-fountain
It basically only catches the single linting case that we came up with... lol! But I hope we can find ways to lint for "info" messages (useful suggestions) and some other "warning" conditions... with tips & tricks.
I also deployed it as a package (as I was eager to see that process in action). If it becomes mature enough that you want the linter included in fountain-atom, you can just add it as a package dep.
Anyway, I'm looking out for new linting ideas. If anybody has anything, I'd be interested to hear. Otherwise, my next work on that will just be restructuring to make the pieces modular.... testing... and docs.
This is so cool. I love the idea of a linter for screenplays!
It may be desirable to write an integrated fountain Linting module.