docmap help · All-in-One Markdown Viewer

Trusting your docs

Docs go out of date quietly. See which paragraphs no longer match the code, what changed, and who approved which version.

  1. Trust markers

    “I followed the setup doc. The file it names doesn't exist.”

    A red ✗ in the margin marks paragraphs that name files or commands not in your code. Other marks: ⇄ another doc disagrees, ⚠ may be out of date. Far fewer false alarms: shortened paths, build output, library names, npm's own commands and years are no longer marked.

    Where: the left margin of the page, and a count at the top, e.g. ✗ 1 doesn't match the code.

    A design doc page: a red cross in the margin next to the paragraph about payments, with the explanation 'Mentions src/payments.js, which is not in the repository'
  2. Mark a paragraph as verified

    “I checked this paragraph. I want others to know it's right.”

    Click a mark → Mark as verified. It turns into ✓, and the warning comes back if the code changes later.

    Where: click a mark in the margin. For a paragraph without one, hover it and click the faint dot.

    The menu for a marked paragraph: why it was marked, Mark as verified, Mark as wrong, Verify this paragraph against the code
  3. A file moved? One click fixes the doc

    “We moved cart.js into a folder. Now every doc points to the old place.”

    When the file still exists under a new path, the ✗ menu offers Update old to new. One click changes that name on that one line, nothing else.

    Where: click the red ✗ next to the paragraph → Update … to …

    The marker menu: 'Update src/cart.js to src/shop/cart.js — src/cart.js is gone; a file with that name is at src/shop/cart.js. Changes line 5 only.'
  4. Docs mentioned in code

    “I'm changing this code. Which docs talk about it?”

    A small line at the top of the code file: 📄 Mentioned in 2 docs.

    Where: the top of any code file that a doc names.

    A code file with a small 'Mentioned in 2 docs' line above line 1
  5. Docs That Mention This File

    “Show me every doc that names this file.”

    A list of each doc and the line that names your file. Pick one to jump straight there.

    Where: click 📄 Mentioned in N docs, or Command Palette → Docs That Mention This File.

    A list 'Docs that mention this file' with two docs and their line numbers
  6. Docs to update before you commit

    “I changed the code. Now the docs are quietly wrong.”

    A note at the bottom of VS Code: 📖 2 docs mention files you changed. Click it to open those docs, or point at one and click the sparkle icon on its right to have your AI agent update it. Never a pop-up.

    Where: the status bar (the thin bar at the very bottom), after you save a change. It goes away once you commit.

    The list 'Docs that mention files you changed': Checkout design and Sample Shop, each mentioning src/cart.js
  7. Does the code still match this doc?

    “The design says one thing, the code does another, and nobody noticed.”

    One list of everything the doc names that the code no longer has: files, functions, commands, settings, versions. Its first line, Ask my AI to fix these, asks your AI agent which side is wrong.

    Where: right-click in the doc's text → Does the Code Still Match This Doc?

    A list 'Checkout design: 2 things no longer match the code', starting with Ask my AI to fix these
  8. Compare: what changed

    “Someone changed the plan. What exactly is different?”

    New words underlined in green, removed words crossed out in red, right on the page. Compare with the version you last read, the last commit, a week ago…

    Where: the ⇆ Compare… button at the top of the page.

    A page with old words crossed out in red and new words underlined in green
  9. Sign off a version

    “Which version did the lead actually approve?”

    Writes ✓ Signed off by your name and the date into the file, and shows ⚠ Changed since… when someone edits it later.

    Where: ⋯ Ask my AI agent at the top of the page → Sign off this version…

    The page's Ask my AI agent menu: Sign off this version, Ask my AI agent about this file, Show as slides
  10. What kind of doc is this?

    “Is this a decision, a design or a plan? Does it follow a known format?”

    When docmap is sure, a small label says so, e.g. Decision record · MADR. A doc in another style is never marked wrong.

    Where: the top left of the page.

    The top of a page with a small label 'Decision record · MADR'
  11. Compare with a Standard Format

    “Did I forget a section?”

    Lists which parts of the format your doc has: ✓ has it, ○ expected, – optional. Your team's own format comes first. Your file is never changed.

    Where: click the doc-kind label, or What Can docmap Do? → Compare with a Standard Format…

    A list comparing a decision record with MADR: ticks for each section it has

Want to see every command in VS Code? Press Ctrl+Shift+P and run What Can docmap Do? (or Help: Get Started → All-in-One Markdown Viewer for the guided tour).