Author Topic: configure auto completion to be smarter  (Read 4193 times)

Offline Jewe

  • Multiple posting newcomer
  • *
  • Posts: 70
    • Fit Trainer
configure auto completion to be smarter
« on: January 24, 2008, 11:07:06 am »
Hi,

How do I configure auto completion to do the following:

The text is for example FMModulation and by hand I change the F to an A.
Both the keys are known to the auto completion, but when pressing enter to say insert this I get.
AMModulationMModulation, this is not what I expect, So I am assuming I need to set some parameter to get this working the way I want.
Visual studio can do this, so I assume the great code blocks can also. ;)

cheers,

Jewe
Anything curved in the hardware can be straighten with software :D
OS: Vista64 + Debian(to play with)
Compiler: mingw IDE: Code::Blocks Nightly WX: 2.8.0

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: configure auto completion to be smarter
« Reply #1 on: January 24, 2008, 03:05:51 pm »
There is no configuration option for this yet.
In general, if code-completion kicks in automatically (e.g. you have typed more than the predefined number of letters), when pressing ENTER to complete it doesn't replace the rest of the word.
If, on the other hand, you manually invoke code-completion (e.g. by pressing Ctrl-Space) then when you press ENTER the whole word will be replaced.
Be patient!
This bug will be fixed soon...

Offline Jewe

  • Multiple posting newcomer
  • *
  • Posts: 70
    • Fit Trainer
Re: configure auto completion to be smarter
« Reply #2 on: January 25, 2008, 12:27:11 pm »
I have to disagree, insert a know word.
go with the cursor half way, press ctrl + space.
then I see twice the same test.

Same with changing the text to insert a different item.

Cheers,

Jewe


Info:
SVN 4771
Anything curved in the hardware can be straighten with software :D
OS: Vista64 + Debian(to play with)
Compiler: mingw IDE: Code::Blocks Nightly WX: 2.8.0

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: configure auto completion to be smarter
« Reply #3 on: January 25, 2008, 12:56:43 pm »
I have to disagree, insert a know word.
go with the cursor half way, press ctrl + space.
then I see twice the same test.

Disagree with what? What I described above? If yes, there is not much to disagree with: it is coded that way.
If you like, explain your issue better because I 'm an idiot.
Be patient!
This bug will be fixed soon...

Offline Jewe

  • Multiple posting newcomer
  • *
  • Posts: 70
    • Fit Trainer
Re: configure auto completion to be smarter
« Reply #4 on: January 29, 2008, 01:56:25 pm »
Can we cut the BS?
Made a flash film of what I am doing.
Hope this makes things a bit more clear.

[attachment deleted by admin]
Anything curved in the hardware can be straighten with software :D
OS: Vista64 + Debian(to play with)
Compiler: mingw IDE: Code::Blocks Nightly WX: 2.8.0