Jump to content

IDE setup for scripting


Cyber_Hawk

Recommended Posts

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!

Link to comment
Share on other sites

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. :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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