Skip to content

Commit 4fac188

Browse files
authored
Merge pull request #41 from MetamediaTechnology/staging
refactor: improved notification
2 parents 8a0805f + 179ee2d commit 4fac188

5 files changed

Lines changed: 7 additions & 12 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ All notable changes to the "longdo-spell-checker" extension will be documented i
55
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
66

77
## [Released]
8+
### [0.2.9] : 22/04/2568
9+
- refactor: Improved notification for better experience.
10+
811
### [0.2.8] : 21/04/2568
912
- feat: Set spell checking on save as the default behavior
1013
- refactor: Change configuration name from longdo-spell-checker to Longdo Spell Checker.
@@ -63,8 +66,7 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
6366
- improve: Refactored implementation to use dynamic variable references for better maintainability
6467

6568

66-
### [0.1.5] : 17/03/2568
67-
- perf: Improved code performance through optimization
69+
### [0.1.5] : 17/03/2568 perf: Improved code performance through optimization
6870
- improve: Enhanced TypeScript typing's for better type safety and developer experience
6971

7072
### [0.1.4] : 13/03/2568

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
],
2525
"description": "Thai/English Spell Checker: A fast and intelligent multilingual spell checker from Longdo Dict online dictionary service.",
2626
"publisher": "MetamediaTechnology",
27-
"version": "0.2.8",
27+
"version": "0.2.9",
2828
"engines": {
2929
"vscode": "^1.80.0"
3030
},

src/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { ApiResponse } from "./interface/types";
2-
import { updateEmoji } from "./ui";
2+
import { updateEmoji } from "./statusbar";
33
import * as vscode from "vscode";
44

55
/**

src/extension.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { spellCheckPromises } from "./spell";
55
import { ErrorsResult } from "./interface/types";
66
import { Diagnostics } from "./diagnostics";
77
import { Configuration } from "./configuration";
8-
import { showStatusBar, updateEmoji } from "./ui";
8+
import { showStatusBar, updateEmoji } from "./statusbar";
99

1010
let errorsResult: ErrorsResult[] = [];
1111
let markCheckList: ErrorsResult[] = [];
@@ -188,13 +188,6 @@ async function onSpellCheck() {
188188
);
189189

190190
if (results.length === 0) {
191-
if (
192-
vscode.workspace
193-
.getConfiguration("longdoSpellChecker")
194-
.get("checkOnSave")
195-
) {
196-
vscode.window.showInformationMessage("No spelling errors found.");
197-
}
198191
updateEmoji("$(pass)");
199192
return;
200193
}
File renamed without changes.

0 commit comments

Comments
 (0)