NumPy SnippetBoxSmart, ultra-fast NumPy snippets for Python. Automatically detects your NumPy alias (np, numpy, or custom) and provides accurate, context-aware suggestions without slowing down VS Code. ⚡ Short & Punchy Ultra-fast NumPy snippets for Python with automatic alias detection. Works instantly with np, numpy, or any custom alias. 🧠 Technical A lightweight VS Code extension that uses AST-based analysis to detect NumPy imports and deliver real-time, alias-aware snippets with zero editor lag. 🚀 Marketing Style Boost your Python productivity with smart NumPy snippets. Alias-aware, fast, and optimized for large files—no configuration required. DocumentationNumPy SnippetBox is a high-performance VS Code extension for Python that delivers intelligent, alias-aware NumPy autocomplete and snippets. The extension automatically detects NumPy import aliases using AST parsing with a regex-based fallback, ensuring accuracy without impacting editor performance. This document describes the internal architecture, detection logic, and performance considerations for developers maintaining or extending the extension. Core Design Goals
Alias Detection Architecture
Why AST?
This hybrid model balances correctness and speed. Snippet Resolution Logic
Example:
📦 Extension Information
🌐 Open SourceNumPy SnippetBox is fully open source and available under the MIT License. You are welcome to:
GitHub Repository: https://github.com/vishvamramani/snippetbox-numpy About the DeveloperVishvam Ramani is a software developer focused on building high-performance, developer-friendly VS Code extensions for Python and productivity tools. His work emphasizes:
Contributions & Support:
Developed & Managed By: Vishvam Ramani GitHub: Vishvam Ramani |