Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find/Replace does not work #1488

Closed
TT1x1 opened this issue Jul 4, 2024 · 2 comments
Closed

Find/Replace does not work #1488

TT1x1 opened this issue Jul 4, 2024 · 2 comments
Labels
needinfo Further information is requested

Comments

@TT1x1
Copy link

TT1x1 commented Jul 4, 2024

Find/Replace does not replace the found string correctly. With the sample code such as:

public class Test {

	public void a(int x) throws MyException {
		
	}

	public void b(int y, int b) throws MyException {
		
	}	
}

Do as follows:

  1. Try to find "MyException" in code (Direction: forward, Scope: all, Options: wrap search)
  2. When the first matching "MyException" word is found/highlighted, click "Replace/Find" or "Replace" to replace with "SomeOtherException"
  3. IDE skips the highlighted word and replaces the second "MyException" word with "SomeOtherException", which is not correct

This problem appears at least in:

  • Eclipse JEE 2024-03
  • Eclipse JEE 2024-06
@iloveeclipse
Copy link
Member

Can't reproduce on master following steps given. More info needed how to reproduce.

@iloveeclipse iloveeclipse added the needinfo Further information is requested label Jul 9, 2024
@iloveeclipse
Copy link
Member

Note: this is most likely not related to JDT UI at all (as find/replace is a Platfrom UI contributed feature), if you can reproduce, please create bug at https://github.com/eclipse-platform/eclipse.platform.ui.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needinfo Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants