Skip to content
This repository was archived by the owner on Jun 7, 2022. It is now read-only.
This repository was archived by the owner on Jun 7, 2022. It is now read-only.

Better way to handle go to defs when something goes wrong? #71

Open

Description

@ryan-blunden

I'm not sure if the odd behavior is due to the lang extension, the extension API or both, but wanted to document the behavior in any case.

I expected some indication that something went wrong so I know not to wait or try again.

I also expected that the hover would be dismissed after some arbitrary amount of time had passed.

screenflow

Activity

  1. added
    bug
    on Jan 11, 2019
  2. felixfbecker commented on Jan 11, 2019

    @felixfbecker
    Contributor

    Hmm I think this is because the extension polls the server for definitions, which it does because codeintellify will pre-fetch the definition and the server may not have analyzed the project yet. But I think it would be better behaviour to not poll and have the user trigger the action again, but I don't know if that would re-invoke the definition provider. @sqs do you know?

  3. removed
    bug
    on Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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