Your syntax-highlighting preferences...

User 3 Photo


Administrator
1,371 posts

Hey hand coders: Would you like separate syntax-highlighting color schemes per HTML doctype, or one color scheme for all HTML documents?

What about CSS? Separate color schemes for CSS and CSS3, or just one for both?
User 117361 Photo


Ambassador
6,076 posts

1.Separate
2.Separate

Thanks for asking
:)
User 3 Photo


Administrator
1,371 posts

Janys Hyde wrote:
1.Separate
2.Separate

Okay, why? How does that help?
User 117361 Photo


Ambassador
6,076 posts

Well as far as the css is concerned, that is something which would act as a learning tool for myself.
The HTML separation would assist me when I use the Editor as a teaching tool for others. I fully appreciate that my reasons are based on my own needs which do not necessarily represent those of the majority.
User 3 Photo


Administrator
1,371 posts

Janys Hyde wrote:
The HTML separation would assist me when I use the Editor as a teaching tool for others.

Interesting. How would separate color-schemes help you teach?
User 117361 Photo


Ambassador
6,076 posts

It helps the "student" to recognize what can or cannot be changed when he is left to his own devices as a total non-coder...I just tell him to deal with a certain coloured code. This happens when I hand site maintenance over to total newbies and non-coders who never intend to become coders but just need to know what and how to change page content without scaring themselves to death. In all fairness, if I understand correctly, the number of doctypes is due to be narrowed down with the advent of HTML5...correct? In that case, naturally there would be less need for that many colour schemes. But your question seems to apply to here and now...

The fact that you "offer" separation would seem to indicate that you have given it consideration...
Why?
User 3 Photo


Administrator
1,371 posts

Janys Hyde wrote:
It helps the "student" to recognize what can or cannot be changed when he is left to his own devices as a total non-coder...I just tell him to deal with a certain coloured code. This happens when I hand site maintenance over to total newbies and non-coders who never intend to become coders but just need to know what and how to change page content without scaring themselves to death.

That sounds like a pretty specific application of syntax-highlighting, and I'm not entirely sure it's the best way to go about indicating what should/should not be changed.

If this is how you prefer to do things that's fine, but it seems you creating a custom color-scheme for that purpose would be the best solution.
User 1948478 Photo


Senior Advisor
1,850 posts

I would much prefer to keep the same syntax-highlighting scheme for all HTML doctypes and also the same for CSS and CSS3.
My reason is mainly to reduce unnecessary complexity and confusion.
(Sorry Janys! ;) )
User 117361 Photo


Ambassador
6,076 posts

You are probably right about that! The combination of my brain and ancient students is not always a good one!
User 122279 Photo


Senior Advisor
14,649 posts
Online Now

It's the same to me. But I see Janys's point and if votes are to be cast, I'd go for her suggestion.

Much more important for me is when you click on a tag, say a <div>, that the programme highlights the corresponding closing div.
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com



Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.