Overview Version History Q & A Rating & Review
Suffixly - Smart Postfix Templates
Suffixly is a powerful VS Code extension that brings smart postfix template functionality to your coding workflow. With built-in type inference and customizable templates, it helps you write code faster and more efficiently.
Features
🎯 Smart Type Detection
Automatically detects variable types (strings, numbers, arrays, promises, etc.)
Suggests relevant templates based on the detected type
Works with TypeScript, JavaScript, and more
🚀 Easy-to-Use Templates
Built-in templates for common operations
Customizable template system
Type-aware suggestions
⚡ Quick Usage
Type your variable name
Add a dot (.)
Type your template trigger
Press space or tab to expand
Examples
// String operations
"hello".upper → "hello".toUpperCase()
"world".lower → "world".toLowerCase()
// Array operations
[1,2,3].each → [1,2,3].forEach(item => )
users.map → users.map(user => )
// Promise operations
getData().await → await getData()
response.then → response.then(result => )
// Number operations
42.abs → Math.abs(42)
price.fixed → price.toFixed(2)
Commands
Suffixly: Add Postfix Entry
- Add a new custom template
Suffixly: Expand Postfix (Manual)
- Manually expand a template (Ctrl+E)
Custom Templates
Add your own templates using the command palette:
Press Ctrl+Shift+P
Type "Suffixly: Add Postfix Entry"
Enter the trigger (e.g., "upper")
Enter the template (use $t as placeholder for the target text)
Configuration
No configuration needed! Just install and start using. Templates are stored per workspace.
Requirements
License
MIT
Contributing
Found a bug or have a feature request? Open an issue on GitHub .
Enjoy coding faster with Suffixly! 🚀