question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CompletionItemKind is not shown in comletion list when typing multiple tokens

See original GitHub issue

When typing from , completion list shown w/o CompletionItemKind like below image

Just typing from and leave insert mode, then going back to insert mode and list completion list again, we get candidates with CompletionItemKind as below. image

I assume that CompletionItemKind should be shown in completion list even if typing several tokens at a time, but is current behavior is expected one ?

What’s the output of :CocCommand pyright.version

[coc.nvim] coc-pyright 1.1.189 with Pyright 1.1.189

What’s the output of :CocCommand workspace.showOutput Pyright

Workspace: /home/tharada/repos/foo Using python from /home/tharada/repos/foo/.venv/bin/python

[Info - 9:31:52 PM] Pyright language server 1.1.189 starting [Info - 9:31:52 PM] Server root directory: /home/tharada/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/ [Info - 9:31:52 PM] No configuration file found. [Info - 9:31:52 PM] No pyproject.toml file found. [Info - 9:31:52 PM] Setting pythonPath for service “foo”: “/home/tharada/repos/foo/.venv/bin/python” [Warn - 9:31:52 PM] stubPath /home/tharada/repos/foo/typings is not a valid directory. [Info - 9:31:52 PM] Assuming Python version 3.10 [Info - 9:31:52 PM] Assuming Python platform Linux [Warn - 9:31:52 PM] Exception received when installing file system watcher: TypeError [ERR_FEATURE_UNAVAILABLE_ON_PLATFORM]: The feature watch recursively is unavailable on the current platform, which is being used to run Node.js [Warn - 9:31:52 PM] Exception received when installing file system watcher: TypeError [ERR_FEATURE_UNAVAILABLE_ON_PLATFORM]: The feature watch recursively is unavailable on the current platform, which is being used to run Node.js [Info - 9:31:52 PM] Searching for source files [Info - 9:31:52 PM] Auto-excluding /home/tharada/repos/foo/.venv [Info - 9:31:52 PM] No source files found.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
fannheywardcommented, Nov 25, 2021

Try v1.1.190.

0reactions
fannheywardcommented, Nov 26, 2021

like sys module will not be listed by python-import

@BoysHands reproduced, but have no idea about this because the results of python-import is came from Pyright too. I’ll add an option to disable python-import.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Some completion items are ignored in certain scenarios #93054
Completion two's range includes the quotes, but it doesn't show up in the list. Completion three is the same as two, but I...
Read more >
Is there a preferred way to disable LSP CompletionItemKind ...
While the result I want is usually highlighted at the top of compe's completion list, the extra [Text] results that appear are a...
Read more >
How to Structure multiple completion providers - Stack Overflow
I am writing an extension to provide completion for web-extension api. Now the problem is that I have to register like a million...
Read more >
src/goSuggest.ts - vscode-go - Git at Google
provideCompletionItemsInternal (document, position, token, ... prevent completion when typing in a line comment that doesnt start from the beginning of the ...
Read more >
Integrating Code Completion in Visual Studio Code - Strumenta
No matter if you're a programmer writing code in a general-purpose programming ... the language across several tools, with features such as code...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found