Giter Club home page Giter Club logo

go-projectile's People

Contributors

bbigras avatar bdarnell avatar dougm avatar dsvensson avatar frobware avatar hmahmood avatar jsmestad avatar kat-co avatar syohex 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

go-projectile's Issues

How to add package to spacemacs

Hi, I am total emacs newbie, I've started with spacemacs and have no clue how to enable this package in it.

Would anyone help?

Causes UI lag in Emacs when in big projects

I don't have a detailed report about this, but with the go-projectile package enabled, and active buffer was from a big project with thousands of files, most of Emacs lagged, as in bringing up a list of buffers via ido-switch-buffer would take about 2-4 seconds compared to being instant when active buffer was from a smaller project.

The slow-down effected everything from projectile-find-file to C-x k (ido-kill-buffer).

Don't know if it helps much, but my emacs config is available here: https://github.com/jimeh/.emacs.d

If there's anything else I can provide, just ask, takes seconds to install go-projectile again to get the behavior back :)

Dependency on gocode

I'm trying to improve my emacs go editing experience and I've hit a bit of a snag. I like this package, but when it goes to install tools, one of those tools is gocode. I see that it installs it from a fork of the original, but that fork is not maintained any longer (github.com/mdempsky/gocode). It doesn't work at all with modules, which is the recommended method in lieu of GOPATH. There's another fork that supports modules, https://github.com/stamblerre/gocode. Unfortunately, it is also unmaintained. It recommends using gopls, which is what I'm using now and it works great. There are two places that I can see that use this tool.

  • go-eldoc uses gocode extensively. See emacsorphanage/go-eldoc#51 for an issue on that repo that's pretty old and hasn't been responded to by someone who can commit to that repo. In fact there are two PRs just to update the link in the README, so I think this is probably not going to get fixed.
  • go-projectile installs gocode, although I'm not sure exactly why other than for the benefit of go-eldoc (I didn't look very thoroughly). What are your thoughts on this?

error when install go-projectile-tools

Here is the output in *Messages*:

Go tool gocode: go get github.com/nsf/gocode
Go tool golint: go get github.com/golang/lint/golint
if: package golang.org/x/tools/go/gcimporter: unrecognized import path "golang.org/x/tools/go/gcimporter"
package golang.org/x/tools/go/types: unrecognized import path "golang.org/x/tools/go/types"

go-projectile-derive-gopath false positives

About half of my projects don't use a global GOPATH, but use GOPATH=pwd to contain everything in one directory.
go-projectile-set-gopath works OK for that purpose initially, but when switching from a buffer PROJ-ROOT1 (which has a main.go) to another buffer PROJ-ROOT2/main.go go-projectile-derive-gopath seems to fail.

The problem is that "rel" correctly ends up being "main.go", but since a main.go is also to be found in PROJ-ROOT1 (locate-file rel (split-string path path-separator t)) evaluated to "t" which causes GOPATH to be the old PROJ-ROOT1

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.