Binance Athena Helper
VSCode extension for quickly finding and importing Athena APIs.
Features
- Quick API search from selected text
- Auto import API functions
- Support for manifest.json based API lookup
- Auto-completion support for TypeScript and JavaScript files
Installation
- Install from VSCode Marketplace
- Configure the extension settings (required)
Usage
1. Using Command Palette
- Press
Cmd+Shift+Space (Mac) or Ctrl+Shift+Space (Windows/Linux)
- Select the service from the dropdown
- Choose whether to use gray environment
- If using gray environment, enter the environment tag
- In the search box, type to filter APIs by name, path, or service
- Select the matching API from the filtered list
- The import statement will be automatically added to your file
2. Using Auto-completion (New)
- Type
@api to trigger auto-completion
- Select a service from the list
- Type
: to add gray environment tag (optional)
- Type any part of the API path to search
- Select the API to import
The extension provides a searchable list of all available APIs. You can:
- Search by API name
- Search by path
- Search by service name
- Use partial matches
Keyboard Shortcuts
Default shortcut:
- Mac:
Cmd+Shift+Space
- Windows/Linux:
Ctrl+Shift+Space
You can customize the shortcut in VSCode keyboard shortcuts settings:
- Open Command Palette (Cmd/Ctrl+Shift+P)
- Type "Preferences: Open Keyboard Shortcuts"
- Search for "Athena: Find API"
- Double click to change the shortcut
Requirements
Extension Settings
This extension contributes the following settings:
athenaHelper.baseUrl : Base URL for manifest files
athenaHelper.services : List of available Athena services
athenaHelper.keyBinding : Keyboard shortcuts configuration
Known Issues
Please report issues on the GitHub repository.
Release Notes
0.0.5
- Addeed find version from selection
0.0.4
- adjust README on marketplace
0.0.3
- Added auto-completion support
- Improved search functionality
- Support for pasting API paths
0.0.2
- Added support for TSX and JSX files
- Improved error handling
0.0.1
- Initial release of Athena Helper
- Basic API import functionality with command palette
Enjoy!
| |