Spotlight allows you to semantically search through your code. Roughly describe what you're searching for and Spotlight will redirect you to the file and line that matches your description.
How do I use it?
Contact tobiasworledge[at]berkeley[dot]edu to get your access API key.
Run "Spotlight Register" in the command palette and enter your API key.
Add comments to your project starting with the phrase "AIDOC:"
Open the Spotlight. Describe/Paraphrase one of your AIDOC comments. Press enter and Spotlight will redirect you.
Mac: Shift+Cmd+L opens the Spotlight
Windows/Linux: Shift+Ctrl+L opens the Spotlight
Example AIDOC comments
NodeJS Example://AIDOC: Method to retrieve account credentials
Python Example:#AIDOC: Method to retrieve account credentials
Note: Spaces between the comment token are also supported.
Ex: // AIDOC: ...
Supported file types
Python: .py
Javascript/NodeJS: .js
Typescript: .ts and .tsx
Known Issues
None (at the moment).
Release Notes
1.0.0
Initial release of Spotlight
1.0.1
Bugfixes
Handle delete events properly
Misc error handling
1.0.2
Bugfixes
Added support for Typescript files
1.0.3
Changed cache file name to .spotlight (from .spotlight.json)
Fixed bug that resulted in adding the cache file name to the .gitignore multiple times