小改动
This commit is contained in:
parent
924add33cd
commit
d45c3a5f41
@ -37,7 +37,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- Optimize QickPick conversion value display (优化 QickPick 转换值展示)
|
- Optimize QuickPick conversion value display (优化 QuickPick 转换值展示)
|
||||||
- Fixed typo: keyword of KEBAB_PASCAL_CASE, KEBAB_UPPER_CASE (修正 KEBAB_PASCAL_CASE, KEBAB_UPPER_CASE 关键词错误)
|
- Fixed typo: keyword of KEBAB_PASCAL_CASE, KEBAB_UPPER_CASE (修正 KEBAB_PASCAL_CASE, KEBAB_UPPER_CASE 关键词错误)
|
||||||
|
|
||||||
## 1.0.6
|
## 1.0.6
|
||||||
@ -57,7 +57,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- Add shortcut key `Shift + Alt + T` to show vscode QickPick window (添加快捷键 Shift + Alt + T 来显示 vscode QickPick 弹窗)
|
- Add shortcut key `Shift + Alt + T` to show vscode QuickPick window (添加快捷键 Shift + Alt + T 来显示 vscode QuickPick 弹窗)
|
||||||
- Write `README.md` (完善 README 文档)
|
- Write `README.md` (完善 README 文档)
|
||||||
|
|
||||||
## 1.0.3
|
## 1.0.3
|
||||||
|
@ -27,10 +27,10 @@ const userSelection: UserSelection = {
|
|||||||
export function onUserSelectionUpdated(selections: readonly vscode.Selection[], textList: string[], eol: EOL): void {
|
export function onUserSelectionUpdated(selections: readonly vscode.Selection[], textList: string[], eol: EOL): void {
|
||||||
userSelection.currentSelections = selections;
|
userSelection.currentSelections = selections;
|
||||||
if (textList.length !== 0 && isStringArrayEqual(textList, userSelection.lastConvertedSelectionsText)) {
|
if (textList.length !== 0 && isStringArrayEqual(textList, userSelection.lastConvertedSelectionsText)) {
|
||||||
console.log('skip onUserSelectionUpdated');
|
// console.log('skip onUserSelectionUpdated');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
console.log('onUserSelectionUpdated', textList, userSelection.lastConvertedSelectionsText);
|
// console.log('onUserSelectionUpdated', textList, userSelection.lastConvertedSelectionsText);
|
||||||
userSelection.currentEol = eol;
|
userSelection.currentEol = eol;
|
||||||
userSelection.currentSelectionsText = textList;
|
userSelection.currentSelectionsText = textList;
|
||||||
userSelection.currentIndex = 0;
|
userSelection.currentIndex = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user