Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 01:00
    fannheyward closed #3386
  • 01:00
    fannheyward commented #3386
  • 00:56
    HungPham3112 opened #3386
  • Sep 18 17:22
    jinserrr edited #3385
  • Sep 18 16:54
    jinserrr opened #3385
  • Sep 18 16:16
    zacklukem opened #3384
  • Sep 18 13:12
    murchu27 commented #3209
  • Sep 18 13:12
    murchu27 commented #3209
  • Sep 18 12:56
    LeonardChallis commented #3209
  • Sep 18 01:51

    fannheyward on esbuild-jest

    (compare)

  • Sep 18 01:50
    fannheyward closed #3383
  • Sep 18 01:45
    fannheyward synchronize #3383
  • Sep 18 01:45

    fannheyward on esbuild-jest

    test: use esbuild-jest to speed… (compare)

  • Sep 18 01:39
    fannheyward opened #3383
  • Sep 18 01:39

    fannheyward on esbuild-jest

    test: use esbuild-jest to speed… (compare)

  • Sep 17 23:54
    zepto edited #3382
  • Sep 17 23:53
    zepto opened #3382
  • Sep 17 21:23
    Industrial closed #3381
  • Sep 17 21:19
    Industrial opened #3381
  • Sep 17 11:33
    philippludwig commented #3380
mas88
@mas88:matrix.org
[m]
Here's the traceback from CocOpenLog
 14 2021-07-26T17:26:50.109 ERROR (pid:106577) [workspace] - TypeError: edits is not iterable
 13     at Workspace.applyEdit (/home/mas/.vim/plugged/coc.nvim/build/index.js:36413:33)
 12     at processTicksAndRejections (node:internal/process/task_queues:96:5)        
 11     at async /home/mas/.config/coc/extensions/node_modules/coc-pyright/lib/index.js:23449:7
 10     at async Commands.runCommand (/home/mas/.vim/plugged/coc.nvim/build/index.js:66931:21)
  9     at async Plugin.cocAction (/home/mas/.vim/plugged/coc.nvim/build/index.js:70313:19)
  8     at async NeovimClient2.<anonymous> (/home/mas/.vim/plugged/coc.nvim/build/index.js:70423:15)
I'm not very familiar with any of this stuff. I'd love to figure it out and give you a PR but, like I said, the function actually works, it just throws the message and I can't actually figure out where. I tried logging on every other line to see where there might be a break in my output and it all comes through. Everything in the function executes (except a logging statement in the catch block. I'm sure there's something fishy async going on and I'm terrible with that stuff.
mas88
@mas88:matrix.org
[m]
I'll also note that the error message only started displaying in the past few days. I run Arch, so it could be some weird upgrade that happened. I also PlugUpdate and CocUpdate pretty regularly.
Qiming zhao
@chemzqm
Seems extension using bad WorkspaceEdit
mas88
@mas88:matrix.org
[m]
So you think coc-pyright is the culprit? Should I open an issue there?
Qiming zhao
@chemzqm
Yes
LuisCC
@luisiacc
@mas88:matrix.org Im having that exact error when running pyright.organizeimport command
however running the code action Sort imports with isort works fine.
Francisco Lopes
@oblitum
luisiacc: you need to run :CocCommand python.sortImports to use isort. pyright.organizeimports organize it by pyright, not isort.
by default.
python.sortImports also don't have that issue.
but organizeimports issue should be reported anyways, even if you have just discovered you don't need it at all.
LuisCC
@luisiacc
Oh
Okk, I didnt know that. But the organizeimport command should not throw that error regardless
Francisco Lopes
@oblitum
that's what I said
Heyward Fann
@fannheyward
@mas88:matrix.org reproduced, working on it.
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