A collection of text utilities for VS Code: case transforms, encoding/decoding, filename copy, trimming, number to text, and more.
Features
uText — String/Text transforms
Case transforms
| Command | Input → Output |
|---|---|
uText: UPPER CASE |
hello world → HELLO WORLD |
uText: lower case |
HELLO WORLD → hello world |
uText: Capitalize Each Word |
hello world → Hello World |
uText: camelCase |
tôi là ai, anh là tôi → tôiLàAi,AnhLàTôi |
uText: PascalCase |
hello_world → HelloWorld |
uText: Sentence case |
tôi là ai. tôi không phải anh → Tôi là ai. Tôi không phải anh |
uText: tOGGLE cASE |
Hello World → hELLO wORLD |
First character
| Command | Input → Output |
|---|---|
uText: F C W B (First char with space) |
hello world → h w |
uText: Fcwb (First char no space) |
hello world → hw |
Trimming / Remove
| Command | Input → Output |
|---|---|
uText: Trimming Space |
hello world → hello world |
uText: RemoveSpace |
h e l l o → hello |
uText: Remove newline |
hello\nworld\r\n! → helloworld! |
uText: Remove duplicate newline |
a\n\n\nb → a\nb |
uText: Remove non-ASCII |
Tôi là anh → Ti la anh |
uText: Remove ASCII |
Tôi là anh → ôàa |
Encode / Decode
| Command | Input → Output |
|---|---|
uText: Base 64 Encode |
Hello → SGVsbG8= |
uText: Base 64 Decode |
SGVsbG8= → Hello |
uText: URL Encode |
q=tôi → q%3Dt%C3%B4i |
uText: URL Decode |
q%3Dt%C3%B4i → q=tôi |
uText: Full URL Encode |
hello world?q=tôi → hello%20world?q=t%C3%B4i |
uText: Full URL Decode |
hello%20world?q=t%C3%B4i → hello world?q=tôi |
uText: Unicode Escape |
✓ → \u2713 |
uText: Unicode Unescape |
\u2713 → ✓ |
uText: MD5 Encode |
hello → 5d41402abc4b2a76b9719d911017c592 |
Convert
| Command | Input → Output |
|---|---|
uText: Unicode to ASCII |
tiếng việt → tieng viet |
uText: Text to Hex |
ABC → 414243 |
uText: Hex to Text |
414243 → ABC |
uText: Number to text EN |
123 → one hundred twenty three |
uText: Number to text VI |
123 → một trăm hai mươi ba |
Filex — Filename copy
| Command | Description |
|---|---|
Filex: Copy Filename |
Copy filename from Explorer or tab |
Filex: Copy Filename Without Extension |
Copy filename without extension |
Filex: Copy Filename of Active File |
Copy filename of current file |
Filex: Copy Filename Without Extension of Active File |
Copy filename (no ext) of current file |
Usage
Context Menu (Right-click)
In editor: right-click → uText ▸ or Filex ▸ In Explorer or tab title: right-click → Filex ▸
Command Palette
Press Ctrl+Shift+P, type uText: or Filex: to see all commands.
Selection
For text transforms, select text → right-click → uText ▸ → choose command. The selected text is replaced in-place.
Requirements
- VS Code 1.96.0 or later
Extension Settings
This extension contributes no settings.
Known Issues
- None
Release Notes
0.0.1
Initial release:
- 28+ uText commands (case, transform, encode/decode, trim, convert)
- 4 Filex filename copy commands with context menu support
- Submenu organization (uText & Filex)
- Full Unicode, URL, Base64, MD5, Hex support
License
MIT