Skip to content
company backend for command line arguments
Emacs Lisp
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.org
company-arguments.el

README.org

company arguments

This package is in the early stages of development, and there are surely edge cases that are not handled correctly. The current implementation is using --help and parsing the output. Here are some of limitation that are immediately apparent.

  • doesn’t handle “old style” arguments (e.g. -name, -dir, -depth, etc)
  • doesn’t support arguments bundling (i.e. transforming -A, -B, -C, into -ABC)
  • stuggles with case insensitive matching

improvement areas

  • handle argument bundling
  • provide default values for arguments that accept them (e.g. --color=auto --color=never)
  • using caching to improve performace (the backend is asynchronous, so it will never block, but some commands can still take a while to respond)
  • create a blacklist of commands that this backend can’t handle (e.g. git, find, etc)
  • handle command aliases
You can’t perform that action at this time.