Skip to content

Notes ⇄ Unity & Code

What sets Fuzzy Notes apart from a regular Markdown app is that it knows your Unity project. Notes can point at scripts, lines, methods, assets, scene objects, and commits – and those things know which notes point at them.

Notes About Code

Linking code from a note

  • [[PlayerMotor.cs]] opens the script in FuzzyIDE.
  • [[PlayerMotor.cs:42]] jumps to line 42.
  • [[PlayerMotor.cs#Awake]] (or #PlayerMotor.Awake) jumps to a method or type. Symbol links keep working when the code moves, because they are resolved against the current code instead of a line number.

[[ autocomplete lists every script in the project.

Adding code to a note from the editor

Right-click in the FuzzyIDE code editor:

  • 📝 Add Selection to Note… – pick a note; a symbol-anchored link and the selected code (as a fenced block) are appended to it.
  • 📝 Link This Line in Note… – the same without a selection: just the link.
  • 🗒 Notes for This File… – every note that links to the open file, plus new note about this file.

Gutter markers

When a note links to a line or symbol of the open script, a marker appears in the code editor’s gutter. Click it to open the note (or pick one when several notes point there).

Notes About Assets & Scene Objects

  • Drag assets from the Project window or GameObjects from the Hierarchy onto the Fuzzy Notes window.
  • Right-click an asset: Assets › Fuzzy Notes › Link in Note…
  • Right-click a GameObject: GameObject › Fuzzy Notes › Link in Note…
  • With objects selected, run Insert links to selected Unity objects from the command palette.

Assets are linked as [[asset:GUID|Name]], so the link survives moves and renames. Scene objects are linked as [[go:GlobalObjectId|Name]]; opening one selects and pings the object, and offers to open its scene if it isn’t loaded.

Finding notes from Unity

  • Assets and GameObjects that notes link to show a 📝 N notes button in the Inspector header. Click it to open those notes (or to link the object when there are none).
  • Assets › Fuzzy Notes › Show Notes and GameObject › Fuzzy Notes › Show Notes do the same from the context menu.

Quick Scratchpad

Press Ctrl+Alt+N anywhere in Unity (or Window > Fuzzy Logic Labs > Fuzzy IDE > Quick Scratchpad) to capture a thought without leaving what you are doing. (Ctrl+Shift+N is Unity’s Create Empty, so the scratchpad uses Ctrl+Alt+N.)

  • Save to: a New note or Today’s daily note.
  • Attach context: Adds the active scene, play time, selected object, and the last Console error with a link to the line of code that caused it.
  • Game view screenshot (Play Mode only): Saves a screenshot into the vault’s assets folder and embeds it.
  • Press Ctrl+Enter to save and close.

In Play Mode the title defaults to Playtest Note (HH:mm), which makes it a quick way to log bugs while testing.

Bug Tracker

Send compiler errors and warnings to a Bug Tracker note as tasks:

  • Right-click the error count in the IDE status bar › Create Bug Notes in Fuzzy Notes.

Each diagnostic becomes a task linked to its code location. A diagnostic that is already an open task isn’t added again. Tick the task when it is fixed.

Code TODOs

FuzzyIDE keeps a live index of every // TODO, FIXME, HACK, and BUG comment in your C# scripts.

  • Go to code TODO… (command palette) – fuzzy search and jump to any of them.
  • Tasks board › code toggle – show them as a live Code TODOs column; Track in note turns one into a linked task.
  • Collect code TODOs into a note / Scan Codebase for TODOs – a snapshot of all TODOs as a task list note.

Git

  • [[commit:abc1234]] links to a commit.
  • Insert today’s commits appends a list of today’s commits on the current branch.
  • Stamp Active Note with Git Branch (Files pane menu) records the current branch in the note.
  • Templates can use {{branch}}.

Terminal

Shell code blocks (sh, bash, powershell, …) have a Run button that sends the commands to the Native Terminal. Use the Run in Terminal slash command to insert one – handy for build scripts and setup steps in your docs.