# Change error detection for custom JavaMode

**URL:** <https://discourse.processing.org/t/change-error-detection-for-custom-javamode/44451>\
**Category:** Development\
**Created:** [May 20, 2024, 9:20am UTC](https://discourse.processing.org/t/change-error-detection-for-custom-javamode/44451 "2024-05-20T09:20:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![NumericPrime](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/numericprime/32/16318_2.png) [@NumericPrime](https://discourse.processing.org/u/NumericPrime)\
**Post date:** [May 20, 2024, 9:20am UTC](https://discourse.processing.org/t/change-error-detection-for-custom-javamode/44451/1 "2024-05-20T09:20:05Z")

</div>

I’m currently developing a framework for Java-Based modes.

> **[GitHub - NumericPrime/ParasiteProcessingModeFramework: A framework for...](https://github.com/NumericPrime/ParasiteProcessingModeFramework)**
>
> A framework for creating Java-based-Processing modes that only make small changes to the normal Java Mode. - NumericPrime/ParasiteProcessingModeFramework

This currently has a few problems but the currently most pressing one would be fixing the issue of the error detection marking code as wrong that can be compiled by the mode.

Does anyone know how the error detection works and how to interfer with it.  
Currently it only changes the Sketch-Code while compiling however I’d like to create an option for the user of the framework to provide a way to configure the error detection or to disable it.

Has anyone experience with the error detection and how to use it in a custom mode?
