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

Snippet and auto id generation do not work as before #33

Closed
marcel-22 opened this issue Sep 21, 2023 · 2 comments · Fixed by #40
Closed

Snippet and auto id generation do not work as before #33

marcel-22 opened this issue Sep 21, 2023 · 2 comments · Fixed by #40

Comments

@marcel-22
Copy link

The snippet and auto id generation don't work as before. I am on a Windows machine and using the relative paths workaround from #26

Snippet

When I use the snippet functionality I get the following result:

.. req:: Dummy Title
   :id: NeedID
   :status: open

   Content.

With the old Sphinx-Needs package 1.2.2 in combination with the Esbonio language server, the snippet would be filled with an auto generated id. In the snippet above no id is generated.

Auto id generation

When I use the auto id generation using the editor I get the following result:
:id: 3f3b1468

The generated id is missing the prefix that we have configured. With the Sphinx-Needs package 1.2.2 the result would have been :id: REQ_3f3b1468 which is according to our sphinx-needs configuration in conf.py.

@NigNagNug
Copy link

+1, need a fix too.

@marcel-22
Copy link
Author

Thanks for the new release version 0.3.1! I retested the issue and works correctly now! 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants