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 mult…


This content originally appeared on DEV Community and was authored by Mark Adel

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>.


This content originally appeared on DEV Community and was authored by Mark Adel


Print Share Comment Cite Upload Translate Updates
APA

Mark Adel | Sciencx (2024-10-19T13:57:45+00:00) Fixing VS Code Go to Definition Issue on Linux Mint. Retrieved from https://www.scien.cx/2024/10/19/fixing-vs-code-go-to-definition-issue-on-linux-mint/

MLA
" » Fixing VS Code Go to Definition Issue on Linux Mint." Mark Adel | Sciencx - Saturday October 19, 2024, https://www.scien.cx/2024/10/19/fixing-vs-code-go-to-definition-issue-on-linux-mint/
HARVARD
Mark Adel | Sciencx Saturday October 19, 2024 » Fixing VS Code Go to Definition Issue on Linux Mint., viewed ,<https://www.scien.cx/2024/10/19/fixing-vs-code-go-to-definition-issue-on-linux-mint/>
VANCOUVER
Mark Adel | Sciencx - » Fixing VS Code Go to Definition Issue on Linux Mint. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/10/19/fixing-vs-code-go-to-definition-issue-on-linux-mint/
CHICAGO
" » Fixing VS Code Go to Definition Issue on Linux Mint." Mark Adel | Sciencx - Accessed . https://www.scien.cx/2024/10/19/fixing-vs-code-go-to-definition-issue-on-linux-mint/
IEEE
" » Fixing VS Code Go to Definition Issue on Linux Mint." Mark Adel | Sciencx [Online]. Available: https://www.scien.cx/2024/10/19/fixing-vs-code-go-to-definition-issue-on-linux-mint/. [Accessed: ]
rf:citation
» Fixing VS Code Go to Definition Issue on Linux Mint | Mark Adel | Sciencx | https://www.scien.cx/2024/10/19/fixing-vs-code-go-to-definition-issue-on-linux-mint/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.