Jump to content

IDE setup for scripting


Recommended Posts

Posted
13 minutes ago, Cyber_Hawk said:

It only shows Kotlin file/class, instead of the Java class. 

Java.class not found.png

You might notice in your file manager that “OSBot Scripts” has a different icon than a package. That’s because your package name contains a space which is a violation of the package naming conventions.

According to the java code conventions:

Package names are all lowercase, with consecutive words simply concatenated together (no underscores).

Sorry I didn’t mention that in the video!

Posted
18 minutes ago, ExtraBotz said:

You might notice in your file manager that “OSBot Scripts” has a different icon than a package. That’s because your package name contains a space which is a violation of the package naming conventions.

According to the java code conventions:

Package names are all lowercase, with consecutive words simply concatenated together (no underscores).

Sorry I didn’t mention that in the video!

Thanks for the information, I didn't know that. :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...