Giter VIP home page Giter VIP logo

go-errcheck.el's Introduction

go-errcheck

go-errcheck provides an easy way to invoke errcheck from within Emacs.

It invokes errcheck with the current file's directory and optionally options for ignoring certain functions or packages. The output gets presented in a compilation buffer, allowing navigating errors.

Basic usage

Basic usage is as simple as invoking the function go-errcheck in a Go buffer. Calling go-errcheck with a prefix argument allows setting the ignorepkg and ignore flags interactively.

Customizations

go-errcheck offers two customizable options: go-errcheck-ignorepkg and go-errcheck-ignore, which correspondent to errcheck's flags. You can set their default values directly or via the customization menu.

You can also use file local variables as well as per-directory local variables. Because errcheck always operates on whole directories/packages, using per-directory variables might make more sense than using file local variables. They allow setting the ignorepkg and ignore flags for your packages so that errcheck will be invoked with them automatically.

Screenshot

Screenshot of go-errcheck

go-errcheck.el's People

Contributors

dominikh avatar dougm 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

Watchers

 avatar  avatar  avatar  avatar

go-errcheck.el's Issues

compile-goto-error does not open file automatically

Hey Dominik, thanks for this package

When I run go-errcheck-pkg and I want to go to an error in a file, I am asked to enter the file path if this file is not open in my Emacs yet. Why cannot it open the file automatically when I click on it? The file path is known.

(see minibuffer at the end of the gif)
demo

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.