Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>TheoWorks IDENew to Visual Studio Code? Get it now.
TheoWorks IDE

TheoWorks IDE

Monaco Labs GmbH

|
431 installs
| (2) | Free
Validated, autocompleting sphinx-needs need references in VS Code — offline-first, on-prem-clean.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

TheoWorks for VS Code

Published by Monaco Labs GmbH (theoworks.io).

Validated, autocompleting sphinx-needs need references in VS Code.

TheoWorks reads your project's resolved needs.json (and, optionally, a theoworks-schema.json resolved-metamodel dump) and turns that into in-editor help while you write .rst:

  • Completion for need-reference roles/fields as you type, with inline value choices for fields that have a fixed set of allowed values (like :status:), shown in their natural order with the current value marked.
  • Rich hover preview of a need's title, type, status, key fields, and its links to other needs, shown in a preview card. Works while you write .rst and inside codelinks in your source files (.c, .h, and the like).
  • Directive and need-type picker when you start a directive: your own configured need types first, then the standard directives (callout, code-block, image, math, needpie, needgantt, and more), available offline. Picking one scaffolds the fields it requires and offers value choices for its optional fields. The suggested id for a new need is the next free id in your project's id pattern. Without a server, it continues the ids in your needs.json. When a type has more than one id series, you pick one from the list.
  • Insert Codelink (Command Palette) puts a codelink comment for a need at the caret, in the comment style of the file you are in.
  • Diagnostics flagging references to needs that don't resolve.
  • A status bar item showing how many needs are loaded and where they came from.

TheoWorks works fully offline from your workspace's needs.json, and can connect to a TheoWorks server for live requirements data and richer detail when you want it.

Connect to a TheoWorks server

Connecting is optional. Run TheoWorks: Connect to Server… and give the address of a local eval server or of your company's shared server. Then run TheoWorks: Sign In. TheoWorks finds the project from the git origin remote of your workspace. If it cannot, TheoWorks: Choose Project… lets you pick one. A plaintext http:// address is refused unless the server is on your own machine.

When a connect does not succeed, TheoWorks says why and offers Try again. Show details opens the TheoWorks output channel. Completion, hover and diagnostics keep working from your workspace in the meantime.

Preview

When you are connected, TheoWorks: Preview RST (Ctrl+K V, or the preview button in the editor title bar) shows the document as it renders, beside your editor. The preview follows your edits. A toggle in the preview makes the editor and the preview scroll together. Click a need to see its details. The preview also shows:

  • The files that your document includes, read from your workspace, with Open file to go to an included file.
  • The title of the document that a :doc: link points to. A click opens that document.
  • Diagrams inside a need body (needuml, needsequence, needarch) as pictures.

Configuration

Setting Purpose
theoworks.needsSource.needsJsonPath Workspace-relative path to a needs.json build artifact. Leave unset to try the conventional locations.
theoworks.needsSource.schemaJsonPath Workspace-relative path to a theoworks-schema.json dump, for directive-name completion. Leave unset to look beside the resolved needs.json.
theoworks.server.url The TheoWorks server to connect to. Leave unset to stay offline. Set it with TheoWorks: Connect to Server….
theoworks.server.project The <group>/<repo> project on the server for this workspace. Leave unset to use the git origin remote or the project picker.

Run TheoWorks: Configure Needs Source (Command Palette) to set the two needs source settings interactively, or TheoWorks: Refresh Project Graph to re-read the current source after your build regenerates needs.json.

Workspace trust / virtual workspaces

  • Untrusted workspaces: supported. The extension only reads needs.json/theoworks-schema.json from the workspace. It connects only to the server in your user or machine settings, never to one that a workspace setting names. It never executes workspace-provided code or tasks.
  • Virtual workspaces: not supported. The source ladder reads through a real local filesystem path, so a needs.json that exists only in a virtual (non-disk) filesystem cannot currently be resolved.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft