Fixing VS Code Go to Definition Issue on Linux Mint

markadel

Mark Adel

Posted on October 19, 2024

Fixing VS Code Go to Definition Issue on Linux Mint

After switching from Linux Ubuntu to Mint (Cinnamon) on my work laptop, I discovered that the Go to Definition functionality in Visual Studio Code, which uses Alt+Click, had stopped working.

This issue had been driving me crazy for weeks. I tried multiple times during work to fix it, but all attempts were in vain. So I decided to dedicate time on my weekend to investigate and resolve it.

The problem was that Mint, by default, uses Alt+Click to move and resize windows, which was overriding and conflicting with VS Code’s Go to Definition functionality.

Solution
In Mint’s Windows Settings, change the “Special key to move and resize windows” from <Alt> to <Super>.

💖 💪 🙅 🚩
markadel
Mark Adel

Posted on October 19, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related