Summary: | Outdated D syntax highlight xml file | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Pedro Ferreira <arkangath> |
Component: | syntax | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED WORKSFORME | ||
Severity: | wishlist | CC: | christoph, kde2 |
Priority: | NOR | Keywords: | investigated, triaged |
Version: | 3.0.2 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
XML file with new additions
Highlight test file new syntax file |
as none of the kate developers use the D programmjng language; could you have a look at the existing syntax file for D, update it and do some basic testing? the syntax files are explained at http://kate-editor.org/2005/03/24/writing-a-syntax-highlighting-file/ there is a test file for the D syntax here: http://gitorious.org/kate/kate/blobs/master/part/tests/hl/highlight.d if you could add the new syntax there, too, that would be great. Created attachment 51607 [details]
Highlight test file
Created attachment 51608 [details]
new syntax file
(In reply to comment #1) > as none of the kate developers use the D programmjng language; could you have a > look at the existing syntax file for D, update it and do some basic testing? > > the syntax files are explained at > > http://kate-editor.org/2005/03/24/writing-a-syntax-highlighting-file/ > > there is a test file for the D syntax here: > http://gitorious.org/kate/kate/blobs/master/part/tests/hl/highlight.d > > if you could add the new syntax there, too, that would be great. Here is the updated highlight test file for D2. I've also updated the syntax file and is attached. Kate is my primary editor, so if the syntax changes again, I'll be happy to update the files. I was meaning to respond to this: https://bugs.kde.org/show_bug.cgi?id=147413#c42 but since I haven't (unfortunately) used D for quite a while, then it's great if you can take over. Yes, sure. The language isn't expected to change that much in the near future anyways. (In reply to comment #5) > I was meaning to respond to this: > https://bugs.kde.org/show_bug.cgi?id=147413#c42 > but since I haven't (unfortunately) used D for quite a while, then it's great > if you can take over. It seems for me already a more up to date hl is in kate.git, says 1.62. Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone! |
Created attachment 51464 [details] XML file with new additions Version: 3.0.2 (using KDE 4.4.2) OS: Linux The syntax file for D is a bit outdated. 2 keywords have been added (shared and __gshared) and the semantics of synchronized have also been updated to be an attribute, rather than a statement. Reproducible: Always Steps to Reproduce: This isn't reproducable because it isn't really a bug. Actual Results: New keywords aren't highlighted My kate version is 3.4.2, which isnt available for selection on the box above.