Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Relation WindowNew to Visual Studio Code? Get it now.
Relation Window

Relation Window

shai

|
1 install
| (0) | Free
Call Chain Visualization Plugin moded from CRelation origianly by singlemoonlight
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Relation VS Code Extension

Call Chain Visualization Plugin. - Modified version by Shai Sarfaty Origial version by - SingleMoonlight: https://github.com/SingleMoonlight/crelation

This plugin working by defualt to show the file content to the "context-window" extension: https://marketplace.visualstudio.com/items?itemName=zhiminxiong.context-window

Details

this mod remove the need of parsing "C" files and genericly uses Visual Code APIs to retrive information so now it support more than "C" code. this mod also doesn't needs a data base file everything is done in runtime.

This plugin can communicate with the "context-window" plugin to show the found resualt in the "context-window" instead of main window. this is configurable in the setting capabilities.

How to use:

1.Select a function name and then open right click menu and select Show Relations. You can see the call chain of the function in a new panel.

If you want show relations by a shortcut key, you can add the following code to your keybindings.json file. For example:

{
    "key": "ctrl+alt+r",
    "command": "crelation.showRelations",
    "when": "editorTextFocus "
}

2.in the setting configuration you can choose to where you would like to see the function code. the defualt it to the context-window extension. you can change it to the main window if you want.

3.In the new panel, you can left-click the function name to collapse or expand the call chain. Moreover, it will just jump to the function code when you right click the function name. If the tree nodes are too many, you can drag the tree to make it easier to read.

4.If you don't like the current mouse key of choice and would like to switch the left and the right click actions, just got to the settings and change the mouse behavior to fit your desired behavior

How to use and setup

setup

Features

Activation Events

  • onStartupFinished

Commands

ID Title Description
crelation.showRelations Show Relations Show the function call
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft