VS Code: How to find all references of a variable in python?

The "Find All References" feature works well in VS Code when using the pylance language service from Microsoft (new in July 2020) https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance

Right+click on a symbol then select "Find All References" from the context menu. This worked well, even finding methods referenced in different modules within a workspace.


The problem occurs with my user setting of python extension jediEnabled option as false:

"python.jediEnabled": false,

so switch back to the default:

// Enables Jedi as IntelliSense engine instead of Microsoft Python Analysis Engine.
  "python.jediEnabled": true,

and "Find all references" works in the example!

Maybe it's a bug in Microsoft Python Analysis Engine.