This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 183822 - [69cat] Replace with a "Return value of a BeanShell snippet" option
Summary: [69cat] Replace with a "Return value of a BeanShell snippet" option
Status: RESOLVED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: Search (show other bugs)
Version: -S1S-
Hardware: PC All
: P3 normal with 1 vote (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-10 08:14 UTC by franci
Modified: 2016-07-07 07:27 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description franci 2010-04-10 08:14:43 UTC
It would be very useful an option for "Search and Replace" to replace with the result of an scripting language expression like jedit does. 

I think the better option is using jsr-223, so any future scripting language included in jre could be used, but also any pluggable one.

A java compatible scripting language like "BeanShell" could be useful even more if project classes could be used in expresions, or at least classes included in pluggable jars

Things that users could achieve with this are: replacing dates in a text from "dd-mm-yyyy" to "yyyy-mm-dd", adding few months to all dates, ...
Comment 1 Martin Balin 2016-07-07 07:27:42 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss