SQL Obfuscator is a Visual Studio Code extension that lets you obfuscate selected identifiers in your code—regardless of the programming language. Whether you're working with SQL, JavaScript, Python, or any other language, this extension allows you to quickly select variables, table names, or any identifiers and replace them with obfuscated versions.
Features
Candidate Selection:
Use your cursor to select an identifier and add it as an obfuscation candidate. All occurrences of the candidate are highlighted in your document. Make sure to setup shortcut for adding a candidate - it's much more convinient that way :-)
Obfuscation:
Replace all highlighted candidates with obfuscated names generated by a simple naming algorithm (e.g., a, b, c, ...).
Deobfuscation:
Revert the obfuscation by using a stored dictionary, returning your code back to its original state.
Language Agnostic:
Works with any language since it operates on plain text selections.
Installation
Clone the Repository:
git clone https://github.com/your-username/sql-obfuscator.git
cd sql-obfuscator