-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ABAP language #1259
Add ABAP language #1259
Conversation
Any updates on this pull request? Any help needed? |
It's waiting its turn. There's only so much we can do with whatever time available :-) |
Hi @isagalaev, Is there something we can do to speed up the merge of this PR? Thank you |
@cassioiks I have updated your code, see larshp@e1b8756 so the unit test does not fail, can you update your branch with the code? |
@larshp Thanks, I just updated the code. |
Any idea if this will be merged at some point? Would be great 👍 |
@jaulz I agree... it's almost 1 year and still nothing. @isagalaev Is there anything we can do? |
any update? |
Hi all. I'm also interessed for ABAP highlight Is the request approved ? Thanks, |
@isagalaev any news? anything we can do? |
Hi All, I integrated files Best Regards. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi hljs team,
I'm interessed by the Highligh of ABAP language. I would like to propose a comment as review to help for merging this PR.
I followed the build instructions : node tools/build.js -n abap
using PR file.
The build made successfully.
The tools/developer.html
works perfectly with autodetection and with specified language :
To finish, the demonstration page correctly integrate in highlight.js demo page :
I think, I can help to maintain if necessary (Missing keyword).
Best regards,
Nicolas DUPRE
We are starting to move languages outside the main repository into their own repository (but still part of the hljs org). That will avoid problems of things not getting merged in a timely manner- but it means authors will be responsible for publishing and maintaining their own languages. Would folks here be interested in taking part in that? |
yes 🙋♂️ if you create the highlightjs-abap repo, then I'm sure someone(perhaps @cassioiks) will open the PR for it 😄 guess https://github.com/highlightjs/highlightjs-cshtml-razor can be used as reference? any thoughts on having the languages in a npm scope/namespaces? eg @highlightjs/abap |
I think it's a good idea. It should be more easier to maintain and contribute for people like me. How must we do to request a new repository conventionnaly named "highlightjs-abap" to work on it ? The documentation will be update in that way I suppose ? Thank for your replies and availability. Nicolas DUPRE |
@marcoscaceres As long as it means we can finally get ABAP language in highlight.js, I'm in. Thanks a ton |
First of all, truly sorry for the long delay in response.
@cassioiks I'd be happy to create a repository for you in the Having a separate repository is the alternative to merging, not in addition to. But you can still make it super easy for users of highlight.js to use your language as a 3rd party module (or CDN package). It's easy to turn your language into a module that anyone who likes can easily integrate with Highlight.js using a single line of code: <script src="/path/to/highlight.min.js"></script>
<!-- they'd simply add your language modules -->
<script src="/path/to/highlightjs-abap.js"></script>
<script>hljs.initHighlightingOnLoad();</script> It's also possible for users to rebuild the If you'd like to become the maintainer for this language then we're happy to create a new repository in the There isn't much in the way of how to docs on this yet, but there are sample repositories and it's honestly pretty easy. We're still fleshing out an official "spec" for 3rd party modules, but even after that's done it should require minimal changes from the examples we have already. IE, if you wanted to get started now there isn't any big reason to wait. My own https://github.com/highlightjs/highlightjs-robots-txt If you have any questions feel free to ask. |
✋ I'd like to help maintaining the ABAP highlighting for highlight.js Its easiest to find if its a repo in the highlightjs organization. Any thoughts on publishing to npm, do you also have an organization there? |
No. Or, actually I'm not sure. I just published robots-txt under my own account. I'm not sure what the permissions are like for organizations on npm, do you know? Is it easy to have a bunch of different siloed permissions for people within an organization (like it is here on GitHub)? Perhaps it's finally time we took a look at GitHub packages? I wonder if they would "just work" since we already have the repository permissions and stuff setup. But I have no idea how easy it is to use npm with git package or if they are mutually exclusive things. @marcoscaceres Any thoughts on this? |
https://github.com/highlightjs/highlightjs-sap-abap Sent you both invites. Or perhaps we should start using longer names and use aliases better? So |
@larshp I almost just forked it from robots-txt but I didn't know if that would be useful or a detriment. |
thanks, I'm on it, suggest closing both pull requests in favor of highlightjs/highlightjs-sap-abap#1 npm: I'm not sure, but personally I'd prefer everything on npm instead of on npm and GitHub package repos |
After we have some code in the new repo I will close. |
@cassioiks I already added some code in https://github.com/highlightjs/highlightjs-sap-abap, and published to https://www.npmjs.com/package/highlightjs-sap-abap do you have a user on npm? then I'll add you so you can also publish |
If anyone is interested in the highlight support for ABAP on Stack Exchange sites, please vote also for https://meta.stackoverflow.com/q/402607/5846045. |
Adding initial language definition for SAP ABAP.
Markup test not supplied.