z/OS CLIST file syntax highlighting
ClosedPublic

Authored by phily on Oct 24 2018, 8:27 PM.

Details

Summary

There was no support for CLIST syntax highlighting so I decided to create this file to add support.

Diff Detail

Repository
R216 Syntax Highlighting
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
phily created this revision.Oct 24 2018, 8:27 PM
Restricted Application added projects: Kate, Frameworks. · View Herald TranscriptOct 24 2018, 8:27 PM
Restricted Application added subscribers: kde-frameworks-devel, kwrite-devel. · View Herald Transcript
phily requested review of this revision.Oct 24 2018, 8:27 PM
dhaumann requested changes to this revision.Oct 26 2018, 5:49 AM
dhaumann added a subscriber: dhaumann.

Could you explain what CLIST is used for? Please add a small test file that is also MIT licensed.

data/syntax/clist.xml
4

license="MIT" is missing.

4

kateversion="5.0", or are you indeed using an old Kate before Plasma5?

62

Maybe rename Commentar 1 to simply Comment? It seems you copy & pasted the file :)

63

Please use IncludeRules with ##Alerts, look into other highlighting files how this is done.

70

Please remove the hard coded color. Hard coded colors are an issue with different color schemes. See https://kate-editor.org/2014/03/07/kate-part-kf5-new-default-styles-for-better-color-schemes/ for more default styles.

This revision now requires changes to proceed.Oct 26 2018, 5:49 AM
phily updated this revision to Diff 44278.Oct 27 2018, 5:18 AM
phily marked 5 inline comments as done.

Fixing issues noted by reviewer

phily added a comment.Oct 27 2018, 5:30 AM

Example CLIST can be viewed here: https://gist.githubusercontent.com/mainframed/9e9c85b7a13186e7ca51b5b47d90b575/raw/1e19fede7d203585b213d2f20700ed08baac9e07/protall.clist

Looking at the code repo I wasn't sure exactly where to include the code examples.

cullmann accepted this revision.Oct 27 2018, 2:44 PM
cullmann added a subscriber: cullmann.

I can add the test for you, otherwise this look ok to go in.

Thanks for the contribution.

The Alert include is missing, but I am not sure if it is really needed ;=)

To properly push it with you as author, what is your full name + mail address?

phily added a comment.Oct 29 2018, 5:10 PM

To properly push it with you as author, what is your full name + mail address?

Phil Young
mainframed767@gmail.com

(I'm assuming you meant email address)

Thanks for the needed info, will merge this.

This revision was not accepted when it landed; it landed in state Needs Review.Nov 1 2018, 4:06 PM
Closed by commit R216:185b54827ab0: z/OS CLIST file syntax highlighting (authored by phily, committed by cullmann). · Explain Why
This revision was automatically updated to reflect the committed changes.