Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Smart code search for Ruby, Go, and JavaScript

License

NotificationsYou must be signed in to change notification settings

eapache/starscope

Repository files navigation

Gem VersionRuby CICode of Conduct

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.

Quick Start

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

More Documentation

Other Uses

  • Starscope is a supported backend forCodeQuery.

[8]ページ先頭

©2009-2025 Movatter.jp