Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Copy Reference JetBrainsNew to Visual Studio Code? Get it now.
Copy Reference JetBrains

Copy Reference JetBrains

Aaron Kazah

|
52 installs
| (1) | Free
JetBrains-style copy reference functionality for VS Code. Right-click any symbol to copy its full dot notation path.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Copy Reference JetBrains for VS Code

Visual Studio Marketplace Version

A professional VS Code extension that brings JetBrains-style "Copy Reference" functionality to Visual Studio Code. Right-click on any symbol (class, method, function, variable) to copy its full dot notation path to your clipboard.

✨ Features

  • JetBrains-style copy reference: Get the exact functionality you're used to from IntelliJ IDEA, PyCharm, WebStorm, etc.
  • Multi-language support: Works with Python, TypeScript, JavaScript, Java, C#, C++, and more
  • Smart path detection: Automatically detects modules, packages, namespaces, and file structures
  • Django testing ready: Perfect for generating test paths like python manage.py test myapp.tests.test_models.TestClass.test_method
  • Context menu integration: Right-click anywhere to access the feature
  • Instant clipboard copy: Automatically copies the full path to your system clipboard

🚀 Installation

Option 1: VS Code Marketplace (Recommended)

The easiest way to install:

  1. Open VS Code
  2. Go to Extensions (Ctrl/Cmd + Shift + X)
  3. Search for "Copy Reference JetBrains" by Aaron Kazah
  4. Click Install

Install from VS Code Marketplace

Option 2: Manual Installation from GitHub

For early access or offline installation:

  1. Download the latest VSIX file from our GitHub Releases or directly: copy-reference-jetbrains-1.0.3.vsix
  2. Open VS Code
  3. Go to Extensions panel (Ctrl/Cmd + Shift + X)
  4. Click the "..." menu in the Extensions panel
  5. Select "Install from VSIX..."
  6. Navigate to the downloaded .vsix file and select it
  7. Click Install

Troubleshooting Installation

Extension not appearing?

  • Restart VS Code after installation
  • Check if the extension is enabled in the Extensions panel
  • Ensure you have a supported file open (Python, TypeScript, etc.)

Can't find "Copy Reference" in context menu?

  • Make sure you're right-clicking on a symbol (class, method, function, variable)
  • Ensure the file has a supported language (check status bar)
  • Try clicking directly on the symbol name, not whitespace

📖 Usage

  1. Right-click on any symbol in your code
  2. Select "Copy Reference" from the context menu
  3. Paste the full dot notation path wherever you need it

Django Testing Example

Perfect for Django testing workflows:

# In myapp/tests/test_models.py
class UserModelTest(TestCase):
    def test_user_creation(self):
        # Right-click on 'test_user_creation' → Copy Reference
        pass

Copied result: myapp.tests.test_models.UserModelTest.test_user_creation

Use in terminal:

python manage.py test myapp.tests.test_models.UserModelTest.test_user_creation

📋 Example Outputs

Python

# myproject/myapp/models.py
class User:
    def get_full_name(self):
        pass

Copy Reference result: myproject.myapp.models.User.get_full_name

TypeScript

// src/services/UserService.ts
export class UserService {
    public async getUser(): Promise<User> {}
}

Copy Reference result: UserService.getUser

Java

// com/example/service/UserService.java
package com.example.service;
public class UserService {
    public User getUser() {}
}

Copy Reference result: com.example.service.UserService.getUser

🔧 Supported Languages

  • Python - Full module path support
  • TypeScript/JavaScript - ES6 modules and classes
  • Java - Package and class hierarchy
  • C# - Namespace and class support
  • C/C++ - Namespace and scope resolution
  • And many more...

🎯 Use Cases

  • Django Testing: Generate precise test paths for manage.py test
  • Code Documentation: Reference specific methods in documentation
  • Code Reviews: Provide exact paths when discussing code
  • Debugging: Quickly reference problematic methods
  • API Documentation: Generate accurate endpoint references

🤝 Contributing

Found a bug or want to contribute?

  1. Visit our GitHub repository
  2. Open an issue or submit a pull request
  3. Help make this extension even better!

📄 License

MIT License - see LICENSE for details.

👨‍💻 Author

Aaron Kazah - @aaronkazah

Former PyCharm enthusiast


⭐ If this extension helps your workflow, please consider giving it a star on GitHub!

🐛 Found an issue? Report it here

📧 Questions? Start a discussion

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