On 30 Jul 2019, at 19:27, Nestor Aguilera wrote:

I don't want a configuration file in the same directory (where other text files live). Ideally I would like to have some option somewhere before saving the file.

Using EditorConfig does unfortunately require adding an `.editorconfig` file _somewhere_, but according to https://editorconfig.org/, it can be in any parent folder of the file you’re customizing.

So one option would be to create a central `.editorconfig` file in your home folder, like this:

```
[projects/text_files/my_file.txt]
trim_trailing_whitespace = true
```

You’d only have to worry about the `.editorconfig` file if you moved or renamed `my_file.txt`.

(I haven’t tested this in BBEdit, but it _should_ work according to the EditorConfig spec.)

Hope this helps!
-sam

--
This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <https://www.twitter.com/bbedit>
--- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/36D193EF-02EC-4D9E-BEA2-57B2F105B1DB%40munkynet.org.

Reply via email to