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

Optional comment on end tags #69

Closed
arbakker opened this issue Dec 4, 2018 · 2 comments

Comments

@arbakker
Copy link

commented Dec 4, 2018

First of all, thanks for creating this cool project!

Feature request: to increase readability of mapfiles I use the convention to add comments on END tags to indicate what object the END tag is closing. Is this something that you are willing to add to mappyfile?
The END tag comment could be only applied to specific objects, or made dependent on the length of the content of the object (bigger than 20 lines), to avoid cluttering the mapfile too much.

@geographika

This comment has been minimized.

Copy link
Owner

commented Dec 5, 2018

@arbakker - sounds very feasible with some modifications to pprint.py
I'll add it to the road map.

geographika added a commit that referenced this issue Jan 19, 2019

@geographika

This comment has been minimized.

Copy link
Owner

commented Feb 27, 2019

Added to the latest release - see http://mappyfile.geographika.net/ > Settings > Add Closing Block Comments for an online example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.