A Visual Studio Code extension that lets you apply blur effects to selected code sections. This helps during the learning process by allowing you to gradually reduce blur as you understand code sections better.
- Apply blur effects to selected code with customizable intensity (0-1)
- Control blur intensity via sidebar UI and context menu
- Store and restore blur positions when reopening files
- Customizable blur levels for different code sections
- Visual indication of blurred regions
- Select a the code blur from the sidebar
- Select the code you want to blur
- click on apply blur in the sidebar
-
Use the sidebar controls to:
- Apply blur to selected text
- Remove blur from selected text
- Increase/decrease blur intensity
- Clear all blur effects
-
Alternatively, use the context menu options when text is selected:
- "Apply Blur Effect"
- "Remove Blur Effect"
- "Increase Blur Intensity"
- "Decrease Blur Intensity"
As you understand code sections better, gradually decrease the blur intensity until you no longer need the blur effect.
This extension doesn't add any VS Code settings yet.
No default keyboard shortcuts are provided, but you can add your own by customizing keybindings.json:
[
{
"key": "ctrl+alt+b",
"command": "codeBlur.applyBlur",
"when": "editorHasSelection"
},
{
"key": "ctrl+alt+n",
"command": "codeBlur.removeBlur",
"when": "editorHasSelection"
}
]- Download the .vsix file from the releases section
- Open VS Code
- Go to Extensions view (Ctrl+Shift+X)
- Click the "..." menu in the top-right
- Select "Install from VSIX..." and choose the downloaded file
- Clone the repository
- Run
npm installto install dependencies - Run
npm run compileto compile the extension - Run
npm run packageto create the .vsix file
MIT
