StringUtilities is a Sublime Text 3 plugin, which adds to the editor useful string functions like:
- Convert Tabs to Spaces
- Convert Spaces to Tabs
- Convert Spaces to Non-Breaking Spaces
- Convert Chars to Html Entities
- Convert Html Entities to Chars
- Convert Camel Case <-> Underscores
- Convert Single Quotes To Double
- Convert Double Quotes To Single
- Encode as URL Notation
- Decode from URL Notation
- Convert To Unicode Notation
- Convert From Unicode Notation
- Convert To Base64
- Convert From Base64
- Convert To Hex
- Convert From Hex
- Convert HTML Color From Hex To RGB
- Convert HTML Color From RGB To Hex
- Calculate Selection MD5
- Calculate Selection SHA1
- Convert Unixtime <-> Datetime
- Insert Current Datetime
- Generate Password (6 char)
- Generate Password (8 char)
- Generate Password (12 char)
- Generate Password (16 char)
- Generate Password (32 char)
- Generate Password (40 char)
- Generate Password (64 char)
- Insert Internal IP Address
- Insert External IP Address
- Pretify JSON String
No sponsors yet.. :(
If you like the software, don't forget to donate to further development of it!
- Install Package Manager.
- Use
Cmd+Shift+P
orCtrl+Shift+P
thenPackage Control: Install Package
. - Look for
StringUtilities
and install it.
If you prefer to install manually, install git, then:
Clone the repository in a subfolder "StringUtilities" in your Sublime Text "Packages" directory:
git clone https://github.com/akalongman/sublimetext-stringutilities "<Sublime Text 3 Packages folder>/StringUtilities"
The "Packages" directory is located at:
- Linux:
~/.config/sublime-text-2/Packages/
- OS X:
~/Library/Application Support/Sublime Text 2/Packages/
- Windows:
%APPDATA%/Sublime Text 2/Packages/
Or enter
sublime.packages_path()
into the console (Ctrl-`
).
- Right click on editor window (first select text if function is convert type) and select String Utilities menu item.
- Add some missed functions
- dateutil by Gustavo Niemeyer is used for adding extensions to the standard python 2.3+ datetime module.. PSF License