foxwood
New Member

5 Posts |
Posted - Apr 17 2009 : 09:47:55 AM
|
vs2005 SP1 : XP SP3 : C++ : VAX 1721 + VAX 1722
Having problems getting the autocomplete to commit a suggestion terminated with a non-symbol character and/or <TAB> - "Enter" is not ticked as an allowed terminator in the settings ...
Type a skeleton class into a cpp file ...
class CSomething { public: void AFunction(); };
Starting on a new line, if you now type CSome: then the typing is replaced with CSomething: as expected
However, starting to write the code for the method "AFunction", typing void CSome: does NOT replace even though "CSomething" was highlighted in the listbox AND the setting "Any character not valid in a symbol" is ticked. The presence of the "void" word seems to change the context compared to the previous example ?
BUT, when the listbox is shown and the required item highlighted, the prompt is "Accept with <TAB>" - no mention of the "any character" alternative as per the settings.
If you do what it says and use <TAB> then it does work and replaces the typing so you end up with void CSomething with the cursor left after the "g". It feels very clumsy and slows things down to have to do it this way since the natural character to type is ":" |
Edited by - foxwood on Apr 17 2009 3:58:37 PM |
|