Skip to content

Commit

Permalink
Improved title of action for undefined name
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulKlint committed Nov 28, 2024
1 parent 1e94346 commit f5dd948
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/analysis/typepal/Solver.rsc
Original file line number Diff line number Diff line change
Expand Up @@ -1719,7 +1719,7 @@ Solver newSolver(map[str,Tree] namedTrees, TModel tm){
list[CodeAction] undefinedNameProposals(Use u, TModel tm)
=
[ action(
title="Replace undefined `<getOrgId(u)>`",
title="Replace by `<prop>`",
edits=[changed([replace(u.occ, prop)])]
)
| str prop <- tm.config.similarNames(u, tm)
Expand Down

0 comments on commit f5dd948

Please sign in to comment.