Skip to content

Commit

Permalink
Removed "use" from quick fix list elements
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardoferretti committed Jan 16, 2024
1 parent 2fba6e9 commit d586e63
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/foam-vscode/src/features/wikilink-diagnostics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,12 +240,12 @@ const createReplaceSectionCommand = (
section: string
): vscode.CodeAction => {
const action = new vscode.CodeAction(
`Use ${section}`,
`${section}`,
vscode.CodeActionKind.QuickFix
);
action.command = {
command: REPLACE_TEXT_COMMAND.name,
title: `Use section ${section}`,
title: `Use section "${section}"`,
arguments: [
{
value: section,
Expand All @@ -269,7 +269,7 @@ const createFindIdentifierCommand = (
possibleTargets: vscode.Uri[]
): vscode.CodeAction => {
const action = new vscode.CodeAction(
`Use ${vscode.workspace.asRelativePath(target)}`,
`${vscode.workspace.asRelativePath(target)}`,
vscode.CodeActionKind.QuickFix
);
action.command = {
Expand Down

0 comments on commit d586e63

Please sign in to comment.