andyscott / emacs-bazel-workspace

Emacs mode for interacting with Bazel workspaces

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bazel-workspace

An Emacs extension/mode for interacting with Bazel workspaces.

Usage

With a Bazel managed file open, bazel-workspace gives you:

C-c C-c b run bazel build
C-c C-c t run bazel test

bazel-workspace attempts to find an appropriate target to run for the open buffer.

Install

This extension lives in a git repo. Download it first with

git clone https://github.com/andyscott/emacs-bazel-workspace ~/.emacs.d/bazel-workspace

then do this if you use use-package

(use-package bazel-workspace
  :load-path "~/.emacs.d/bazel-workspace")

or this if you don’t.

(add-to-list 'load-path "~/.emacs.d/bazel-workspace")
(require 'bazel-workspace)

About

Emacs mode for interacting with Bazel workspaces


Languages

Language:Emacs Lisp 92.4%Language:Shell 7.6%