Coder Social home page Coder Social logo

cmp-npm's People

Contributors

david-kunz avatar ecosse3 avatar uloco avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cmp-npm's Issues

Only show latest version

Would it be possible to add a config option to only show the latest version?
This would replicate the behaviour of VSCode and already solve my issues with the sorting not being completely correct.

Say the latest version is 1.2.3, vscode shows these three completions:

1.2.3
^1.2.3
~1.2.3

in that order.

What do you think about it?

two digit minor version shown after one digit, sorting wrong

When I try to complete a package that has a two-digit version number (higher than 9), it shows me the single digit minor versions first and then the higher ones after them. This happens multiple times for every two-digit version in major, minor and patch.

See:

Screen.Recording.2022-09-14.at.19.28.24.mov

Add options to disable insiders/dev/alpha/beta/rc versions of package

Hey,

thank you for such a great plugin! It's especially useful for me because in my projects I work with lerna and I have to add/update packages manually and cannot do it via npm/yarn update itself.

One of my feature requests is to add filtering options to show/disable insiders/dev/beta/rc versions of a package in results. It could limit results only to stable versions of the package which we want to take. Currently, I can show a very long list of non-stable versions like here:

image

I'm not good in Lua at all yet, but I can start working on that and make a PR in a couple of days. It would be fun for me to start with lua in such an example which doesn't seem to be very hard (maybe via grep/awk or lua has some specific method for that - idk):

image

Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.