All Projects → aaronjensen → company-flow

aaronjensen / company-flow

Licence: other
No description or website provided.

Programming Languages

emacs lisp
2029 projects

Projects that are alternatives of or similar to company-flow

flycheck-dmd-dub
flycheck and DCD dub support to enable D IDE features in Emacs
Stars: ✭ 14 (-56.25%)
Mutual labels:  melpa, flycheck
emacs-company-dict
A port of ac-source-dictionary to company-mode, plus annotation and documentation support.
Stars: ✭ 31 (-3.12%)
Mutual labels:  melpa
Explain Pause Mode
top, but for Emacs.
Stars: ✭ 158 (+393.75%)
Mutual labels:  melpa
flycheck-popup-tip
Display Flycheck error messages using popup.el
Stars: ✭ 30 (-6.25%)
Mutual labels:  flycheck
Modern Cpp Font Lock
C++ font-lock for Emacs
Stars: ✭ 159 (+396.88%)
Mutual labels:  melpa
emacs-easy-jekyll
Emacs major mode for managing jekyll
Stars: ✭ 53 (+65.63%)
Mutual labels:  melpa
Emacs Solaire Mode
If only certain buffers could be so grossly incandescent.
Stars: ✭ 129 (+303.13%)
Mutual labels:  melpa
ssh-config-mode-el
emacs mode for editing ssh config files.
Stars: ✭ 46 (+43.75%)
Mutual labels:  melpa
hover.el
Flutter tool to run hover on emacs
Stars: ✭ 38 (+18.75%)
Mutual labels:  melpa
elcord
Discord Rich Presence / Gamebridge support for Emacs!
Stars: ✭ 149 (+365.63%)
Mutual labels:  melpa
flycheck-languagetool
Flycheck support for LanguageTool
Stars: ✭ 44 (+37.5%)
Mutual labels:  flycheck
Evil Multiedit
Multiple cursors for evil-mode, based on iedit
Stars: ✭ 200 (+525%)
Mutual labels:  melpa
osx-trash
Make Emacs' delete-by-moving-to-trash do what you expect it to do on OS X.
Stars: ✭ 22 (-31.25%)
Mutual labels:  melpa
Lsp Haskell
lsp-mode ❤️ haskell
Stars: ✭ 158 (+393.75%)
Mutual labels:  melpa
emacs-antiproxy
🔓 anti proxy/firewall setup using git repo mirrors of package archives. (local melpa)
Stars: ✭ 24 (-25%)
Mutual labels:  melpa
Linum Relative
display relative line number in the left margin in emacs
Stars: ✭ 152 (+375%)
Mutual labels:  melpa
Emacs Easy Hugo
Emacs major mode for managing hugo
Stars: ✭ 235 (+634.38%)
Mutual labels:  melpa
eshell-up
Quickly go to a specific parent directory in eshell
Stars: ✭ 28 (-12.5%)
Mutual labels:  melpa
phpstan.el
Interface to PHPStan (PHP static analyzer)
Stars: ✭ 22 (-31.25%)
Mutual labels:  flycheck
psysh.el
PsySH on Emacs, PHP interactive shell (REPL)
Stars: ✭ 27 (-15.62%)
Mutual labels:  melpa

Company flow MELPA

Flow backend for company-mode. Flow-based autocomplete for Emacs.

Installation

You can install this package from Melpa

M-x package-install RET company-flow RET

Usage

Ensure that flow is in your path.

Add to your company-backends for your preferred javascript modes, for example:

(eval-after-load 'company
  (add-to-list 'company-backends 'company-flow))

Configuration

company-flow-executable

Buffer local variable that should point to the flow executable. Defaults to "flow". Set to nil to disable company-flow.

For best performance, you can set this to the actual flow binary in your project. Here's one way to do that:

(defun flow/set-flow-executable ()
  (interactive)
  (let* ((os (pcase system-type
               ('darwin "osx")
               ('gnu/linux "linux64")
               (_ nil)))
         (root (locate-dominating-file  buffer-file-name  "node_modules/flow-bin"))
         (executable (car (file-expand-wildcards
                           (concat root "node_modules/flow-bin/*" os "*/flow")))))
    (setq-local company-flow-executable executable)
    ;; These are not necessary for this package, but a good idea if you use
    ;; these other packages
    (setq-local flow-minor-default-binary executable)
    (setq-local flycheck-javascript-flow-executable executable)))

;; Set this to the mode you use, I use rjsx-mode
(add-hook 'rjsx-mode-hook #'flow/set-flow-executable t)

company-flow-modes

List of major modes where company-flow should provide completions if it is part of company-backends. Set to nil to enable company-flow for all major modes.

Thanks

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].