I've been reading some plugin code. The code is not helped by having extremely long lines with no whitespace and by being unindented.
Some of the worse culprits are extremely long filter expressions which I can't even print reasonably since they have no line feeds and are very wide. It seems like a blank in filter code changes the meaning of the code so I can't add white space and new lines to make the filters more readable (is this correct?) I was also wondering if it were possible to color code and correctly indent widget code to make it more readable. Indented HTML is far easier to read than unindented. It's common practice to color code strings and variables and punctuation in programming languages to make the code easier to visually parse I would have thought that this would be possible in the TW editor - there is a wiget parse tree, so I guess this could be pretty printed and colored to show the structure and meaning of the constructs. Are there any plugins to neatly format and pretty print plugin code? Cheers /Joe -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywikidev. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/bb709e89-5894-499c-a589-cb336229868c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
