Skip to content

Commit

Permalink
Put ✨ at the end of Quick Fix label
Browse files Browse the repository at this point in the history
Fixes #117
  • Loading branch information
nicoespeon committed Jul 6, 2020
1 parent c12ce6f commit fb3b851
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed

- Update the Quick Fixes labels to put "✨" at the end. This allows you to use your keyboard to select a Quick Fix, as it's standard OS behavior. Thanks @OliverJAsh for reporting this accessibility issue!

### Added

- "Extract Variable" now extracts substring if that's what you selected!
Expand Down
2 changes: 1 addition & 1 deletion src/action-providers.ts
Expand Up @@ -113,7 +113,7 @@ class RefactoringActionProvider implements vscode.CodeActionProvider {

private buildCodeActionFor(refactoring: RefactoringWithActionProvider) {
const action = new vscode.CodeAction(
`${refactoring.actionProvider.message}`,
`${refactoring.actionProvider.message}`,
vscode.CodeActionKind.RefactorRewrite
);

Expand Down

0 comments on commit fb3b851

Please sign in to comment.