# Trying processing with atom question about classes and preview

**URL:** https://discourse.processing.org/t/trying-processing-with-atom-question-about-classes-and-preview/12929
**Category:** Processing
**Created:** [July 23, 2019, 8:15pm UTC](https://discourse.processing.org/t/trying-processing-with-atom-question-about-classes-and-preview/12929 "2019-07-23T20:15:17Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![otorp2](https://avatars.discourse-cdn.com/v4/letter/o/67e7ee/32.png) [@otorp2](https://discourse.processing.org/u/otorp2)
#### Post date: [July 23, 2019, 8:15pm UTC](https://discourse.processing.org/t/trying-processing-with-atom-question-about-classes-and-preview/12929/1 "2019-07-23T20:15:17Z")

</div>

Hi - I have moved to Atom and processing with live preview, so far so good.

In the processing ide I made a sketch called test1.pde, then I created a class Bubble.class then I opened in Atom.

It seems live preview only works with the main file, so I will need to copy all my classes into the main file for live preview to work correct?

 ![05%20PM](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/d/de1be825788951a7c9c1c255452cea5570f2463b.png)

also is there any way to view the output when i print(pop); ?

Thx in advance -

---

<div class="post-metadata">

### Author: ![monkstone](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/monkstone/32/64_2.png) [@monkstone](https://discourse.processing.org/u/monkstone)
#### Post date: [July 24, 2019, 6:21pm UTC](https://discourse.processing.org/t/trying-processing-with-atom-question-about-classes-and-preview/12929/2 "2019-07-24T18:21:39Z")

</div>

For [JRubyArt](https://ruby-processing.github.io/JRubyArt/), I created a [atom package](https://github.com/ruby-processing/atom-k9) that allows me run sketches from atom, it has a custom console that displays console output. This should be possible with live preview (but I haven’t tried it). With ruby processing all code is in regular ruby files, so you can put classes in separate files if you wish.

 ![tree](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/e/e926ab7aa2a6fa0dd19d1e1ffa6e179f7b3e3f76.png)
