Giter Site home page Giter Site logo

atom-gtags's People

Contributors

codingbelief avatar darfux avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

darfux

atom-gtags's Issues

Hitting ESC to close result list does not return focus to editor

@codingbelief this is a fantastic plugin, thanks for your hard work! This is the only tags plugin which works with our very large codebase, and is very fast and works very well.

It seems when there is a result list (common when using alt+2 and alt+3) and if you hit ESC, it doesn't return focus to the editor pane that you had open.

Some notes about my editor:

  • Using vim-mode-plus
  • Have a split window (two panes)

Uncaught TypeError: Cannot read property 'error' of undefined

Hi,
Your package is really helpful. It helps me to switch from sublime to atom.

But There's a small bug when there's no tag file in any project directory and I use Alt+1 to get definition. In the developer console I got this message:

Uncaught TypeError: /home/user/code/git/atom-gtags/lib/main.coffee:350
Cannot read property 'error' of undefined

And this is caused by an undefined variable, and can be fixed by the following diff.

diff --git a/lib/gtags-symbols.coffee b/lib/gtags-symbols.coffee
index 24ea614..c21114f 100644
--- a/lib/gtags-symbols.coffee
+++ b/lib/gtags-symbols.coffee
@@ -93,6 +93,7 @@ class GtagsSymbols
gtagsCommand: (options, arg) ->
syms = []
stas = {}
+ status = {}
paths = atom.project.getPaths()
for path in paths
if @hasTagsFile(path)

Exclude folders

Is there a way to exclude folders from the tags generation on a project?

spawnSync ENOENT

ubuntu14.04-64bit
Atom 1.8.0
gnu global already installed from source, and works ok in emacs.

While using atom-gtags in atom, something goes wrong:
press alt-1(or 2 ...)

[Gtags]global not found
Error: spawnSync ~/.atom/package/atom-gtags/vendor/linux/global ENOENT

then I file ~/.atom/package/atom-gtags/vendor/linux/global and find the gtags and global residing here are 32-bit ELF. It seems atom-gtags does not use the gtags and global which already installed in the system, but using these 32-bit ones.

"alt-4 : Look up symbol definition in the project" doesn't work

First, thanks for this great atom package, it is really useful.

I've a problem, when i use the keyboard shortcut "alt+4" or "Atom Gtags: Lookup Definition" in the command palette, it doesn't find anything, it says "No matches found".

Instead the feature "alt-3 : List all symbols of the file" works fine.
I'm doing something wrong or it's a bug?

Thanks

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.