Author |
Topic |
|
mbobka
Ketchup Master
Russia
86 Posts |
Posted - Jul 24 2006 : 11:15:33 AM
|
class A {
void bbb();
};
Try to get refactoring menu for "A". |
|
Wrongway
Tomato Guru
USA
129 Posts |
Posted - Jul 24 2006 : 12:37:56 PM
|
Have you tried to select the "A" first before you try refactoring? |
Wrongway |
Edited by - Wrongway on Jul 24 2006 12:38:21 PM |
|
|
mbobka
Ketchup Master
Russia
86 Posts |
Posted - Jul 24 2006 : 5:16:41 PM
|
If you selects A, then only Extract Method is available... |
|
|
jpizzi
Tomato Guru
USA
642 Posts |
Posted - Jul 24 2006 : 10:56:55 PM
|
Works for me. Which IDE and which version of VAX? |
Joe Pizzi |
|
|
mbobka
Ketchup Master
Russia
86 Posts |
Posted - Jul 25 2006 : 06:37:33 AM
|
VAX 1530, VS.NET 2005 And why not works for not selected char? |
Edited by - mbobka on Jul 25 2006 06:38:26 AM |
|
|
feline
Whole Tomato Software
United Kingdom
19022 Posts |
Posted - Jul 25 2006 : 7:53:43 PM
|
using VS2005 and VA 1530, if i place the caret before or after 'A', so that it is touching, and open the menu VAssistX -> Refactoring, then "rename" and "add member" are both available.
what are you trying to do that is not working? |
zen is the art of being at one with the two'ness |
|
|
marinovi
New Member
Hungary
4 Posts |
Posted - Jul 28 2006 : 10:30:18 AM
|
Same thing happens with other non-one-long indentifiers: if you hover the first character, the down arrow will not appear.
If you move the mouse after the first char (works with 1 char length too: "class A {" - move the mouse between 'A' and '{' ) the menu will appear...
|
|
|
accord
Whole Tomato Software
United Kingdom
3287 Posts |
Posted - Jul 28 2006 : 10:38:28 AM
|
jpizzi: you have placed the "{" in a new line, after "class A", while nbobka have placed the "{" character after "class A" separated only with space.
Little difference, but maybe matters.
|
|
|
jpizzi
Tomato Guru
USA
642 Posts |
Posted - Jul 29 2006 : 01:15:40 AM
|
Well, another difference, as I was re-reading the thread, is that I had the classname selected.
I re-tried the test, and got the same results. If I do not have the name selected, I can get a refactor menu when the mouse cursor is after the name, but not before it. In this case, I do not get the Extract Method choice, but I get the others, which seems to be the opposite of mbobka's original experience.
Still seems OK for me. Perhaps there is some other difference? |
Joe Pizzi |
|
|
|
Topic |
|