sandip chitale's blog    Sandip Chitale's blog (scblog)
NOTE: I have moved many of my modules to NetBeans Plugin Portal . Please check there for latest versions of modules described on this blog.
« Tuscany | Main | Seashore »
20060701 Saturday July 01, 2006

UPDATED: Line Tools Module - filter selected lines using external program

I have updated the Line Tools Module on my NetBeans 5.0 update center described (here).

What is new?

Filter selected lines using an external program Filter lines
Filter selected lines using an external program - send output to Output window Filter lines to output window

These actions operate on the lines spanned by selected text. To process the whole text, select it using the Ctrl+A keyboard shortcut and then invoke the filter action. I use these filter actions to sort lines (external sort command), remove or keep lines containing certain regular expression matches (grep or awk) and so on. Bascially any external program that reads the standard input and outputs processed input can be used. The possibilities are endless.

DISCLAIMER: This module is experimental. So no guarantees. Use the module at your own risk.


Posted by sandipchitale ( Jul 01 2006, 11:24:31 AM PDT ) Permalink Comments [3]


Trackback URL: http://blogs.sun.com/scblog/entry/updated_line_tools_module
Comments:

I love Line Tools on my Windows machine, but it doesn't seem to work on my Mac, using the alt/option key. Is there a different key combination to use it, or some fix we can work out?

Posted by Richard Cook on September 12, 2006 at 10:33 AM PDT #

Line Tools uses the strategy described here for keyboard shortcuts: http://wiki.java.net/bin/view/Netbeans/DevFaqLogicalKeybindings See if that helps. If not, you can always change the bindings to your liking through Tools:Options.

Posted by Sandip on September 12, 2006 at 10:31 PM PDT #

The keymaps that Mac Netbeans default to, Ctrl-up etc., didn't work. I changed it to Alt-up etc. and that works. For anyone else coming along later, there is no "Tools:Options" on Netbeans on the Mac - it's under Preferences, with the usual Command-, to get to it. Thanks for this module, Sandip. I use it a lot.

Posted by Richard Cook on September 15, 2006 at 07:37 AM PDT #

Post a Comment:

Name:
E-Mail:
URL:

Your Comment:

HTML Syntax: NOT allowed








« July 2009
SunMonTueWedThuFriSat
   
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 
       
Today

Get NetBeans 5.5

Locations of visitors to this page

Today's Page Hits: 309


XML
All
/Creator
/General
/Hobby
/Java
/JavaScript
/Mozilla
/NetBeans
/Ubuntu
/VisualWeb
/VisualWebPack
/Web 2.0

XML
All
/Creator
/General
/Hobby
/Java
/JavaScript
/Mozilla
/NetBeans
/Ubuntu
/VisualWeb
/VisualWebPack
/Web 2.0

scblog
scblog