Skip to content

Do not autosuggest packages with dashes in names #310

@playpauseandstop

Description

@playpauseandstop

First of all, this is awesome plugin! Thanks a lot for making it!

I'm using it everyday and in total highly happy with it results. However recently I found out one small issue and would like to consult, whether it should be fixed or not.

The issue is about package names with dashes and suggesting them for imports usage which makes no sense. Let's take a look on screenshot below,

Screen Shot 2020-02-20 at 14 48 53

It suggests to import from aiohttp-middlewares, but it will result in syntax error.

The source for suggestion is valid (from my pov), as aiohttp-middlewares named exactly as aiohttp-middlewares, but I believe SublimeJEDI should exclude that suggestions as they don't make much sense.

If this makes sense for you as well, I'll be glad to provide fix for given issue!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementgood for beginerIssue could be done without "specific" knowladge of plugin

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions