Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Sep 27 20:43
    pappasam commented #3388
  • Sep 27 18:37
    pappasam commented #3388
  • Sep 27 18:37
    pappasam commented #3388
  • Sep 27 12:40
    ptimothyp edited #3401
  • Sep 27 12:37
    ptimothyp edited #3401
  • Sep 27 12:32
    ptimothyp opened #3401
  • Sep 27 03:59
    rafaelmuynarsk commented #3400
  • Sep 27 03:12
    fannheyward closed #3400
  • Sep 27 03:12
    fannheyward commented #3400
  • Sep 27 03:07
    fannheyward closed #3385
  • Sep 27 03:07
    fannheyward commented #3385
  • Sep 27 02:59
    rafaelmuynarsk edited #3400
  • Sep 27 02:57
    rafaelmuynarsk opened #3400
  • Sep 26 21:56
    mingkhoi opened #3399
  • Sep 26 15:22
    Trainraider commented #118
  • Sep 26 12:29
    qianlv commented #3385
  • Sep 26 02:52
    hanleylee commented #3290
  • Sep 26 02:52
    hanleylee commented #3290
  • Sep 26 02:20
    AxizY closed #3398
  • Sep 26 02:20
    AxizY commented #3398
Heyward Fann
@fannheyward
@mas88:matrix.org @luisiacc pyright.organizeimport issue has been fixed on master, will available in next release
1 reply
Cobbi
@GeneralCorn
Screen Shot 2021-07-27 at 9.49.55 PM.jpg
Hi Everyone! Does anyone know how to build the js file?
Screen Shot 2021-07-27 at 9.50.02 PM.jpg
I tried to follow this error message: "[coc.nvim] build/index.js not found, please compile coc.nvim by: npm run build"
Qiming zhao
@chemzqm
@GeneralCorn run yarn install for master branch of coc.nvim
Cobbi
@GeneralCorn
is there a specific way to specify master
Qiming zhao
@chemzqm
What does specify master means?
Cobbi
@GeneralCorn
uh like, yarn install (what) hhh sorry
Bit new at this
mas88
@mas88:matrix.org
[m]
You're already on the master branch. git checkout branch --list and git checkout <branch> will let you change branches.
git branch --list not git checkout branch --list sorry
Qiming zhao
@chemzqm
Make your plugin manager install release branch coc.nvim, like vim-plug Plug 'neoclide/coc.nvim', {'branch': 'release'}
Build it yourself could takes some time.
Cobbi
@GeneralCorn
I have that line with Vundle, does it not work the same way?
Qiming zhao
@chemzqm
Vundle not maintained for years, it doesn't have branch support.
Cobbi
@GeneralCorn
ah
I'll try to switch then thanks!
Tenor
@L8D
Hello. I am using coc-tsserver and even though I have enabled resolveJsonModule in my tsconfig's compiler options, I am still seeing an error message from tsserver about `Cannot find module '../foo.json'. Consider using '--resolveJsonModule' to import module with '.json' extension.
4 replies
Tae Gyun Kim
@tgkei
스크린샷 2021-07-28 오전 9.33.51.png
Hi, I am trying to use coc-metals for my new scala proejct, but when I run metals.reset-choice and Build tool selection, it fails with above error. Does anyone know how to fix it?
Qiming zhao
@chemzqm
@tgkei seems you need check log of metals.
botand
@botand:matrix.org
[m]
Hi everyone 👋, I've been using coc for quite a while now the error messages that I get on hovering over an error, always go over the screen edge and don't wrap at the end of a line.
I've tried setting the wrap option in neovim itself but that did not change the wrapping of the error messages. Is it possible to enable this somehow?
Qiming zhao
@chemzqm
@botand:matrix.org It's virtual text that can't wrap
botand
@botand:matrix.org
[m]
Thanks for the info👌
Max Hoffman
@hoffmanmc
Anybody use pyenv with coc? Stopped getting error messages at all a while ago, and I'm thinking it has something to do with it searching there for python packages...
image.png
LuisCC
@luisiacc
I think you have to install pynvim on the environment
Heyward Fann
@fannheyward
@hoffmanmc coc doesn't use Python or pynvim, you can ignore this error.
For pyenv, what extension or LS do you use? coc-pyright or coc-jedi?
Max Hoffman
@hoffmanmc
@fannheyward I am using coc-pyright
Heyward Fann
@fannheyward
@hoffmanmc coc-pyright will detect pyenv by .python-version or PYENV_VERSION
Francisco Lopes
@oblitum
@fannheyward: I'm checking whether this (https://github.com/fannheyward/coc-pyright/issues/67#issuecomment-670286861) is still needed for pyenv venvs. Seems then it's not after fannheyward/coc-pyright@77e02e0
in that commit it's looked up by .python-version file though, instead of $PYENV_VIRTUAL_ENV presence, though I suspect it ends up the same
Max Hoffman
@hoffmanmc
I see. I guess the real issue I am having then is just something is preventing my error messages from displaying, even after explicitly adding "diagnostic.checkCurrentLine": true to my coc-settings.json, and I just happen to be using python
Heyward Fann
@fannheyward
@oblitum yes, for most cases, you don't need to set pythonPath or venvPath any more. coc-pyright will try to detect python venvs and use it.
@hoffmanmc what's the output of :CocCommand workspace.showOutput Pyright?
Max Hoffman
@hoffmanmc
@fannheyward , well I fixed it just be reinstalling coc-nvim. I think something got messed up when I tried adjusting the text colors to make them more legible using my init.vim file. I don't think it preserved the logs from the previous times I ran it, so we may never know what caused it... thanks for your help though!
wtf
@iamjdwtf_twitter
does coc clangd has Inheritance Hierarchy?
antikythera
@leibniz:matrix.org
[m]
In https://github.com/neoclide/coc-yaml why formatter is disabled by default?
hibert
@wanghuibin0
does anyone know how to jump to the next function in current buffer, please?
James Pickard
@euoia
Hi all. I copied most of the script from https://github.com/neoclide/coc.nvim#example-vim-configuration and with JavaSctipt files using prettier, my status line now has ❌ 1 Prettier at the start - I assume because lua print(vim.api.nvim_eval("coc#status()")) evaluated to Prettier
is it intentional to show the linter that reported the error in the status line?
also, what part of my configuration controls where the errors / infos show? I sometimes see error info, but sometimes don't
image.png
James Pickard
@euoia
The diagnostic info is shown if I use the [g key map, but not if I hover on the line, for example
2 replies
Ian Liu Rodrigues
@ianliu
Is it possible to disable the warning/info sign for "Unused variable" in coc.nvim?
LuisCC
@luisiacc
is there a way to update diagnostic as I type instead of when I save the file?
Francisco Lopes
@oblitum
@luisiacc it's like that by default.