Git Product home page Git Product logo

sublimegtags's Introduction

tl;dr

offers github

Hi, I'm Tabito Ohtani, software engineer working in Tokyo,Japan. overflow, inc CTO. Offers開発中.

koko1000ban's github stats Top Langs

sublimegtags's People

Contributors

koko1000ban avatar o-darshan avatar pitkali avatar wbond avatar

Stargazers

 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  avatar

sublimegtags's Issues

For Sublime Text Build 3114 x64, it cannot works!!!!

The ERROR information is:

TypeError: environment can only contain strings

I have found that path.encode('utf-8') causes this problem in the file D:...\Sublime Text\Data\Packages\SublimeGtags\gtags.py, it will convert the "F:/project" to b"F:/project":

class TagFile(object):
    def _expand_path(self, path):
        path = os.path.expandvars(os.path.expanduser(path))
        if IS_WINDOWS:
            path = path.encode('utf-8')
        return path

So, I added this If statement if int(sublime.version()) < 3000::

class TagFile(object):
    def _expand_path(self, path):
        path = os.path.expandvars(os.path.expanduser(path))
        if IS_WINDOWS:
            if int(sublime.version()) < 3000:
                path = path.encode('utf-8')
        return path

NOW, it works fine~!

Add find references variant that works more like find in files

I commonly search through different references to a symbol when, for example, changing the way it should be used.

It would be much more convenient to do, if it was possible to get a buffer working like find in files: listing all occurrences, and allowing you to:

  • Click some occurrence to visit its file and line. Inspect/code/whatever.
  • Go back to the references list, and without searching again click next occurrence.

I could even use the same for Go to symbol, but that would probably be less useful in general case.

ST3 support!

I think SublimeGtags is the best choice for checking symbol definition and references in Sublime.

Missing it so much for ST3 support.

Enable path shortening when searching for references

When searching for all references of a symbol in a project with long paths these paths become hardly readable. (Especially if you use 2-column layout so that the view of the file is quite narrow, say 100 characters.)

It would help if there was an option to remove prefixes of these paths, and, for example, instead of showing absolute paths, show paths relative to the located tags file.

navigate to definition

I prepare to make index for linux kernel . I install this plugin with the Package Control,          but the "navigate to definition" and "find references" can't use. 

My system is Mac. The sublime text version is new.

After install, Need I do something ?

Broken tags rebuild

After 402c8eb tag rebuilding stopped working.

Gtags process is started, but it does nothing (no cpu activity), and never ends.

Given the fix I've already prepared and will push, I guess this is triggered by gtags showing some errors in my code base, and as a result of usage of wait(), deadlocking.

plugin does not work when restart sublime text2

when I install this plugin in my sublimetext2, and run gtags -v to create GTAGS files successfully. it works in the first time to navigate definition, find references and so on. But when I restart sublimetext2, then do the same operation ,it does not work. please help to check it. thanks a lot

qbai

GTAGS not found.

I installed SublimeGtags via package control within sublime text 2 and added the path to the GTAGS files generated with gtags (in user's Gtags.sublime-settings) and the "Navigate to Definition" and "Find References" both fail with a "GTAGS not found. build tags by 'gtags'" error. Any ideas why this happens?

i added this to my Gtags.sublime-settings:

{
// show relative paths in keyword jump selection panel
"show_relative_paths": true,

// a list of other locations to look up (GTAGSLIBPATH)
"extra_tag_paths" : ["/home/username/sandbox"]

}

the sandbox folder is where i generated the gtags (GTAGS, GPATH files).

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.