Skip to content

More data in created Need objects #20

@danwos

Description

@danwos

The created Need object does not get any data from the source code parsing itself.
But the output examples in Analyse show that a lot of interesting data is collected.

{
        "filepath": "tests/data/need_id_refs/dummy_1.cpp",
        "remote_url": "https://github.com/useblocks/sphinx-codelinks/blob/fa5a9129d60203355ae9fe4a725246a88522c60c/tests/data/need_id_refs/dummy_1.cpp#L3",
        "source_map": {
        "start": { "row": 2, "column": 13 },
        "end": { "row": 2, "column": 51 }
        },
        "tagged_scope": "void dummy_func1(){\n     //...\n }",
        "need_ids": ["need_001", "need_002", "need_003", "need_004"],
        "marker": "@need-ids:",
        "type": "need-id-refs"
    },

Would be great to get the following into the need objects:

  • Folder
  • File
  • file extension /language
  • complete file path
  • tagged_scope as content (configurable)
  • detected need-ids (not as links, just as info)

Does the json-output contain the data given by the user?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions