Substring Detector
Description
Substring Detector is a Visual Studio Code extension designed to enhance text editing and analysis by detecting specific substrings within your code or text files. This extension is particularly useful for quickly identifying and understanding acronyms or specialized terms.
It really is just an acronym expander.
Features
- Substring Detection : Automatically detects predefined substrings within your text.
- Customizable : Allows users to define their own list of substrings and replacements.
- Contextual Usage : Activates via the command palette, status bar item, or right-click context menu.
How to Activate
- Command Palette : Use the command
Ctrl+Shift+P
(or Cmd+Shift+P
on macOS), then search for "Detect Substrings."
- Status Bar : Click on the "Detect Substrings" item in the status bar.
- Context Menu : Right-click on the selected text and choose "Detect Substrings" from the context menu.
Installation
Install the extension directly from the Visual Studio Code Marketplace. Search for "Substring Detector" and click install.
Usage
After installation, highlight any text in your editor and activate the extension using one of the methods described above. The extension will display the detected substrings and their meanings or replacements.
Configuration
Configure the extension by adding custom substrings and their replacements in the settings. This can be done via Preferences -> Settings -> Extensions -> Substring Detector
.
Example:
"substring-detector.substringReplacements": [
{
"replacement": "HyperText Markup Language",
"substring": "HTML"
},
{
"replacement": "Cascading Style Sheets",
"substring": "CSS"
},
{
"replacement": "American Standard Code for Information Interchange",
"substring": "ASCII"
},
{
"replacement": "National Aeronautics and Space Administration",
"substring": "NASA"
}
],
Known Issues
Calling out known issues can help limit users opening duplicate issues against your extension.
Release Notes
For detailed release notes, check the CHANGELOG.md
file in the extension's directory or the extension's Marketplace page.
Enjoy!