Change the format of generated CSS

2017-08-21 Thread Christopher Finazzo
Is it possible to change the format of CSS which is generated through the 
Markup -> Edit Markup menu item?

For example, when writing styles, I prefer to use an indentation variant 
similar to Stroustrup's C++ 
. 
Accordingly, classes and ID's would be written as follows:

.main {
  line-height: 1.6;
  font-size: 16px;
  color: #444;
}

Can the Markup command be instructed to output in this style? If not, I 
presume this would be possible through the Completion preference pane in 
BBEdit 12. The existing Editing preferences do not seem to allow for this 
kind of flexibility.

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
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.


Re: Change the format of generated CSS

2017-08-21 Thread jgill
I use another program which is complementary to BBEdit called CSSEdit. It 
can be configured to style the layout as you wish but only in external 
style sheets. BBEdit and CSSEdit work well together giving the best of both 
worlds.

On Monday, August 21, 2017 at 10:18:29 PM UTC+1, Christopher Finazzo wrote:
>
> Is it possible to change the format of CSS which is generated through the 
> Markup -> Edit Markup menu item?
>
> For example, when writing styles, I prefer to use an indentation variant 
> similar to Stroustrup's C++ 
> . 
> Accordingly, classes and ID's would be written as follows:
>
> .main {
>   line-height: 1.6;
>   font-size: 16px;
>   color: #444;
> }
>
> Can the Markup command be instructed to output in this style? If not, I 
> presume this would be possible through the Completion preference pane in 
> BBEdit 12. The existing Editing preferences do not seem to allow for this 
> kind of flexibility.
>
>

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
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.


Re: Change the format of generated CSS

2017-08-21 Thread 'Holger Bartel' via BBEdit Talk
Hi,

You can set indentation per language in the preferences under "Languages -> 
Language-specific settings", maybe that works.

Otherwise have a look at http://editorconfig.org/ which BBEdit supports. This 
allows you to set indentation styles on a per-language basis and/or per project 
and should do what you're looking for. 

Best,
Holger

> On 22 Aug 2017, at 6:40 AM, jgill  wrote:
> 
> I use another program which is complementary to BBEdit called CSSEdit. It can 
> be configured to style the layout as you wish but only in external style 
> sheets. BBEdit and CSSEdit work well together giving the best of both worlds.
> 
>> On Monday, August 21, 2017 at 10:18:29 PM UTC+1, Christopher Finazzo wrote:
>> Is it possible to change the format of CSS which is generated through the 
>> Markup -> Edit Markup menu item?
>> 
>> For example, when writing styles, I prefer to use an indentation variant 
>> similar to Stroustrup's C++. Accordingly, classes and ID's would be written 
>> as follows:
>> 
>> .main {
>>   line-height: 1.6;
>>   font-size: 16px;
>>   color: #444;
>> }
>> 
>> Can the Markup command be instructed to output in this style? If not, I 
>> presume this would be possible through the Completion preference pane in 
>> BBEdit 12. The existing Editing preferences do not seem to allow for this 
>> kind of flexibility.
>> 
> 
> -- 
> This is the BBEdit Talk public discussion group. If you have a 
> feature request or would like to report a problem, please email
> "supp...@barebones.com" rather than posting to the group.
> Follow @bbedit on Twitter: 
> --- 
> 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.

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
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.


Re: Change the format of generated CSS

2017-08-25 Thread Tom

>
> Otherwise have a look at http://editorconfig.org/ which BBEdit supports.


Thanks for the hint. Didn't know about EditorConfig, looks interesting.

– Tom



On Tuesday, August 22, 2017 at 3:15:04 AM UTC+2, Hoger November wrote:
>
> Hi,
>
> You can set indentation per language in the preferences under "Languages 
> -> Language-specific settings", maybe that works.
>
> Otherwise have a look at http://editorconfig.org/ which BBEdit supports. 
> This allows you to set indentation styles on a per-language basis and/or 
> per project and should do what you're looking for. 
>
> Best,
> Holger
>
> On 22 Aug 2017, at 6:40 AM, jgill > 
> wrote:
>
> I use another program which is complementary to BBEdit called CSSEdit. It 
> can be configured to style the layout as you wish but only in external 
> style sheets. BBEdit and CSSEdit work well together giving the best of both 
> worlds.
>
> On Monday, August 21, 2017 at 10:18:29 PM UTC+1, Christopher Finazzo wrote:
>>
>> Is it possible to change the format of CSS which is generated through the 
>> Markup -> Edit Markup menu item?
>>
>> For example, when writing styles, I prefer to use an indentation variant 
>> similar to Stroustrup's C++ 
>> . 
>> Accordingly, classes and ID's would be written as follows:
>>
>> .main {
>>   line-height: 1.6;
>>   font-size: 16px;
>>   color: #444;
>> }
>>
>> Can the Markup command be instructed to output in this style? If not, I 
>> presume this would be possible through the Completion preference pane in 
>> BBEdit 12. The existing Editing preferences do not seem to allow for this 
>> kind of flexibility.
>>
>> -- 
> This is the BBEdit Talk public discussion group. If you have a 
> feature request or would like to report a problem, please email
> "sup...@barebones.com " rather than posting to the group.
> Follow @bbedit on Twitter: 
> --- 
> 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+un...@googlegroups.com .
> To post to this group, send email to bbe...@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/bbedit.
>
>

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
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.