Skip to main content

A CLI tool to search source files by comments

Project description

Search Comment

Search Comment is a command-line tool that helps developers find files by searching the comments written inside code files instead of searching by file name.

Why this project?

Sometimes developers remember:

  • what the code does
  • what comment they wrote

But they do not remember:

  • the exact file name
  • the exact folder path

This tool solves that problem.

Windows Support

This tool works on Windows.
Make sure your editor (like VS Code) is added to system PATH.

Example:

  • Install VS Code
  • Enable "Add to PATH" option

Features

  • Search files using comment text
  • Supports languages like Java, Python, C, C++, HTML, and CSS
  • Optional path-based search
  • Lets user choose the file and open it in an editor
  • Filters many junk/system folders
  • Works as a CLI tool

Example Usage

search-comment "prime"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

search_comment-0.1.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

search_comment-0.1.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file search_comment-0.1.0.tar.gz.

File metadata

  • Download URL: search_comment-0.1.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for search_comment-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8f465cfabe3f9759c15005b0658e1239898e22e6ac18ced3a2ecc5f9a31ef5f2
MD5 aab242ee768d7d481b44c9fbcf9fbe18
BLAKE2b-256 6994b3f6a782a9539f95257998c27cb9598a2933ea885a76b99987d0436db075

See more details on using hashes here.

File details

Details for the file search_comment-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: search_comment-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for search_comment-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ccadecea885573df93832875d0acdaf67ef356dca1f4a1b58fcd2fb57dfd1336
MD5 3329f9c34291aa23bd0a9b68e54264cf
BLAKE2b-256 1f378afafe81f37528d27bd78b7c9c76f2b4b44fea2a185cb1aa6771c6397e7b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page