Giter Site home page Giter Site logo

emacs-bazel-mode's People

Contributors

blais avatar condy0919 avatar dslomov avatar gduchene avatar kchygoe avatar laurentlb avatar notnarb avatar phst avatar riscy avatar tautomaton 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

Watchers

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

emacs-bazel-mode's Issues

Release emacs-bazel-mode to MELPA

Can we have this package release to MELPA so it can be easily installed?

I've never done it myself, but I'd be happy to help if there is anything I can do to make it happen.

Bazel mode doesn't automatically highlight all .bazel files.

Some build files that are written for third party libraries don't get bazel mode enabled. I needed to add:

(add-to-list 'auto-mode-alist
             '("\\.bazel" . bazel-build-mode))

to my configuration to enable bazel mode for those files.

Upon browsing the code, I've noticed the following works as well.

(add-to-list 'auto-mode-alist
             ;; https://docs.bazel.build/versions/3.0.0/build-ref.html#packages
             (cons (rx (or "/BUILD" ".bazel") eos) #'bazel-build-mode))

Therefore I've attached a PR that addresses this issue.

Would it be possible to add this directly to the mode?

Update README.md

The README.md file should probably include:

  • installation instruction
  • an overview of the features

Support highlighting triple-quoted strings

Thanks for putting effort into this project! It's looking pretty good so far.

One thing I've noticed as of late is that bazel-mode does not seem to be aware triple-quoted strings like python-mode is, resulting in syntax highlighting that looks like this:

image

This is most apparent when you take a look at complexrule declarations, which can easily become oddly highlighted.

Support command bazel configure

First of all thank you for this. It has been working great for me to run bazel test from Emacs.

I was wondering if this package could support a command like bazel-configure that would run bazel configure for the current directory or workspace root.

Alternatively if we could have generic bazel-command that can take the command as an arg that would work as well.

Support bazel args and run command args

First I want to say, thank you for writing this. It is a great enhancement over compilation-mode in a bazel environment. The missing feature I run into, however, is being able to pass arguments. Sometimes I need to pass args to bazel itself, like --compilation_mode=dbg, or --run_under=gdbserver, and sometimes I need to pass arguments to a run target, like bazel run //my/target -- some args. If you try to pass either of these in at the target prompt, this mode tries to escape the spaces and make them part of the target.

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.