Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6020999
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T03:38:57+00:00 2026-05-23T03:38:57+00:00

I have introduced a Rhino-based scripting language. In this language, by its nature of

  • 0

I have introduced a Rhino-based scripting language. In this language, by its nature of course, it is legal to write something like:

var y = new org.mypackage.JavaClass();
print(y.javaMethodReturnsString());

Which means I’m mixing Java entities and Javascript entites.
I wish to make a netbeans editor plugin for my new language. This editor must feature content assist.

Now, the javascript entites appear in the javascript editor content assist by default.
I guess I can extend the netbeans javascript editor, but how? Which class is it?
Then, how do I extend the content assist scope with the java entities?

Or maybe I should make my own editor and “import” java and javascript content assist behavior? But again, how?

Thank you

EDIT: to have the java entities in the classpath, I followed this blog post :
Java Classes in Code Completion
by the way, this works only if edited document is in a source folder.
Still remains open the question about extending javascript editor. Anyone?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T03:38:57+00:00Added an answer on May 23, 2026 at 3:38 am

    Even if this question was worth the Tumbleweed achievement, I found a solution myself. I’ve written a netbeans module to handle content assist on Rhino scripts. It’s in early development and it’s my first netbeans plugin but should be better than nothing.

    The plugin can be turned on/off for javascript files and can be class-extended to suit any rhino-interpreted languages, which is the next thing I’m into.

    Javascript Rhino context plugin

    Javascript Rhino context plugin

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have introduced boost to our code base, on my machine I created a
I have heard that closures could be introduced in the next Java standard that
I have a problem that someone introduced a bug but I do not know
I have a class with a vector of pointers to objects. I've introduced some
I have a JSF application that uses mostly Richfaces. I would like to introduce
I would like to introduce multithreading feature in my shell script. I have a
We have recently introduced version control in Subversion in our development cycle, and a
Recently a couple of WCF services have been introduced to our company's API. There
i have been lately introduced to method chaining, and am not sure if what
I have recently been introduced to EasyMock and have been asked to develop some

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.