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

Using directives put one line after the beginning #96

Closed
PurelyAndy opened this issue Feb 2, 2024 · 1 comment · Fixed by #99
Closed

Using directives put one line after the beginning #96

PurelyAndy opened this issue Feb 2, 2024 · 1 comment · Fixed by #99
Assignees
Labels
Milestone

Comments

@PurelyAndy
Copy link

I'm translating some code with comments at the top of every file. The files look like this:

// 1 comment
// 2 comment
// Red comment
// Blue comment
package com.example.code;

import java.something.Whatchamacallit;
...

They get converted like so:

// 1 comment
using System.Stuff;
// 2 comment
// Red comment
// Blue comment
namespace Com.Example.Code
{
...
}

I think that the using directives should be put either at the very top of the file or right above the namespace.

@paulirwin
Copy link
Owner

@NoSkillPureAndy Thanks for reporting this, this should be fixed. Whitespace could be improved one day, but at least it's not out of order now.

@paulirwin paulirwin added this to the v4.0 milestone Feb 13, 2024
@paulirwin paulirwin added the bug label Feb 13, 2024
@paulirwin paulirwin self-assigned this Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants