Context Menu & Quick Actions
Right-clicking anywhere in the editor brings up a contextual menu tailored to the code under your cursor.

💡 Quick Actions
When fixes or refactorings are available at the cursor, they are listed at the top of the menu with a 💡 – the same list Alt+Enter opens:
- Using
<namespace>: Imports a missing namespace. Accepting a completion from another namespace imports it automatically too. - Generate method: Creates a method you have called but not declared yet.
- Implement interface member(s): Implements one or all missing members.
- Add [SerializeField]: Adds the attribute to a private field.
- Remove unused usings.
- Unity analyzer fixes: e.g. Use CompareTag, Remove empty Update(), Rename to OnTriggerEnter, Change signature, Use an explicit null check.
See Smart Code & Editing for the full list of analyzers.
Editing
- Cut (
Ctrl+X), Copy (Ctrl+C), Paste (Ctrl+V), Select All (Ctrl+A) - Auto Format (
Ctrl+Alt+F): Fixes indentation and spacing of the document. - Code Cleanup (
Ctrl+Shift+Alt+F): Removes unused usings, sorts the rest, and formats the document.
Code Navigation & Refactoring
- Semantic Rename (
F2): Safely renames the variable, method, or class and updates all corresponding references. Renaming a serialized field adds[FormerlySerializedAs]. - Find All References (
Shift+F12): Scans the entire workspace to show where the current symbol is used.
Fuzzy Notes
- 📝 Add Selection to Note…: Appends the selected code and a link to its location to a note of your choice.
- 📝 Link This Line in Note…: Without a selection, only the link is added.
- 🗒 Notes for This File…: Lists the notes that link to the current script.
See Notes ⇄ Unity & Code.
Live Watch
- Watch Live: Adds live tracker code to track the selected variable in real time.
- Remove from Live Watch: Removes the tracker again.
Mouse Shortcuts
- Ctrl+click a symbol to go to its definition; on a declaration it finds its references.
- Ctrl+wheel zooms the editor.
- Clicking a gutter marker shows the Git change or opens the linked note.
- Clicking an end-of-line hint (live value, Console message, asset usage, test result) shows its actions. See Unity Integration.