Can't disable Ruby Code Completion

View: New views
6 Messages — Rating Filter:   Alert me  

Can't disable Ruby Code Completion

by g00k :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey,

I recently upgraded from the netbeans 6.0 (the ruby package) to netbeans 6.1 (the ruby package). Apart from minor glitches with the import of my old settings into nb 6.1, I found that disabling the code completion and documentation popups proved impossible! The checkboxes in the Tools -> Options -> Editor -> General -> Code Completion section have absolutely no effect as far as automatic popping up is concerned. This makes using my installation impossible.

Is there a class file i can just *delete* somewhere in the netbeans sources to intentionally break the popups? I can't recall ever having used the popups so their loss won't bother me in the least. Apart from this bug netbeans 6.1 looks like wonderful improvement over the already excellent 6.0, so I'd really appreciate any help in solving this!

About my NetBeans 6.1 installation:
Product Version: NetBeans IDE 6.1 (Build 200804211638)
Java: 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06
System: Linux version 2.6.18.2-34-default running on i386; UTF-8; en_US (nb)
Userdir: ~/.netbeans/6.1
Installation Dir: /usr/local/netbeans-6.1/
Distro: openSUSE 10.2

Thanks in advance.

Cheery-O!
Gustav Paul

Re: Can't disable Ruby Code Completion

by g00k :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I just found that if I start netbeans, go to tools -> options -> editor -> general -> code completion, then *activate* the "Auto Popup Completion Window" checkbox, then immediately *deactivate* it again, and hit OK, it seems to accept the 'off' status for that setting for the current netbeans session. Restarting netbeans effectively 'forgets' this setting even though the checkbox stays unselected.

Is it possible that my netbeans installation simply doesn't store/read my preferences correctly?

Regards
Gustav

Re: Can't disable Ruby Code Completion

by g00k :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

In the meantime I've just backed up and removed the following directory

krarc:/usr/local/netbeans-6.1/gsf1/modules/org-netbeans-modules-gsf.jar/org/netbeans/modules/gsfret/editor/completion

That works as expected.

Re: Can't disable Ruby Code Completion

by g00k :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sadly, though it was to be expected, removing that directory disabled code completion in addition to just disabling the `code completion popup` and the `documentation popup`.

If anyone knows which directory I can delete for just that I'd be very grateful ;)

Cheery-O!
Gustav

Re: Can't disable Ruby Code Completion

by djlewis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have the same problem. The only way to disable code completion in Ruby (a really annoying feature, IMHO) is to turn on one element of code completion, save it, go back to options, turn that one element off and then save. But when I restart NB, code completion comes back, like the terminator!

--David.

Re: Can't disable Ruby Code Completion

by Tor Norbye :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi guys,
several people have reported this in the past.  We've had a number of  
problems related to editor options; there were architectural  
difficulties with these that have JUST been fixed, thanks to a whole  
new editor settings API which is now in place (and was integrated this  
weekend).  I'm hoping this will fix this problem; if not, there is  
likely a simple fix in the Ruby/GSF code now to handle it.

(See http://www.netbeans.org/issues/show_bug.cgi?id=137337 for more).

So, the daily builds will hopefully finally address this (and related  
problems for tabs versus spaces, indentation settings etc).

I'll double check this when I return from vacation later this week.

-- Tor

On Jun 16, 2008, at 8:13 AM, djlewis wrote:

>
> I have the same problem. The only way to disable code completion in  
> Ruby (a
> really annoying feature, IMHO) is to turn on one element of code  
> completion,
> save it, go back to options, turn that one element off and then  
> save. But
> when I restart NB, code completion comes back, like the terminator!
>
> --David.
> --
> View this message in context: http://www.nabble.com/Can%27t-disable-Ruby-Code-Completion-tp17862246p17866646.html
> Sent from the NetBeans Ruby - Users mailing list archive at  
> Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...