Giter VIP home page Giter VIP logo

Comments (10)

joefitzgerald avatar joefitzgerald commented on May 10, 2024

Yes, the flicker is indeed undesirable. We could look to redirect the output to a temp directory (http://nodejs.org/api/os.html#os_os_tmpdir) - do you want to make an attempt at it and make a PR?

from go-plus.

joefitzgerald avatar joefitzgerald commented on May 10, 2024

I just went ahead and fixed it - hope that's ok. Unfortunately this only redirects output for files which are not test files - saving a test file still causes a flicker in the tree, as I'm not sure you can redirect test output generated via the -c flag.

from go-plus.

AlexanderEkdahl avatar AlexanderEkdahl commented on May 10, 2024

Still an improvement! Is there anything else that I might help with? I looked at the gocode integration but found it difficult + the atom autocomplete UI is lacking

from go-plus.

joefitzgerald avatar joefitzgerald commented on May 10, 2024

Gocode integration is largely dependent on us making a PR against the core autocomplete package (which should find its way downstream to autocomplete-plus). Specifically, we need to introduce some events we can subscribe to that will permit us to step into the autocomplete pipeline and make suggestions.

from go-plus.

joefitzgerald avatar joefitzgerald commented on May 10, 2024

Issue for test output redirection: https://code.google.com/p/go/issues/detail?id=7724

from go-plus.

joefitzgerald avatar joefitzgerald commented on May 10, 2024

Proposed patch to go test to support test output redirection: https://codereview.appspot.com/85230043

from go-plus.

joefitzgerald avatar joefitzgerald commented on May 10, 2024

Looks like this will be fixed after go 1.4 is released: https://code.google.com/p/go/source/detail?r=ed23bbff73da

from go-plus.

joefitzgerald avatar joefitzgerald commented on May 10, 2024

Update: go 1.4 will ship with the changes required to prevent the test binary flicker: http://tip.golang.org/doc/go1.4#minor_library_changes

The go test subcommand has a new flag, -o, to set the name of the resulting binary, corresponding to the same flag in other subcommands. The non-functional -file flag has been removed.

from go-plus.

joefitzgerald avatar joefitzgerald commented on May 10, 2024

I'm going to preemptively support this so that when 1.4 drops it will just work 😄.

from go-plus.

joefitzgerald avatar joefitzgerald commented on May 10, 2024

golang/go@ce143f2 << this is now released in go 1.4 - I'd appreciate any feedback on whether this now suppresses the flicker in go 1.4, or if you still see it.

from go-plus.

Related Issues (20)

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.