GithubHelp home page GithubHelp logo

go-guru's People

Contributors

db47h avatar jnmoal avatar joefitzgerald avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

go-guru's Issues

go-get & go-config

Just wanted to inform you that both go-config and go-get have been consolidated into go-plus as of go-plus v5.0.0. See joefitzgerald/go-plus#503. This means that both go-get and go-config will be unpublished from atom soon so installing your package in atom will fail after that.

In order to fix this you have to change your code so that it will install go-plus instead of go-get and go-config (see package-deps in package.json). Beside that nothing else changes because go-plus provides the same services as go-get and go-config now do. (see PR #10)

Yet there is another opportunity for you: integrate go-guru into go-plus!

  • it will be part of a way bigger community so everyone can benefit from your awesome package ๐Ÿ˜‰
  • more maintainers so we can share knowledge and issues could be fixed faster
  • go-plus provides some other nice features like a built-in panel which you could use to display your results instead of having an additional panel.

This can either be done by you or if you want we (the maintainers of go-plus) can do this. There is already a simple integration of guru in go-plus anyway so this won't be a big deal.

/cc @joefitzgerald

Failed to activate the go-guru package

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.38.2 x64
Electron: 2.0.18
OS: Unknown Windows version
Thrown From: go-guru package 0.2.0

Stack Trace

Failed to activate the go-guru package

At Cannot find module 'atom-package-deps'

Error: Cannot find module 'atom-package-deps'
    at Module._resolveFilename (module.js:543:15)
    at Module._resolveFilename (~/AppData/Local/atom/app-1.38.2/resources/electron.asar/common/reset-search-paths.js:35:12)
    at Function.get_Module._resolveFilename (~/AppData/Local/atom/app-1.38.2/resources/app/static/<embedded>:11:155156)
    at Module.require (/app.asar/static/index.js:53:43)
    at require (~/AppData/Local/atom/app-1.38.2/resources/app/static/<embedded>:11:146462)
    at Object.activate (/packages/go-guru/lib/go-guru.js:12:5)
    at Package.activateNow (~/AppData/Local/atom/app-1.38.2/resources/app/static/<embedded>:11:3539161)
    at measure (~/AppData/Local/atom/app-1.38.2/resources/app/static/<embedded>:11:3538573)
    at Package.measure (~/AppData/Local/atom/app-1.38.2/resources/app/static/<embedded>:11:3536204)
    at activationPromise.activationPromise.Promise (~/AppData/Local/atom/app-1.38.2/resources/app/static/<embedded>:11:3538433)
    at new Promise (<anonymous>)
    at Package.activate (~/AppData/Local/atom/app-1.38.2/resources/app/static/<embedded>:11:3538376)
    at PackageManager.activatePackage (~/AppData/Local/atom/app-1.38.2/resources/app/static/<embedded>:11:381112)
    at config.transactAsync (~/AppData/Local/atom/app-1.38.2/resources/app/static/<embedded>:11:380728)
    at Config.transactAsync (~/AppData/Local/atom/app-1.38.2/resources/app/static/<embedded>:11:330844)
    at PackageManager.activatePackages (~/AppData/Local/atom/app-1.38.2/resources/app/static/<embedded>:11:380678)
    at PackageManager.activate (~/AppData/Local/atom/app-1.38.2/resources/app/static/<embedded>:11:380296)
    at t.loadState.then (~/AppData/Local/atom/app-1.38.2/resources/app/static/<embedded>:1:710821)
    at <anonymous>

Commands

Non-Core Packages

go-build 0.2.2 
go-debug 1.6.2 
go-guru 0.2.0 
go-outline 0.6.11 
go-plus 6.1.0 
go-signature-statusbar 1.2.3 
go-to-test 0.1.0 
scratch undefined 

Add the possibility to change the scope used for "callers" mode

Actually the scope is computed automatically by the guru package, but for the following reason:

  • performance issue when the scope contains a lot of code
  • possible wrong scope used (depending on project structure)

For those reasons, the go guru package shall present the scope to the user and let him alter it.

guru describe mode

This package shall display all the information returned by the guru describe command.

See the guru documentation for the returned information

  • Type description
  • Value description
  • Package description

Unit tests and End to End tests

This package lacks of automated tests, at least to prevent any regression.

Add the "help wanted" flag because testing with javascript is new for me.

Find a better way to activate go-guru package

Actually the go-guru package activates when the user ask for the 'describe' mode.
Because of this, the functionnality is not working on the first call, the package doesn't display anything.

May be, this package should be activated when atom starts, or when a go file is open.

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.