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

Doesn't work with MagicPython (weird) #1851

Closed
danqing opened this issue Sep 14, 2017 · 7 comments
Closed

Doesn't work with MagicPython (weird) #1851

danqing opened this issue Sep 14, 2017 · 7 comments
Assignees
Milestone

Comments

@danqing
Copy link

danqing commented Sep 14, 2017

Description

So I use MagicPython instead of language-python with Atom. (Many people do.) Beautify works fine with .py files (even though MagicPython shows in the bottom bar). The problem is when I create a new file and set MagicPython as its syntax. If I try to then beautify, I get the following warning:

Atom Beautify could not find a supported beautifier for this file
Atom Beautify could not determine a supported beautifier to handle this file with grammar "MagicPython" and extension "undefined". If you would like to request support for this file and its language, please create an issue for Atom Beautify at https://github.com/Glavin001/atom-beautify/issues

Steps to Reproduce

  1. Create new file and set MagicPython as the syntax (need to have MagicPython installed)
  2. Run command Atom Beautify: Beautify Editor
  3. Warning appears

In short, can we have MagicPython behave exactly the same as Python?

Thanks! This is one of the most important plugins :)

@danqing
Copy link
Author

danqing commented Sep 14, 2017

Just to clarify, while it seems that if I save the new file as something.py that would make the trick, it's important to be able to beautify without saving the file. I use that on a daily basis - open atom, throw some python code in just to use beautify, and then i will send it out / use it elsewhere. It'd be great if I don't need to create a file everytime I do it.

@stale
Copy link

stale bot commented Nov 13, 2017

This issue has been automatically marked as stale because it has not had recent activity. If this is still an issue, please add a comment. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Nov 13, 2017
@danqing
Copy link
Author

danqing commented Nov 13, 2017

Still an issue.

@stale stale bot removed the stale label Nov 13, 2017
@stevenzeck
Copy link
Contributor

Let me look into it, it looks like a fairly simple change.

@stevenzeck
Copy link
Contributor

@danqing Can you confirm this is the Atom package you are using for MagicPython? Want to make sure I test it out properly: https://atom.io/packages/magicpython

@danqing
Copy link
Author

danqing commented Nov 15, 2017

Yes!

@Glavin001 Glavin001 added this to the v0.32.0 milestone Mar 2, 2018
@Glavin001
Copy link
Owner

Published to v0.32.0

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

3 participants