- Notifications
You must be signed in to change notification settings - Fork17
Smart code search for Ruby, Go, and JavaScript
License
eapache/starscope
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Starscope is a code indexer, search and navigation tool forRuby,Golang, andJavaScript with a design intendedto make it easy to addsupport for other languages.
Inspired by the extremely popularCtagsandCscope utilities, Starscope can answer alot of questions about your code. It can tell you:
- where methods are defined
- where methods are called
- where variables are assigned
- where symbols are used
- where files and libraries are imported or required
While Ctags already supports many languages, it can only tell you where thingsare defined. Cscope can answer a lot more of your questions, but it is limitedto just the C language family. Starscope was written to combine the power ofCscope with the flexibility of Ctags, bringing full code indexing to as manydevelopers as possible.
Install it as a gem:
$ gem install starscope
Build your database by just running it in the project directory:
$ cd ~/my-project$ starscope
Ask it things directly:
$ starscope -q calls,new # Lists all callers of new
Export it to various existing formats for automatic integration with your editor:
$ starscope -e ctags$ starscope -e cscope
- Starscope is a supported backend forCodeQuery.
About
Smart code search for Ruby, Go, and JavaScript