Better code completion layout - plugin detail

Permits to expand the code completion pane to display very long proposal.

NetBeans Plugin - Better code completion layout
Plugin owner: teka
Website:
Added: 2008-02-03
License: CDDL and GPL v2 with "Classpath" exception
Category: Editing
Downloaded: 4,066 times
Rating:
 3.79, by 3 users

Plugin Log Show log

Versions available

Download plugin   Download size: 0.01 MB   Last Update: 2008-03-08

What's new in this version

Configuring through the option panel ; explanation message at install ; affects all editors ; settings restored after restart

Verifications for NetBeans versions

6.1 verification PENDING See verification details
Download plugin   Download size: 0.01 MB   Last Update: 2008-03-08

What's new in this version

Configuring through the option panel ; explanation message at install ; affects all editors ; settings restored after restart

Verifications for NetBeans versions

6.0 verification PENDING See verification details


Introduction

Some functions have plently arguments with long type and very long return type. This is particularly the case in C++, with Glib and Gtkmm where the return type can even overlap the function name! Unfortunately in NetBeans you cannot make the code completion pane larger... This module will enable you to give custom minimum and maximum size for the code completion pane! By doing so, the completion pane can expand if needed to avoid cutting a proposal. It will also continue to shrink as before if names are short. In the "Source" menu, a new item (with an icon of a maximized window) has appeared : "Customize completion..." (before "Complete code..."), it is a simple shortcut. The options panel will appear in the category "Miscellaneous", select the "Better code completion" tab. It will enable you to activate/desactivate and give a custom size for the code completion pane. You can also choose one of the 3 useful presets.

[ You have to be logged in to be able to comment. ]

User Comments

  

Horizontal Expansion

I installed this and the window never gets any wider. It will grow vertically. I've tried on Fedora Linux and Mac. Both Java 6 and Netbeans 6.1.
Posted by melling on Jul 21, 2008
  

Works on NetBeans 6.1 beta under Linux (Kubuntu 7.10)

I've tested my plugin under NetBeans 6.1 beta (I'm working with kubuntu 7.10) and it works well.
I've asked a friend to test it under Win XP but it failed at (even before) the installation.

I'm working on it !

Posted by teka on Apr 08, 2008
  

Works on NetBeans 6.1 beta under Linux (Kubuntu 7.10)

I've tested my plugin under NetBeans 6.1 beta (I'm working with kubuntu 7.10) and it works well.
I've asked a friend to test it under Win XP but it failed at (even before) the installation.

I'm working on it !

Posted by teka on Apr 08, 2008
  

Not Working

Hi,

I tried to modify the size in Version NB 6.0.1, but I think, that it isn't working ! Maybe you can modi that please for working correctly in version 6.0.1.

Yours Jorgos
Posted by jorgos on Apr 07, 2008
  

Not Working

Hi,

I tried to modify the size in Version NB 6.0.1, but I think, that it isn't working ! Maybe you can modi that please for working correctly in version 6.0.1.

Yours Jorgos
Posted by jorgos on Apr 07, 2008
  

Nice Plugin

Well, you hav design a nice plugin. But I think, that your plugin isn't working for V 6.0.1 ? Maybe it is possible for you making an upgrade for that ?

Yours Jorgos
Posted by jorgos on Apr 06, 2008
  

Announcing a new version!

Better module integration:
  • Configuring is done through a tab of the options panel

  • The "Source" submenu item is just a shortcut to the option panel. It has now a picture.

  • A welcome message will be displayed at the first startup to explain how the module works
Works better:
  • The settings now affect all the editors (no more language specific)

  • The settings are restored after each NetBeans restart, as anyone expected it to be ;-)
Posted by teka on Mar 08, 2008
  

Works on WinXP + NetBeans 6.0.1

It does exactly what it says.

Menu > Source > Customize completion > ... set the max size here - I've set width to 1000

Now try some insane class name:

class LongNameLongNameLongNameLongNameLongNameLongNameLongNameLongNameLongNameLongNameLongNameLongNameLongName{
}

Lo|...

Good Work!
Posted by pekarna on Feb 25, 2008
  

Not working on W2k & NBv6

I've just tried, but plugin doesn't work
Posted by jardakortus on Feb 22, 2008
  

not working?

I love the idea of this plugin and hope an update is forthcoming. For now it isn't helping on WinXP, NetBeans 6.1

I've used the refresh button, the apply button and the huge screen size settings. As far as I can tell these options have no effect. I tried testing after a NetBeans restart but the setting always reverts to disabled.
Posted by yeryer on Feb 19, 2008
  

Configuring the plugin

(Explications en français ci-dessous)

In the "Source" menu, a new item has appeared : "Customize completion..." (between Complete code... and Insert code...)
A small configuration window will popup. It will enable you to activate/desactivate and give a custom size for the code completion pane. You can also choose a preset.
As a small comfort, you can leave the configuration window opened, click on "Apply" and test your new settings. Once satisfied you can close it.
Remarks : The settings applies on the last active editor. Editors are shared for a single language. That is to say that settings for the C/C++ editor can differ from the one for the Java editor. You curently have to reconfigure after each shutdown of NetBeans.

------------- French ---------------
Dans le menu "Source", un nouvel élément est apparu : "Personnaliser la complétion..." (entre Complete code... et Insert code...)
Une petite fenêtre de configuration apparaît alors. Elle vous permet d'activer/désactiver et de spécifier une taille personnalisée pour la fenêtre de complétion de code. Vous pouvez également choisir un pré réglage.
Comme petit confort, vous pouvez laisser la fenêtre de configuration ouverte, cliquez sur "Appliquer" et testez vos paramêtres. Une fois satisfait vous pourrez la fermer.
Remarques : Les paramètres s'appliquent sur le dernier éditeur. Les éditeurs sont partagés au sein d'un même langage. C'est à dire que les paramêtres pour l'éditeur C/C++ peuvent diférer de ceux de l'éditeur Java. Actuellement, vous devez redonner vos préférences après chaques démarrages de NetBeans.
Posted by teka on Feb 09, 2008
  

What next?

what must i do after I've installed your module? how does it work?
Posted by geertjan on Feb 03, 2008
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo