Enhances code documentation and structure for plugin #3

Merged
AlexKucera merged 20 commits from docstrings into master 2025-10-25 10:50:22 +02:00
Showing only changes of commit 58575c1880 - Show all commits
-5
View File
@@ -42,11 +42,6 @@ export class CleanupCommand {
// Get selected text
const selectedText = editor.getSelection();
if (!selectedText || selectedText.trim().length === 0) {
new Notice('Please select some text to clean up');
return;
}
// Validate text selection before proceeding
const validation = this.validateSelection(selectedText);
if (!validation.isValid) {