Skip to main content
added 11 characters in body
Source Link

addingAdding in an option for very light highlighting that would essentially do little more than colour brackets and isolated literals, treat '' and "" as text delimiters and nothing else would be useful for a vast number of languages currently unsupported.

Functional example code look like crap with the current highlighter as do punctuation light-light languages like SQL. Perl is just hilarious.

Actually thinking about it more you wouldn't even want the text stuff. It is too costly a hit to readability when it fails (thinking generic type parameters in f#F# for example).

Essentially nothing that requires unbounded state and never goes across a new line should function very well. Something that is unbounded but the bounds are highly common like whitespace, new lines, any non word-word character, etc. have a high probability of not messing up many languages.

adding in an option for very light highlighting that would essentially do little more than colour brackets and isolated literals, treat '' and "" as text delimiters and nothing else would be useful for a vast number of languages currently unsupported.

Functional example code look like crap with the current highlighter as do punctuation light languages like SQL. Perl is just hilarious.

Actually thinking about it more you wouldn't even want the text stuff. too costly a hit to readability when it fails (thinking generic type parameters in f# for example)

Essentially nothing that requires unbounded state and never goes across a new line should function very well. Something that is unbounded but the bounds are highly common like whitespace, new lines, any non word character etc. have a high probability of not messing up many languages

Adding in an option for very light highlighting that would essentially do little more than colour brackets and isolated literals, treat '' and "" as text delimiters and nothing else would be useful for a vast number of languages currently unsupported.

Functional example code look like crap with the current highlighter as do punctuation-light languages like SQL. Perl is just hilarious.

Actually thinking about it more you wouldn't even want the text stuff. It is too costly a hit to readability when it fails (thinking generic type parameters in F# for example).

Essentially nothing that requires unbounded state and never goes across a new line should function very well. Something that is unbounded but the bounds are highly common like whitespace, new lines, any non-word character, etc. have a high probability of not messing up many languages.

Source Link
ShuggyCoUk
  • 886
  • 5
  • 11

adding in an option for very light highlighting that would essentially do little more than colour brackets and isolated literals, treat '' and "" as text delimiters and nothing else would be useful for a vast number of languages currently unsupported.

Functional example code look like crap with the current highlighter as do punctuation light languages like SQL. Perl is just hilarious.

Actually thinking about it more you wouldn't even want the text stuff. too costly a hit to readability when it fails (thinking generic type parameters in f# for example)

Essentially nothing that requires unbounded state and never goes across a new line should function very well. Something that is unbounded but the bounds are highly common like whitespace, new lines, any non word character etc. have a high probability of not messing up many languages