slatex / sTeX-IDE

GNU General Public License v3.0
0 stars 0 forks source link

generate assign stubs for realization and interpretation #16

Open kohlhase opened 2 years ago

kohlhase commented 2 years ago

It would be very helpful, if upon seeing a realization like

\begin{realization}{foo}

the IDE could collect all the symbols of the target (say bar and baz) and generate the

\assign{bar}{???}
\assign{baz}{???}

Even better: it should check which of the assigns are missing and generate stubs only for the missing ones. There might be better alternatives for the ???, but the functionality would be helpful.

Oh, and of course the analog for {interpretation} as well.

Come to think of it, there are more opportunities for such things as well, e.g.

 \begin{copymodule}{mod?Group/abeliangroup-structure}{addition}

we we can generate something like

    \renamedecl[name=universe]{universe}{universe}