# How do I use Processing code in a different IDE?

**URL:** https://discourse.processing.org/t/how-do-i-use-processing-code-in-a-different-ide/42403
**Category:** Beginners
**Created:** [July 12, 2023, 3:11am UTC](https://discourse.processing.org/t/how-do-i-use-processing-code-in-a-different-ide/42403 "2023-07-12T03:11:44Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Joseph](https://avatars.discourse-cdn.com/v4/letter/j/dc4da7/32.png) [@Joseph](https://discourse.processing.org/u/Joseph)
#### Post date: [July 12, 2023, 3:11am UTC](https://discourse.processing.org/t/how-do-i-use-processing-code-in-a-different-ide/42403/1 "2023-07-12T03:11:44Z")

</div>

Processing is my first code editor and it was great when I was making small projects, but the more time I put into a project the more I realize I spend most of my time trying to find a single method in my code. So I think it’s time to make the move so I can have collapse methods and autofill and many other creature comforts. The problem is I want to move my processing project to my new IDE(btw I chose Visual Studio). I’m assuming I would need to import processing as a package? But I’m not sure where/how to import that package. Any help would be helpful, if you need any additional Info just let me know!

Thx in advance…

---

<div class="post-metadata">

### Author: ![svan](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@svan](https://discourse.processing.org/u/svan)
#### Post date: [July 12, 2023, 3:44am UTC](https://discourse.processing.org/t/how-do-i-use-processing-code-in-a-different-ide/42403/2 "2023-07-12T03:44:21Z")

</div>

Which operating system?

I have experience with Intellij and AndroidStudio but not VisualStudio.

Intellij - import Processing core library On MacOS it’s found in the app bundle at Contents/Java/core/library

Android Studio - copy processing-core.zip which on MacOS is at Documents/Processing/modes/AndroidMode. Change name to processing-core.jar.

One of the links is here: [https://android.processing.org/tutorials/android\_studio/index.html](https://android.processing.org/tutorials/android_studio/index.html)

Recent thread: [https://discourse.processing.org/t/how-to-load-an-image-in-android-studio-using-a-processing-sketch/35860/2](https://discourse.processing.org/t/how-to-load-an-image-in-android-studio-using-a-processing-sketch/35860/2)

Intellij reference: [https://andrewmagid.com/Processing4-Java-IDE-Setup/](https://andrewmagid.com/Processing4-Java-IDE-Setup/)

---

<div class="post-metadata">

### Author: ![Joseph](https://avatars.discourse-cdn.com/v4/letter/j/dc4da7/32.png) [@Joseph](https://discourse.processing.org/u/Joseph)
#### Post date: [July 12, 2023, 4:20am UTC](https://discourse.processing.org/t/how-do-i-use-processing-code-in-a-different-ide/42403/3 "2023-07-12T04:20:23Z")

</div>

I’m on windows 11, but I’m sure it’s somewhat the same idea. Do I just copy the core from the processing folder on my computer?

---

<div class="post-metadata">

### Author: ![svan](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@svan](https://discourse.processing.org/u/svan)
#### Post date: [July 12, 2023, 5:10am UTC](https://discourse.processing.org/t/how-do-i-use-processing-code-in-a-different-ide/42403/4 "2023-07-12T05:10:35Z")

</div>

After doing a few Google searches I get the idea that VisualStudio is different. To avoid giving you bad information I think it’s better for you to do your own searches in addition to the ones that I found:

[https://www.youtube.com/watch?v=LKuu-WcOZYA](https://www.youtube.com/watch?v=LKuu-WcOZYA)

[https://stackoverflow.com/questions/55968930/how-to-configure-visual-studio-code-for-processing](https://stackoverflow.com/questions/55968930/how-to-configure-visual-studio-code-for-processing)

[https://github.com/AvinZarlez/processing-vscode#add-processing-to-path](https://github.com/AvinZarlez/processing-vscode#add-processing-to-path)

It’s also possible that someone else in this forum has experience with VisualStudio with the Windows operating system and can be of more assistance than me.

---

<div class="post-metadata">

### Author: ![mnse](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/mnse/32/16520_2.png) [@mnse](https://discourse.processing.org/u/mnse)
#### Post date: [July 12, 2023, 9:31am UTC](https://discourse.processing.org/t/how-do-i-use-processing-code-in-a-different-ide/42403/5 "2023-07-12T09:31:59Z")

</div>

Hi @Joseph,

by that …

> [@Joseph](#):
>
> btw I chose Visual Studio

… you mean VSCode or really MS Visual Studio ?

For the first it is quite easy and many tutorial out there (or by searching this forum), for the second rather impossible… 🙂

Cheers  
— mnse

---

<div class="post-metadata">

### Author: ![Joseph](https://avatars.discourse-cdn.com/v4/letter/j/dc4da7/32.png) [@Joseph](https://discourse.processing.org/u/Joseph)
#### Post date: [July 12, 2023, 1:02pm UTC](https://discourse.processing.org/t/how-do-i-use-processing-code-in-a-different-ide/42403/6 "2023-07-12T13:02:52Z")

</div>

VScode for sure lol, Sorry for the confusion. I couldn’t find a way to import processing tho. I was probably asking the wrong questions. I though I would have to add the processing library as a package in VScode and the import it into my project. Is this correct?

---

<div class="post-metadata">

### Author: ![mnse](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/mnse/32/16520_2.png) [@mnse](https://discourse.processing.org/u/mnse)
#### Post date: [July 12, 2023, 2:27pm UTC](https://discourse.processing.org/t/how-do-i-use-processing-code-in-a-different-ide/42403/7 "2023-07-12T14:27:10Z")

</div>

Hi @Joseph,

Just take a look here and see the video linked inside…

> [@Problem running Processing project in VSCode](https://discourse.processing.org/t/problem-running-processing-project-in-vscode/35198):
>
> Hello, I am trying to get set up with processing in VSCode, and I am encountering the following problem when attempting to run the processing project. I followed [this](https://www.youtube.com/watch?v=LKuu-WcOZYA) tutorial to get started. I don’t believe that I missed any steps, but at 8:20 I notice a discrepancy between what is shown when he runs the processing project in VSCode versus when I try to run it in my VSCode. His says Executing task: processing-java --force "--sketch=C:\Users\Andrea\Downloads\hw0" "--output=C:\Users\Andrea\Down…

Do it similar like this, but in the end where you create the Task json you should use as command the absolute path to your processing-java if it is not in your PATH environment variable.  
Then it should work … let me know if you stuck …

Cheers  
— mnse

---

<div class="post-metadata">

### Author: ![Joseph](https://avatars.discourse-cdn.com/v4/letter/j/dc4da7/32.png) [@Joseph](https://discourse.processing.org/u/Joseph)
#### Post date: [July 12, 2023, 3:33pm UTC](https://discourse.processing.org/t/how-do-i-use-processing-code-in-a-different-ide/42403/8 "2023-07-12T15:33:34Z")

</div>

I was able to follow the video that @svan sent and it was just doing that so thx guys.
