neoclide / coc-tsserver

Tsserver extension for coc.nvim that provide rich features like VSCode for javascript & typescript
MIT License
1.05k stars 68 forks source link

disable local file fields or put them at the end of hint list #388

Closed laoshaw closed 1 year ago

laoshaw commented 1 year ago

image

for js files using coc-tsserver, the list always put F(local Field) ahead of f (from TSC language server?), is there a way I sort 'f' ahead of 'F' in the middle column? tried coc-source-list and checked coc-tsserver configurations to no avail. other languages(c++, typescript worked fine)

laoshaw commented 1 year ago

image

this is what vscode does, it puts key methods ahead of local fields/variables, which is what I really want.

chemzqm commented 1 year ago

Fixed on latest release branch of coc.nvim.