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

Source Action... > Truncate Imports (switch all imports to .* shorthand) #668

Open
ylazy opened this issue Jan 18, 2023 · 1 comment
Open

Comments

@ylazy
Copy link

ylazy commented Jan 18, 2023

Hi!

It's a very helpful feature in Flash Develop:

Before:

import com.ylazy.controls.*;
import com.ylazy.controls.Background;
import com.ylazy.controls.BitmapIcon;
import com.ylazy.controls.assets.buttons.*;
import com.ylazy.controls.skins.WindowHeadShapeSkin;
import com.ylazy.controls.skins.WindowTitleColorSkin;
import com.ylazy.utils.ErrorUtil;

After:

import com.ylazy.controls.*;
import com.ylazy.controls.assets.buttons.*;
import com.ylazy.controls.skins.*;
import com.ylazy.utils.*;

Thanks!

@joshtynjala
Copy link
Member

Personally, I don't like using .* imports, so it's unlikely that I'll implement this feature. I'd be willing to consider a pull request, though.

@joshtynjala joshtynjala changed the title Source Action... > Truncate Imports Source Action... > Truncate Imports (switch all imports to .* shorthand) Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants