Skip to content

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

Open
@jikkuatwork

Description

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 []

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions