piersdeseilligny / betterfountain

A screenwriting app integrated into visual studio code
https://marketplace.visualstudio.com/items?itemName=piersdeseilligny.betterfountain
MIT License
360 stars 54 forks source link

Allow .txt file extension #145

Closed stephenberry closed 3 years ago

stephenberry commented 3 years ago

Thanks so much for your work on this fantastic extension.

Is there a way for the user to allow Better Fountain to work on .txt files? I'd like to be able to open my files with a basic text editor in contexts where Visual Code isn't available.

Thanks!

thegreentimtam commented 3 years ago

Sorry to jump in, but what text editor can't work with fountain files? Most basic text editors I've used (including Notepad, TextEdit, even Nano) can open any file you want.

piersdeseilligny commented 3 years ago

hi @stephenberry - what exactly do you mean? Do you mean opening fountain files with BetterFountain but without vscode?

stephenberry commented 3 years ago

@piersdeseilligny I just mean that if I open a file with a .txt extension in VSCode BetterFountain won't recognize or parse it, and I'd like the option to tell BetterFountain to work with this extension.

@thegreentimtam All the desktop text editors I've used handle .fountain just fine. But, I found multiple IOS text editors won't open a .fountain file. For example, Pages can open a .txt file on IOS but not a .fountain.

piersdeseilligny commented 3 years ago

Ahh right, so it turns out this is already possible :) You just need to tell vscode that the content of the document is fountain:

image image

This should work, but let me know if you run into any issues

stephenberry commented 3 years ago

Fantastic, that works great! Thanks