microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
160.27k stars 28.08k forks source link

Go To Definition Ctrl + Left - Click Not Working #215449

Open ivanurco opened 3 weeks ago

ivanurco commented 3 weeks ago

Steps to Reproduce:

  1. Disable all my extensions
  2. Use F12 or Ctrl + F12 or Ctrl + Left - Click does not work
  3. Enable all my extensions just work F12. Ctrl + Left - Click does not work in any case.

My vscode extension list:

cheshirekow.cmake-format codeium.codeium continue.continue emeraldwalk.runonsave equinusocio.vsc-material-theme-icons franneck94.c-cpp-runner jeff-hykin.better-cpp-syntax josetr.cmake-language-support-vscode lextudio.restructuredtext llvm-vs-code-extensions.vscode-clangd mhutchie.git-graph ms-azuretools.vscode-docker ms-dotnettools.vscode-dotnet-runtime ms-iot.vscode-ros ms-python.autopep8 ms-python.debugpy ms-python.pylint ms-python.python ms-python.vscode-pylance ms-toolsai.jupyter-keymap ms-vscode-remote.remote-containers ms-vscode-remote.remote-ssh ms-vscode-remote.remote-ssh-edit ms-vscode.cmake-tools ms-vscode.cpptools ms-vscode.cpptools-extension-pack ms-vscode.cpptools-themes ms-vscode.remote-explorer pkief.material-icon-theme redhat.vscode-xml shakram02.bash-beautify smcpeak.default-keys-windows swyddfa.esbonio trond-snekvik.simple-rst twxs.cmake vadimcn.vscode-lldb vscode-icons-team.vscode-icons wk-j.save-and-run xaver.clang-format

IllusionMH commented 2 weeks ago

/needsMoreInfo

What is language and in what code samples it was a problem. Please provide code and steps to reproduce.

VSCodeTriageBot commented 2 weeks ago

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.

Happy Coding!

ivanurco commented 2 weeks ago

C++ and Python are the programming Language that I could test.

Python File:

class Prueba:
    def __init__(self):
        pass

    def __str__(self):
        pass

    def my_custom_function(self):
        print('I am a custom function')

def main():
    my_class = Prueba()
    my_class.my_custom_function()

if __name__ == "__main__":
    main()

C++ File:

#include <iostream>
#include <string>

class Prueba {
public:
    Prueba() {} // Constructor
    std::string toString() { return ""; } // Función equivalente a __str__

    void myCustomFunction() {
        std::cout << "I am a custom function" << std::endl;
    }
};

int main() {
    Prueba myClass;
    myClass.myCustomFunction();
    return 0;
}

In both cases If i use F12 on myCustomFunction in the main function, its works. But not Ctrl + Left-Click or Ctrl + F12

ivanurco commented 2 days ago

Any update of this bug?