Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>CatFriendNew to Visual Studio Code? Get it now.
CatFriend

CatFriend

mike-reilly

|
43 installs
| (1) | Free
Catkin workspace searcher to make yellow import lines go away
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CatFriend README

CatFriend is a simple extension to add Python packages that are normally packaged with ROS Catkin to Pylance's search path.

The extension will walk all the directories in a specified workspace and add any src folder to the Python path that is found in a directory also containing a setup.py file.

Setup

Setup your workspace path by editing your VS Code setting.json --> bring up the command palette with ctrl + shift + p, select Preferences: Open User Settings (JSON), and add: "catfriend.workspacePath": "path/to/my/workspace" to the file.

Usage

Scan the workspace by running the command CatFriend: Scan Workspace for Python Modules (use ctrl + shift + p to bring up the command palette), or configure CatFriend to scan automatically when VS Code launches by adding "catfriend.autoRunOnStartup": true to settings.json.

Extension Settings

  • catfriend.workspacePath: Your Catkin workspace path (i.e. the root directory to be walked).
  • catfriend.autoRunOnStartup: If True, CatFriend will search the workspace automatically on VS Code startup. Default is False

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft