Skip to content

Eclipse plugin someomes doesn't indent correctly until save #33

New issue

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

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

Already on GitHub? # to your account

Closed
philwebb opened this issue Jun 1, 2018 · 1 comment
Closed

Eclipse plugin someomes doesn't indent correctly until save #33

philwebb opened this issue Jun 1, 2018 · 1 comment
Milestone

Comments

@philwebb
Copy link
Contributor

philwebb commented Jun 1, 2018

I did extract variable on

	@Test
	public void convertFromStringToInetAddressWhenHostDoesNotExistShouldThrowException() {
		this.thrown.expect(ConversionFailedException.class);
		this.conversionService.convert("ireallydontexist.example.com", InetAddress.class);
	}

and got

	@Test
	public void convertFromStringToInetAddressWhenHostDoesNotExistShouldThrowException() {
		this.thrown.expect(ConversionFailedException.class);
		String missingDomain = "ireallydontexist.example.com";
this.conversionService.convert(missingDomain, InetAddress.class);
	}
@philwebb
Copy link
Contributor Author

philwebb commented Jun 1, 2018

Another example is adding test method using the shortcut. It adds extra lines.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant