You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the lineno is been excluded from the needs.json generation. This is bad, as following tools cannot fetch the location of the needs.
So we want to add them to the needs.json export.
The text was updated successfully, but these errors were encountered:
Thanks @PhilipPartsch, firstly I would suggest changing the title to something like "Allow write/read/use of source mappings to/from needs.json", as I imagine lineno will probably not be useful on its own?
Secondly, I would suggest this should be under a configuration flag, since this is possibly not the general use case for external needs, and also it is maybe somewhat in opposition to #1082 (where we are trying to reduce the size of needs.json)
PhilipPartsch
changed the title
lineno should be part of the needs.json
Allow write/read/use of source mappings to/from needs.json
Mar 26, 2024
I would made lineno and content_offset mandatory, as we need these information for a correct warning / error generation if content of needs are creating an issue by rendering.
Currently the
lineno
is been excluded from the needs.json generation. This is bad, as following tools cannot fetch the location of the needs.So we want to add them to the needs.json export.
The text was updated successfully, but these errors were encountered: