Search code examples
ubuntuvisual-studio-code

the popup menu coming on right click disappears instantly in vscode


I just started using Vscode on Ubuntu 18.0. I have the following problem. When I try to copy a particular line, when I click the right-click button on my mouse, the pop-up menu disappears instantly as soon as I release the right-click button. So if I want to copy or cut the selected line, I have to move the cursor while holding the right-click button. I did not like this behaviour. How can we change this to normal? That is the menu that comes when we click the right button on the mouse and it stays there until we close it by clicking somewhere else?


Solution

  • The problem was fixed when I uninstalled the extensions, Pylance and Python. Apparently, if we install these packages they directly alter even the basic things such as the right-click menu.