Why does my .java file disable errorchecking?

134
January 10, 2019, at 06:40 AM

Recently I've added a .java file to my Processing Project (its called GClip.java from a library which is called G4P). That .java file helps to copy stuff to the clipboard. I read that on a forum, however directly after I created a new Tab and imported the content from the .java file it gave me that message:

sketch_190108b contains .java tabs. Some editor features (like completion and error checking) will be disabled.

Now I can't see errors and stuff. How can I turn it back on? I've already tried turning it on in the preferences tab but it didn't work... Any help please?

Answer 1

My guess is this is because the error checking comes from the Processing preprocessor, which turns Processing code into Java code. If you're using a .java file, then the prepocessor is skipped, so it can't do its error checking.

If you want to be sure, you could search for the message in the Processing source code here.

You might consider using a Java IDE like Eclipse or Intellij if this is important to you.

Also, please make sure you're following the G4P copyright license when you copy its code.

READ ALSO
PHP print specific part of page [on hold]

PHP print specific part of page [on hold]

How can I print a specific part of a page using pure PHP?

121
Is there Ajax function or a way to get intersection value

Is there Ajax function or a way to get intersection value

I'm developing a new Web Application, and want to print invoices returned from mysql database but not as it is

107
Video header for play seekable and not interrupt

Video header for play seekable and not interrupt

Can help to Transform that code to a seekable for a player and not interrupt the video after ~10Mb of data?

102
How to save and retrieve both text and images using CKEditor PHP [on hold]

How to save and retrieve both text and images using CKEditor PHP [on hold]

I am trying to upload an image with some content using ckeditorI can retrieve only the information from the database but not the image

61