Skip to content
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

Generate new changelog item #16

Closed
mcepl opened this issue Mar 22, 2017 · 2 comments
Closed

Generate new changelog item #16

mcepl opened this issue Mar 22, 2017 · 2 comments

Comments

@mcepl
Copy link

mcepl commented Mar 22, 2017

See https://matej.ceplovi.cz/blog/gedit-snippet-generating-rpm-spec-changelog-line.html for the code.

Would it be possible to add this functionality to your plugin, please?

@waveclaw waveclaw reopened this Mar 28, 2017
@waveclaw
Copy link
Owner

I can try this but getting some of the information requires arbitrary parsing of the document. This is not trivial.

Just checkout the difficulty required for getting the date:

atom/snippets#33

This is a low-value item for uses of Open Build Services since these users often prefer to use dedicated Changelog files instead.

@waveclaw
Copy link
Owner

This requires access to document data and environment information. That means writing an entire javascript dynamic snippet system, beyond the scope of my intent for this simple language highlighter.

See
atom/snippets#173
atom/snippets#181

Patches are more than welcome, but this is a very large new addition at this point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants