# Forum update: unformatted code detector added 🤖

**URL:** <https://discourse.processing.org/t/forum-update-unformatted-code-detector-added/47572>\
**Category:** Site Feedback\
**Created:** [November 27, 2025, 12:56pm UTC](https://discourse.processing.org/t/forum-update-unformatted-code-detector-added/47572 "2025-11-27T12:56:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sableraph](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/sableraph/32/251_2.png) [@sableraph](https://discourse.processing.org/u/sableraph)\
**Post date:** [November 27, 2025, 12:56pm UTC](https://discourse.processing.org/t/forum-update-unformatted-code-detector-added/47572/1 "2025-11-27T12:56:19Z")

</div>

Hello everyone!

A quick quality-of-life update: we’ve installed an [official Discourse plugin](https://meta.discourse.org/t/unformatted-code-detector/112773) that warns you when a post might contain unformatted code. This has been a pain point for all of us for a very long time, and it’s nice to finally have a built-in solution.

Those of you who have spent years gently reminding newcomers to use triple backticks can finally take a well-deserved rest! The plugin will take it from here.

If you see the prompt, just format your code using the editor’s code button or triple backticks. Clear code makes it easier for everyone to read and helps beginners get support faster.

Thanks for helping keep the forum tidy and readable for the whole community!

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/a/1/a1059d08b04ec135863f3806d98083fe26c72039.jpeg)

---

<div class="post-metadata">

**Author:** ![sableraph](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/sableraph/32/251_2.png) [@sableraph](https://discourse.processing.org/u/sableraph)\
**Post date:** [November 27, 2025, 12:57pm UTC](https://discourse.processing.org/t/forum-update-unformatted-code-detector-added/47572/2 "2025-11-27T12:57:15Z")

</div>



---

<div class="post-metadata">

**Author:** ![sterretje](https://avatars.discourse-cdn.com/v4/letter/s/cdc98d/32.png) [@sterretje](https://discourse.processing.org/u/sterretje)\
**Post date:** [November 29, 2025, 10:08am UTC](https://discourse.processing.org/t/forum-update-unformatted-code-detector-added/47572/3 "2025-11-29T10:08:07Z")

</div>

I use ````java`.

I did not know that there is a ````processing`; is there a difference between the two (to your knowledge).

---

<div class="post-metadata">

**Author:** ![sableraph](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/sableraph/32/251_2.png) [@sableraph](https://discourse.processing.org/u/sableraph)\
**Post date:** [December 1, 2025, 1:50pm UTC](https://discourse.processing.org/t/forum-update-unformatted-code-detector-added/47572/4 "2025-12-01T13:50:01Z")

</div>

Thanks for your question @sterretje 🙂

There is indeed a difference. Using ````processing` correctly highlights Processing-specific keywords like `background()`, `noLoop()`, `width`, or `PI`, which are not part of the Java language.

See the comparison below:

**This code is highlighted using ````java`.**

```java
void setup() {
  size(640, 360);
  coswave = new float[width];
  for (int i = 0; i < width; i++) {
    float amount = map(i, 0, width, 0, PI);
    coswave[i] = abs(cos(amount));
  }
  background(255);
  noLoop();
}

```

**This code is highlighted using ````processing`.**

```processing
void setup() {
  size(640, 360);
  coswave = new float[width];
  for (int i = 0; i < width; i++) {
    float amount = map(i, 0, width, 0, PI);
    coswave[i] = abs(cos(amount));
  }
  background(255);
  noLoop();
}

```
