Skip to content
This repository was archived by the owner on Sep 26, 2024. It is now read-only.
This repository was archived by the owner on Sep 26, 2024. It is now read-only.

Ease handling without changig settings all the time #29

@kreuzberger

Description

@kreuzberger

Hi! I am migration to vscode and use the sphinx-needs-vscode extension the first time.

In my project we use sphinx-needs in a very modular way, due to the concept of DocsAsCode. So we have lot of "requirements.rst" projects/files, with generated "conf.py" and "needs.json" files in the build tree.

Due to the nature of the plugin, it is awfull to switch between requriement files, cause you have to provide 2 paths in the settings any time.

Could this not be made easier?

If i open a "needs.json" file (e.g. exact that or a configurable name or just the json extension), or drop the file in the explorer, the source files are referenced in this file. So there is normally no need to configure the source directory if the json file is used directly

Normaly, if the json file location and the "source" directory (does this mean where the conf.py file is placed) there is "normaly" a static relation between both in projects. So if they are in different directories, the configuration of an relative directory should be possible.

In my cases, configuration of the SrcDir as ".." does not work in my use cases (json files are in subfolder "needs").

So just the handling with the json files should be made easier without always changing settings.

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