Animation from VSCode 😉
Enhance your coding experience in Acode editor with smooth cursor animations for the Ace Editor component. This plugin replaces the default cursor behavior with a more visually pleasing and animated cursor that provides better visual feedback during editing.
- Smooth cursor animation that enhances the editing experience
- Customizable cursor styling through CSS
- Automatic cleanup when the plugin is unloaded
- Lightweight and performance-optimized implementation
Uninstall? (expand this)
Uninstall the Plugin/Disable it.
- Install the plugin directly from Acode's plugin marketplace/extenstions
- (If not Enabled) Enable the plugin in Acode settings
- (If needed) Restart Acode to apply the changes
The plugin works by injecting a custom CSS stylesheet (style-clean-default-animations.css) into the Acode editor's DOM. This stylesheet overrides the default Ace Editor cursor styling and adds smooth animations including:
- A custom blinking animation for the cursor
- A collapsing/expanding animation that triggers when the cursor position changes
- Smooth transitions for all cursor movements
The main TypeScript file (main.ts) handles:
- Injecting the stylesheet when the plugin initializes
- Adding animation classes to the cursor element when the editor content changes
- Cleaning up the injected styles when the plugin is unloaded
main.ts- The main plugin logic that handles initialization and cleanupstyle-clean-default-animations.css- Custom CSS that provides the smooth cursor animationsplugin.json- Plugin metadata and configurationicon.png- Plugin iconLICENSE- MIT License information
This project is licensed under the MIT License - see the LICENSE file for details.