All Projects → ericdallo → hover.el

ericdallo / hover.el

Licence: GPL-3.0 license
Flutter tool to run hover on emacs

Programming Languages

emacs lisp
2029 projects
Makefile
30231 projects

Projects that are alternatives of or similar to hover.el

go-flutter-plugin-sqlite
try implement go version sqlite channel for flutter sqflite plugin[desktop only]
Stars: ✭ 16 (-57.89%)
Mutual labels:  flutter-desktop, go-flutter
vscode-ethover
Ethereum Account Address Hover Info and Actions
Stars: ✭ 35 (-7.89%)
Mutual labels:  hover
Auto Complete
Emacs auto-complete package
Stars: ✭ 1,622 (+4168.42%)
Mutual labels:  melpa
Emacs Easy Hugo
Emacs major mode for managing hugo
Stars: ✭ 235 (+518.42%)
Mutual labels:  melpa
Linum Relative
display relative line number in the left margin in emacs
Stars: ✭ 152 (+300%)
Mutual labels:  melpa
elcord
Discord Rich Presence / Gamebridge support for Emacs!
Stars: ✭ 149 (+292.11%)
Mutual labels:  melpa
Graphql Mode
An Emacs mode for GraphQL
Stars: ✭ 120 (+215.79%)
Mutual labels:  melpa
osx-trash
Make Emacs' delete-by-moving-to-trash do what you expect it to do on OS X.
Stars: ✭ 22 (-42.11%)
Mutual labels:  melpa
HoveringCallback
Drag & drop item decorator for RecyclerView with support for highlighting hovered items.
Stars: ✭ 15 (-60.53%)
Mutual labels:  hover
Bm
bm.el -- Visual Bookmarks for GNU Emacs
Stars: ✭ 204 (+436.84%)
Mutual labels:  melpa
Evil Multiedit
Multiple cursors for evil-mode, based on iedit
Stars: ✭ 200 (+426.32%)
Mutual labels:  melpa
Explain Pause Mode
top, but for Emacs.
Stars: ✭ 158 (+315.79%)
Mutual labels:  melpa
pedax
Reversi Board with edax, which is the strongest reversi engine.
Stars: ✭ 18 (-52.63%)
Mutual labels:  flutter-desktop
Emacs Solaire Mode
If only certain buffers could be so grossly incandescent.
Stars: ✭ 129 (+239.47%)
Mutual labels:  melpa
eshell-up
Quickly go to a specific parent directory in eshell
Stars: ✭ 28 (-26.32%)
Mutual labels:  melpa
Selectric Mode
⌨ Make your Emacs sound like a proper typewriter.
Stars: ✭ 121 (+218.42%)
Mutual labels:  melpa
Modern Cpp Font Lock
C++ font-lock for Emacs
Stars: ✭ 159 (+318.42%)
Mutual labels:  melpa
dart vlc
🎞 Flutter audio / video playback, broadcast & recording library for Windows & Linux.
Stars: ✭ 439 (+1055.26%)
Mutual labels:  flutter-desktop
wolfram.el
Wolfram Alpha integration
Stars: ✭ 69 (+81.58%)
Mutual labels:  melpa
emacs-easy-jekyll
Emacs major mode for managing jekyll
Stars: ✭ 53 (+39.47%)
Mutual labels:  melpa

MELPA Actions Status Codacy Badge

hover.el

Emacs tool for running flutter mobile apps on desktop using hover.

If you want to run flutter on a emulator from Emacs, you should check flutter.el.

Installation

You can install from MELPA with package.el:

M-x package-install hover

Running

hover.el helps you run the hover binary interactively as an inferior process. It's designed to work together with dart-mode. For example you can bind hover-run-or-hot-reload to C-M-z in dart-mode. While editing your Dart code, just hit C-M-z to either run your app, or if it's already running, to hot-reload it.

Configuration

Variable Description Default value
hover-command-path Path to the hover executable command tries to use hover if exists in $PATH
hover-flutter-sdk-path Path to flutter sdk path to find flutter executable command tries to find flutter executable in $PATH
hover-hot-reload-on-save On buffer save, triggers hover hot-reload (if hover is running) nil
hover-screenshot-path If non-nil, save hover screenshot on specified folder. project root
hover-screenshot-prefix Prefix for file name on hover-take-screenshot. hover-
hover-observatory-uri Hover custom observatory-uri. http://127.0.0.1:50300
hover-clear-buffer-on-hot-restart Calls hover-clear-buffer after a hover-hot-restart nil

Example

The following example uses all available configurations above, you can customize as you wish.

;; Assuming usage with dart-mode
(use-package dart-mode
  :custom
  (dart-sdk-path (concat (getenv "HOME") "/flutter/bin/cache/dark-sdk/")
   dart-format-on-save t))

(use-package hover
  :after dart-mode
  :bind (:map hover-minor-mode-map
              ("C-M-z" . #'hover-run-or-hot-reload)
              ("C-M-x" . #'hover-run-or-hot-restart)
              ("C-M-p" . #'hover-take-screenshot'))
  :init
  (setq hover-flutter-sdk-path (concat (getenv "HOME") "/flutter") ; remove if `flutter` is already in $PATH
        hover-command-path (concat (getenv "GOPATH") "/bin/hover") ; remove if `hover` is already in $PATH
        hover-hot-reload-on-save t
        hover-screenshot-path (concat (getenv "HOME") "/Pictures")
        hover-screenshot-prefix "my-prefix-"
        hover-observatory-uri "http://my-custom-host:50300"
        hover-clear-buffer-on-hot-restart t)
  (hover-minor-mode 1))

Thanks to flutter.el which inspired this project.

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].