Previews of code?


Hi all,

I’m new to Atom. Painfully new. I work mostly in HTML and CSS but I’m working in Python for my current project. I’d love to see a preview of my work but I can’t seem to find any way to run the code to make sure it works. I’m using Mac OS X. Anyone have an idea? It might be a stupid question but damn I’m puzzled.

  • mica


Perhaps have a look at the FAQs first:
What is the difference between an IDE and an editor?
How do I build or execute code I've written in Atom?



For your specific purpose, you should look at hydrogen, script/atom-runner (which are functionally identical), python-tools (which doesn’t run code but makes other stuff easier), and magicpython, which is an upgraded syntax highlighting package. For linting, there are several packages and I legitimately don’t have the Python expertise to know if one is better than the others. And of course, autocomplete-python, which will analyze your own code and give you helpful tips in the autocomplete menu.


Unable to install Atom

That is very helpful… thank you very much.:sunglasses:
I wish I had those notes when researching Python over Atom.
If I ask very nicely - would you consider starting an FAQ?



Maybe. I don’t know enough to give useful advice outside of a couple of narrow windows, though, and even then it’s not much past what one can learn from just searching packages.