Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coc-tsserver not deleting (or cleaning up) the cancellation tokens! #432

Open
jikkuatwork opened this issue May 28, 2023 · 1 comment
Open

Comments

@jikkuatwork
Copy link

When I am editing a file using nvim & coc, everything works except that the code directory gets a folder called "coc-tsserver" with a lot of tmp files (presumably some pointer for cancellation tokens).

Check this out:

.
├── index.js
└── coc-tsserver
    ├── 34be301fe1522dddc900
    └── c993593935620fd743d7
        ├── tscancellation-a19aaf9509aedcf04d25.tmp11
        ├── tscancellation-a19aaf9509aedcf04d25.tmp22
        ├── tscancellation-a19aaf9509aedcf04d25.tmp24
        ├── tscancellation-a19aaf9509aedcf04d25.tmp26
        ├── tscancellation-a19aaf9509aedcf04d25.tmp3
        ├── tscancellation-a19aaf9509aedcf04d25.tmp46
        ├── tscancellation-a19aaf9509aedcf04d25.tmp62
        ├── tscancellation-a19aaf9509aedcf04d25.tmp64
        ├── tscancellation-a19aaf9509aedcf04d25.tmp74
        ├── tscancellation-a19aaf9509aedcf04d25.tmp76
        ├── tscancellation-a19aaf9509aedcf04d25.tmp78
        ├── tscancellation-a19aaf9509aedcf04d25.tmp80
        ├── tscancellation-a19aaf9509aedcf04d25.tmp86
        ├── tscancellation-a19aaf9509aedcf04d25.tmp88
        ├── tscancellation-a19aaf9509aedcf04d25.tmp90
        ├── tscancellation-d1c918325c44629223e3.tmp100
        ├── tscancellation-d1c918325c44629223e3.tmp102
        ├── tscancellation-d1c918325c44629223e3.tmp111
        ├── tscancellation-d1c918325c44629223e3.tmp114
        ├── tscancellation-d1c918325c44629223e3.tmp116
        ├── tscancellation-d1c918325c44629223e3.tmp30
        └── tscancellation-d1c918325c44629223e3.tmp32

This is super annoying and this ate away my Sunday! Any help will be greatly appreciated!

:CocInfo

## versions

vim version: NVIM v0.9.0
node version: v20.1.0
coc.nvim version: 0.0.82-b7375d5f 2023-01-30 05:09:03 +0800
coc.nvim directory: /home/abc/.vim/plugged/coc.nvim
term: tmux
platform: linux

## Log of coc.nvim

2023-05-28T19:57:53.000 INFO (pid:794486) [plugin] - coc.nvim initialized with node: v20.1.0 after 176
2023-05-28T19:57:55.309 INFO (pid:794486) [attach] - receive notification: showInfo []
2023-05-28T19:58:14.924 INFO (pid:794486) [attach] - receive notification: showInfo []
@chemzqm
Copy link
Member

chemzqm commented Sep 19, 2023

The files should inside your tmp folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants