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

format only selected fragment #2

Open
mgaitan opened this issue May 16, 2018 · 3 comments
Open

format only selected fragment #2

mgaitan opened this issue May 16, 2018 · 3 comments

Comments

@mgaitan
Copy link

mgaitan commented May 16, 2018

I would like to format only a fragment. not the whole file. Could it be possible?

@csurfer
Copy link
Owner

csurfer commented May 18, 2018

Not possible at the moment until Sublime supports Python3.6

@mgaitan
Copy link
Author

mgaitan commented May 18, 2018

but why not dump the selected fragment to a temp file and apply black formatting to this. Then take the result an replace the fragment? That way should be possible, right?

@joWeiss
Copy link

joWeiss commented Aug 23, 2018

I would also really like to have this feature. Maybe there is something in this (https://github.com/ctruett/FeaturePresentation) ST3 plugin that could help the development of the requested feature.

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

No branches or pull requests

3 participants