Quick Converter
A VS Code extension for quick epoch time conversion and basic calculations with instant auto-replace.
Features
🕐 Epoch Time Converter
Convert epoch timestamps to UTC+7 timezone (Vietnam time) with instant replacement.
Usage:
- Select an epoch timestamp in your editor
- Use
Ctrl+Shift+T (or Cmd+Shift+T on Mac)
- ✨ The timestamp will be instantly replaced with the converted time
Supported formats:
- Unix timestamp in seconds (e.g.,
1640995200 )
- Unix timestamp in milliseconds (e.g.,
1640995200000 )
Example:
1703752800000 → 2023-12-28 14:00:00.000 UTC+7
🧮 Basic Calculator
Evaluate mathematical expressions directly in your editor with equation + result format.
Usage:
- Select a mathematical expression in your editor
- Use
Ctrl+Shift+C (or Cmd+Shift+C on Mac)
- ✨ The expression will be instantly replaced with
expression = result
Supported operations:
- Basic arithmetic:
+ , - , * , /
- Parentheses for grouping:
( , )
- Decimal numbers:
3.14 , 0.5
Examples:
2 + 3 * 4 → 2 + 3 * 4 = 14
(10 + 5) / 3 → (10 + 5) / 3 = 5
3.14 * 2 → 3.14 * 2 = 6.28
Commands
- Convert Epoch Time to UTC+7: Instantly convert selected epoch timestamp to UTC+7 format
- Calculate Selected Expression: Instantly evaluate selected mathematical expression
Keyboard Shortcuts
Ctrl+Shift+T / Cmd+Shift+T : Convert epoch time (instant replace)
Ctrl+Shift+C / Cmd+Shift+C : Calculate expression (instant replace with equation format)
Installation
- Download the latest
.vsix file from releases
- Install via VS Code:
Extensions: Install from VSIX...
- Or install via command line:
code --install-extension quick-converter-x.x.x.vsix
License
🆓 Free Forever! This extension is licensed under the MIT License.
- ✅ Use for personal projects
- ✅ Use for commercial projects
- ✅ Modify the source code
- ✅ Distribute copies
- ✅ No fees, subscriptions, or limitations
See LICENSE.md for full details.
Release Notes
0.0.4 (Current)
- ✅ Added MIT License (Free Forever)
- ✅ Calculator now shows equation + result format
- ✅ Instant auto-replace for both features
- ✅ No more popup dialogs
0.0.3
- ✅ Calculator preserves original expression with result
- ✅ Format:
expression = result
0.0.2
- ✅ Auto-replace functionality
- ✅ No popup selection needed
0.0.1
- ✅ Initial release
- ✅ Basic epoch converter and calculator
Support
If you find this extension helpful, please:
- ⭐ Star the repository
- 🐛 Report issues on GitHub
- 💡 Suggest new features
Happy coding! 🚀
| |