Skip to content

Disable auto-import completions in definition places #1457

@MichaReiser

Description

@MichaReiser

Summary

I don't want to import math.fabs when my cursor is positioned at def f<CURSOR> or class f<CURSOR>.

We may want to offer some completions for functions when within a class to override a method, but that's something we can track separately

Version

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    completionsBugs or features relating to autocomplete suggestionsserverRelated to the LSP server

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions