JetBrains / MPS-extensions

MPS-extensions aims to ease language development within MPS.
https://jetbrains.github.io/MPS-extensions/
Apache License 2.0
80 stars 47 forks source link

Add a language to describe CHANGELOG.md files #834

Closed alexanderpann closed 2 months ago

alexanderpann commented 2 months ago

It is based on jetbrains.mps.lang.text and not de.slisson.mps.richtext and uses com.dslfoundry.plaintextflow for generating the Markdown file. There is some additional documentation in the inspector of the Changelog concept:

Screenshot 2024-04-28 at 23 45 38

The generated file is currently copied to the root directory with the Gradle task copyReadme which should be improved. The language supports the change headers formats version + date and month + year:

First format:

Screenshot 2024-04-28 at 23 39 03 Screenshot 2024-04-28 at 23 40 53

Second format:

Screenshot 2024-04-28 at 23 39 15
alexanderpann commented 2 months ago

auto create bullet-lists when entering -

This is already supported by entering "*" instead of "-".
I've implemented the sorting order check but not the automatic replacement of the backticks. I am not sure how you correctly extend the language jetbrains.mps.lang.text. I'd love to see something like a floating palette or the context actions tool to host such formatting actions.