Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orion-dev] Consuming javascript/finder from code edit widget

Hi Sebastian:
With the current structure of the  build, unfortunately the answer is no but we can rethink about it.
As you may already know, the _javascript_ plugin is one of the separate plugins that we delivered as the "internal plugins" with the code edit widget core. It has only the almond build, not the requirejs build.

For the possibility to consume the _javascript_/finder module directly, I am not the person who can provide you the exact answer right now but I will discuss this with our _javascript_ tooling experts after the New Year holidays.
In order for us to understand your request better, could you please open a bug, elaborating the followings?
1. Your code style to consume the module. We had similar discussions on the widget core(the requirejs build) and I assume your coding style will be similar?
2. A simple text contents of a file that you will search on.
3. What parameters you want to pass and what return value you expect, based on the example from 2.

We will then decide if we can support your needs.

Regards,
Libing



From:        Sebastian Pahnke <pahnke.sebastian@xxxxxxxxx>
To:        Orion developer discussions <orion-dev@xxxxxxxxxxx>
Date:        12/20/2015 11:38 AM
Subject:        [orion-dev] Consuming _javascript_/finder from code edit widget
Sent by:        orion-dev-bounces@xxxxxxxxxxx




Hi,

is it possible to use the _javascript_/finder module from the code edit widget? I would like to use the function 'findNode' to improve the navigation to a help website for my own types. Right now I’m computing the word the cursor is on and, using that, search the help system. But this often returns ambiguous results, given that it’s a simple text search oblivious of types. It may also help me with another task.

Regards,
Sebastian
_______________________________________________
orion-dev mailing list
orion-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/orion-dev


Back to the top