I’m working on an AngularJS project in Visual Studio Code and have encountered an issue with navigating to $scope method definitions.
Current Setup:
When I click on a method call like $scope.refreshDashboard() in my code, I want to navigate directly to its definition, such as:
$scope.refreshDashboard = async (options) => {
// Method implementation
};
This functionality works seamlessly in IntelliJ IDEA Ultimate Edition, but I haven’t found a way to achieve this in VS Code.
What I’ve Tried:
Installed AngularJS-related extensions like AngularJS Support and JavaScript IntelliSense.
Searched for VS Code extensions, but none seem to provide this functionality for $scope method calls.
Explored custom solutions like writing a VS Code extension, but I’d prefer a simpler, community-supported approach if available.
My Question:
Is there an existing VS Code extension or configuration that enables navigation to $scope method definitions in AngularJS?
If not, are there any workarounds or tools I can use to achieve this without switching back to IntelliJ IDEA?
Any help or insights would be greatly appreciated!