Friday May 30, 2008

Readonly Editors Mode Module

I just uploaded the Readonly Editors Mode module to the NetBeans Plugin Portal.

This module controls the editable property of the text editors. The initial state of the editable property of text editor is controlled by the Tools:Options:Miscellaneous:Read Only Editors Mode:Open editors in read-only mode option. The user can toggle the read-only mode using the editor toolbar action (button with open/closed lock icon). The default key binding for the toggle action is CTRL+R.

Screenshots:

Options:

options

Toggle Readonly mode button on editor toolbar:

editor toolbar

The sources can be found in main/contrib repository.

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

Tuesday Dec 25, 2007

Reorder module on NetBeans Plugin POrtal


I have uploded the Reorder module to the NetBeans Plugin Portal.

The assymetry in the way ,  (comma)  is used to separate the items in parameter and arguments lists always causes problem when one wants to reorder that list in Java editor.  Is that why Java allows trailing commas in array initializer? ;) may be. This module supports single click swapping of a parameter, argument or array initializer expressions with pervious or next item in the list. Each item of the sequence can be a simple literal, an identifier or a more complex function call expression. The comma delimiter is correctly handled.

For example with caret at | in:

void method(int iii, String |sss, boolean bbb){}
pressing CTRL+ALT+. (i.e. period) or invoking Source:Swap Next action yields:
void method(int iii, boolean bbb, String |sss){}
or pressing CTRL+ALT+, (i.e. comma)
or invoking Source:Swap Previous action with the original source yields:
void method(String |sss, int iii, boolean bbb){}

Sources

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

Tuesday Nov 14, 2006

Incremental Search Toolbar module uploaded

OBSOLETE

The tool bar based variant of the Incremental Search module is now obsolete. Use the sidebar based version.

I have uploaded the Incremental Search Toolbar module to my Netbeans update center described here.

This module installs the Incremental Search Toolbar.

Incremental Search Toolbar

Typing Ctrl+/ puts the focus in the incremental search text field in the Incremental Search Toolbar. If there was text in the incremental search text field, it is preselected. You can start typing the text to search and the matching text will be highlighted in the current editor. The search text is shown in red color when no matching text is found. Typing ENTER or Ctrl+/ again,  finds the next match. Typing Shift+ENTER finds the previous match. Typing ESCAPE puts the focus back in current editor. The Find Next and Find Previous do what they imply.The Search Backwards check box searches the text in backward direction. The Match Case check box controls whether the case of text is considered while searching.

Sources

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

About

sandipchitale

Search

Archives
« April 2014
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
   
       
Today