# Clear output console contents from script

**URL:** <https://forum.inductiveautomation.com/t/clear-output-console-contents-from-script/15213>\
**Category:** Ignition\
**Created:** [August 31, 2017, 12:18am UTC](https://forum.inductiveautomation.com/t/clear-output-console-contents-from-script/15213 "2017-08-31T00:18:18Z")\
**Posts on this page:** 11\
**Page:** 2

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [November 28, 2023, 1:09pm UTC](https://forum.inductiveautomation.com/t/clear-output-console-contents-from-script/15213/21 "2023-11-28T13:09:51Z")

</div>

> [@Harry\_O\_Brien](#):
>
> so we can write our code in a real IDE

It's been discussed. Exceedingly non-trivial, and not going to happen any time soon.

{ Much more likely to be PyCharm than VSCode, due to the java underpinnings, which pleases me. PyCharm, while commercial, is published by a company with a long history of ethical conduct. VSCode, while currently open-source, is published by company with a long history of the opposite. I, for one, refuse to use VSCode--I don't want to be caught by the third "E" in "Embrace, Extend, Extinguish". Been there, suffered that, have the coffee mug:

 ![20231128_FoxSoftware](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/c/2cd5d753ac8d335a923602267fe07862cfd7d984.jpeg)

FWIW. }

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [November 28, 2023, 1:41pm UTC](https://forum.inductiveautomation.com/t/clear-output-console-contents-from-script/15213/22 "2023-11-28T13:41:35Z")

</div>

I still use Visual Studio on a somewhat regular basis because I have several C# apps that I support, and I [read somewhere](https://forum.inductiveautomation.com/t/microsoft-has-launched-a-new-resource-for-java-developers/63866/2) a couple of years ago that "they" were going to be dabbling more in Java, but I haven't seen anything yet that I would use for Ignition.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [November 28, 2023, 1:49pm UTC](https://forum.inductiveautomation.com/t/clear-output-console-contents-from-script/15213/23 "2023-11-28T13:49:17Z")

</div>

I have a subscription to MS Visual Studio itself, because there are a few things I _might_ need to take care of that require it. So, no worries if you _need_ it. You (and I) are already captured for those cases.

It's the voluntary submission to future abuse that I refuse to accept.

---

<div class="post-metadata">

**Author:** ![Harry\_O\_Brien](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/harry_o_brien/32/54758_2.png) [@Harry\_O\_Brien](https://forum.inductiveautomation.com/u/Harry_O_Brien)\
**Post date:** [November 28, 2023, 3:08pm UTC](https://forum.inductiveautomation.com/t/clear-output-console-contents-from-script/15213/24 "2023-11-28T15:08:53Z")

</div>

Yeah I can respect that @pturmel. While it may be non trivial to do a full implementation, it would be pretty easy to add a 'open in VSCode/PyCharm' button which would open the exact same code in the IDE, and add a keyboard shortcut in the IDE that would execute the script in the ignition script console. Rn I'm copy pasting between the 2 because I need version control and like the proper formatting and github copilot I get in vscode.

@justinedwards.jle yes lots, is there a better ide out there for it?

---

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [November 28, 2023, 3:22pm UTC](https://forum.inductiveautomation.com/t/clear-output-console-contents-from-script/15213/25 "2023-11-28T15:22:46Z")

</div>

> [@Harry\_O\_Brien](#):
>
> yes lots, is there a better ide out there for it

> **[IntelliJ IDEA – the Leading Java and Kotlin IDE](https://www.jetbrains.com/idea/)**
>
> IntelliJ IDEA is undoubtedly the top-choice IDE for software developers. It makes Java and Kotlin development a more productive and enjoyable experience.

Native integration with Git

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [November 28, 2023, 3:37pm UTC](https://forum.inductiveautomation.com/t/clear-output-console-contents-from-script/15213/26 "2023-11-28T15:37:03Z")

</div>

Same company that makes PyCharm and DataGrip. Worth buying the complete toolbox license.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [November 28, 2023, 4:43pm UTC](https://forum.inductiveautomation.com/t/clear-output-console-contents-from-script/15213/27 "2023-11-28T16:43:45Z")

</div>

> [@Harry\_O\_Brien](#):
>
> pretty easy to add a 'open in VSCode/PyCharm' button which would open the exact same code in the IDE

Sure, that part's easy enough. But how about system function autocomplete? And project library? And dealing with the different execution scopes in Ignition?

Also, conceptually, it's a bigger hurdle than it seems. Right now the ultimate source of truth for a project in the designer _is the designer_/the designer's memory model. To open in VSCode/etc, we'd have to write out scripts (in what format? What about the extension function preamble?) to disk (where? temporary files?), launch or otherwise communicate with the external code editor, then either communicate with it bidirectionally via LSP _or_ watch the filesystem for changes - and then the question arises of what to do in a conflict between the filesystem and the memory model?

None of those questions are unsolvable and it's absolutely on our/my radar... but it's also definitely not as trivial as "invoke `vscode.exe path/to/myScript.py` and you're done".

---

<div class="post-metadata">

**Author:** ![Harry\_O\_Brien](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/harry_o_brien/32/54758_2.png) [@Harry\_O\_Brien](https://forum.inductiveautomation.com/u/Harry_O_Brien)\
**Post date:** [November 28, 2023, 4:51pm UTC](https://forum.inductiveautomation.com/t/clear-output-console-contents-from-script/15213/28 "2023-11-28T16:51:13Z")

</div>

yeah that sounds hard, just do the easy bit and move on, 80/20 style. all i want are git/github/version control, github copilot, proper formatting, and nightmode, and i think you can get all of that with the quick and dirty solution. put it in a beta release and i promise i'll test it

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [November 28, 2023, 6:18pm UTC](https://forum.inductiveautomation.com/t/clear-output-console-contents-from-script/15213/29 "2023-11-28T18:18:31Z")

</div>

> [@Harry\_O\_Brien](#):
>
> all i want

Mwah, ha, ha, ha!!! _Cough_

Wait! You _were_ joking, right?

---

<div class="post-metadata">

**Author:** ![Harry\_O\_Brien](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/harry_o_brien/32/54758_2.png) [@Harry\_O\_Brien](https://forum.inductiveautomation.com/u/Harry_O_Brien)\
**Post date:** [November 29, 2023, 10:47am UTC](https://forum.inductiveautomation.com/t/clear-output-console-contents-from-script/15213/30 "2023-11-29T10:47:33Z")

</div>

[script editor improvments | Voters | Inductive Automation](https://ideas.inductiveautomation.com/ignition-features-and-ideas/p/script-editor-improvments)

seems like I'm not the first to have this idea

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [November 29, 2023, 11:33am UTC](https://forum.inductiveautomation.com/t/clear-output-console-contents-from-script/15213/31 "2023-11-29T11:33:41Z")

</div>

Of course, as said before it's been discussed many times.  
And as said before, even the simplest solution you can think of has implications that make it non-trivial.  
There's no "easy bit".

There's been a lot of improvements to the editor already, Paul (?) is doing a tremendous job on this.  
Trust him to do what he can to make your experience better. But he's not a magician.

[Previous page](https://forum.inductiveautomation.com/t/clear-output-console-contents-from-script/15213.md?page=1)
