neoclide / coc-python

Python extension for coc.nvim, fork of vscode-python
574 stars 51 forks source link

coc-settingds.json under the workspace .vim folder is not working #96

Closed outshow closed 4 years ago

outshow commented 5 years ago

coc-settingds.json under the workspace .vim folder is not working.

setting with :CocLocalConfig is not working setting with :CocConfig is working

JoosepAlviste commented 5 years ago

I think that this might be the same problem as I have in #95. I tried setting "python.formatting.provider": "black" for my project but got an error/warning that autopep8 couldn't be found. Then set the same setting globally and black worked fine.

outshow commented 5 years ago

@JoosepAlviste yes, you are right.

AllenDang commented 4 years ago

Yes, I met the same problem here. I cannot set pythonPath in workspace coc-config.

chemzqm commented 4 years ago

We don't support coc-settingds.json.

AllenDang commented 4 years ago

We don't support coc-settingds.json.

Ok, then what's the proper way to set workspace python path?

setInterceptor command cannot find my venv settings.

chemzqm commented 4 years ago

Use .vim/coc-settings.json

AllenDang commented 4 years ago

Use .vim/coc-settings.json

I think this issue is saying that setting python.pythonPath in .vim/coc-settings.json doesn't work.

outshow commented 4 years ago

We don't support coc-settingds.json.

Sorry for my spelling mistake, it is coc-settings.json. I put the coc-settings.json file in workspace path "/home/xx/workspace/py_test/.vim/" and it does not work. I put the same setting file in goable path "~/.vim/" and it works.

chemzqm commented 4 years ago

Should be fixed on latest coc.nvim release.