Great hint, Ollie.

This seems to be the ticket.

I’ll dive into EditorConfig.

I should have done this years ago, but . . .

Thanks for the motivation. 

Alfredo

> On Oct 22, 2018, at 4:33 AM, Oliver Boermans <boerm...@gmail.com> wrote:
> 
> BBEdit has support for https://editorconfig.org/ <https://editorconfig.org/> 
> which allows this and other settings to be customised per directory or based 
> on file name.
> Has been a while since I read the appropriate portion of the BBEdit User 
> Manual (Find it in the help menu, recommended!), but it may be necessary to 
> be working in BBEdit project for this to work.
> 
> Hope this gets you on the path.
> Cheers Ollie
> 
> On Sun, 21 Oct 2018 at 13:42, F. Alfredo Rego <f.alfredor...@gmail.com 
> <mailto:f.alfredor...@gmail.com>> wrote:
> Hello everyone,
> 
> BBEdit Preferences for Text Files lets us set a default choice for “Strip 
> trailing whitespace” as a GLOBAL setting.
> 
> I have this checked (to YES), because I like this choice for my source files.
> 
> However, for clippings (and other “stencils”), it’s convenient to have a 
> trailing blank for some lines.
> 
> So far, the only way I have found to control this is to uncheck the global 
> preference, then save the file, and then recheck the global preference. Of 
> course, it's boringly predictable that every now and then I’ll forget. So, I 
> would prefer to delegate the memory of this setting to the file’s own 
> metadata, under BBEdit’s capable management: Do it once and then forget about 
> it.
> 
> Any tricks to set ANY value of “Strip trailing whitespace” for an INDIVIDUAL 
> file, regardless of the GLOBAL setting?
> 
> 
> Thanks.
> 
> Alfredo
> 
> -- 
> This is the BBEdit Talk public discussion group. If you have a 
> feature request or need technical support, please email
> "supp...@barebones.com <mailto:supp...@barebones.com>" rather than posting to 
> the group.
> Follow @bbedit on Twitter: <https://www.twitter.com/bbedit 
> <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 bbedit+unsubscr...@googlegroups.com 
> <mailto:bbedit%2bunsubscr...@googlegroups.com>.
> To post to this group, send email to bbedit@googlegroups.com 
> <mailto:bbedit@googlegroups.com>.
> Visit this group at https://groups.google.com/group/bbedit 
> <https://groups.google.com/group/bbedit>.
> 
> -- 
> This is the BBEdit Talk public discussion group. If you have a 
> feature request or need technical support, please email
> "supp...@barebones.com" rather than posting to the group.
> Follow @bbedit on Twitter: <https://www.twitter.com/bbedit 
> <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 bbedit+unsubscr...@googlegroups.com 
> <mailto:bbedit+unsubscr...@googlegroups.com>.
> To post to this group, send email to bbedit@googlegroups.com 
> <mailto:bbedit@googlegroups.com>.
> Visit this group at https://groups.google.com/group/bbedit 
> <https://groups.google.com/group/bbedit>.

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"supp...@barebones.com" 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 bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.

Reply via email to