Skip to content

Commit

Permalink
Remove artificial indentation from code mining
Browse files Browse the repository at this point in the history
Don't try to add custom indentation to the label by prefixing it with
whitespace. That leads to the confusing situation that _some_ of the
whitespace between the class declaration and the code mining text is
clickable and some is not.
  • Loading branch information
Bananeweizen authored and RoiSoleil committed Dec 27, 2023
1 parent ed3d0ed commit ef32cf2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ protected CompletableFuture<Void> doResolve(ITextViewer viewer, IProgressMonitor
IMember memberToJump = typeFacade.getOneCorrespondingMember(request);
if(memberToJump != null)
{
setLabel(" Jump to " + testOrTested + " class");
setLabel("Jump to " + testOrTested + " class");
}
else
{
Expand Down Expand Up @@ -108,7 +108,7 @@ else if(typeFacade instanceof TestCaseTypeFacade)
}
if(jumpable)
{
setLabel(" Jump to " + testOrTested + " method");
setLabel("Jump to " + testOrTested + " method");
}
else
{
Expand Down

0 comments on commit ef32cf2

Please sign in to comment.