# Code completion and Qt

**URL:** <https://www.ruby-forum.com/t/code-completion-and-qt/168851>\
**Category:** Ruby\
**Created:** [May 26, 2009, 5:57pm UTC](https://www.ruby-forum.com/t/code-completion-and-qt/168851 "2009-05-26T17:57:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jolivierld](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/34f0e0/32.png) [@jolivierld](https://www.ruby-forum.com/u/jolivierld)\
**Post date:** [May 26, 2009, 5:57pm UTC](https://www.ruby-forum.com/t/code-completion-and-qt/168851/1 "2009-05-26T17:57:14Z")

</div>

hello,

I would like to know if there is a ruby IDE allowing to have the  
completion for Qt classes.  
I tried some IDE, and nor eclipse nor visual studio (+ruby in steel)  
have this cool feature.

thank you,

olivier.

* * *

Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son  
interface révolutionnaire.

> **[Yahoo](https://mail.yahoo.com/)**
>
> It's

---

<div class="post-metadata">

**Author:** ![jolivierld](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/34f0e0/32.png) [@jolivierld](https://www.ruby-forum.com/u/jolivierld)\
**Post date:** [May 26, 2009, 10:48pm UTC](https://www.ruby-forum.com/t/code-completion-and-qt/168851/2 "2009-05-26T22:48:25Z")

</div>

some news : I have discovered vim, and after a basic test I saw that  
there is the completion for the Qt classes.

but that was under linux, and after I installed gvim (graphical vim) 7.2  
under windows, and when I enter CTRL X+ CTRL O after the first letters  
of a word I have the mesage : “motif introuvable” → “no pattern”…  
rather strange.

here is the \_vimrc file :

* * *

set nocompatible  
source $VIMRUNTIME/vimrc\_example.vim  
source $VIMRUNTIME/mswin.vim  
behave mswin

set diffexpr=MyDiff()  
function MyDiff()  
let opt = '-a --binary ’  
if &diffopt =~ ‘icase’ | let opt = opt . '-i ’ | endif  
if &diffopt =~ ‘iwhite’ | let opt = opt . '-b ’ | endif  
let arg1 = v:fname\_in  
if arg1 =~ ’ ’ | let arg1 = ‘"’ . arg1 . ‘"’ | endif  
let arg2 = v:fname\_new  
if arg2 =~ ’ ’ | let arg2 = ‘"’ . arg2 . ‘"’ | endif  
let arg3 = v:fname\_out  
if arg3 =~ ’ ’ | let arg3 = ‘"’ . arg3 . ‘"’ | endif  
let eq = ‘’  
if $VIMRUNTIME =~ ’ ’  
if &sh =~ ‘\<cmd’  
let cmd = ‘“”’ . $VIMRUNTIME . ‘\diff"’  
let eq = ‘"’  
else  
let cmd = substitute($VIMRUNTIME, ’ ', '" ', ‘’) . ‘\diff"’  
endif  
else  
let cmd = $VIMRUNTIME . ‘\diff’  
endif  
silent execute ‘!’ . cmd . ’ ’ . opt . arg1 . ’ ’ . arg2 . ’ \> ’ .  
arg3 . eq  
endfunction

* * *

can you help me?

olivier.

* * *

Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son  
interface révolutionnaire.

> **[Yahoo Mail](https://mail.yahoo.com/)**
>
> Take a trip into an upgraded, more organized inbox. Sign in and start exploring all the free, organizational tools for your email. Check out new themes, send GIFs, find every photo you've ever sent or received, and search your account faster than...
