search

Showing posts with label vscode. Show all posts
Showing posts with label vscode. Show all posts

Sunday, June 14, 2020

Unable to rename in go projects in vscode

vscode used to use gorename to do the renames. However, gorename does not support go modules. gopls should be used instead. If it is not available to your project, try to add the following in your configuration file:
"go.languageServerExperimentalFeatures": {
    "rename": true
}

Wednesday, September 25, 2019

Fix isort in vscode for python2

Go to the vscode Python extension folder:
cd ~/.vscode/extensions/ms-python.python-2019.9.34911
Install latest version that is known to work with python 2:
pip2 install -t ./pythonFiles/lib/python --upgrade isort==4.3.17