Author |
Topic |
|
nth78
New Member
5 Posts |
Posted - Jul 09 2010 : 3:52:25 PM
|
if i have a variable of a built in datatype (int, String, DateTime, etc):
whenever i type <variable name>. I don't get an intellisense dropdown of the members of the int, string, or datetime types. Is there a setting I need to change to have Visual Assist work for built in .net data types? |
|
accord
Whole Tomato Software
United Kingdom
3287 Posts |
Posted - Jul 12 2010 : 03:57:22 AM
|
Can you please copy your system info using
VA Options -> System Info -> Copy Info
and paste the result (from the clipboard) to your reply. This will give us the basic information about your setup.
You have mentioned .net, but what programming language are you using? C# or VB?
I wasn't able to reproduce your problem using VA 1827 in VS2008 SP1 or in VS2010.
Can you please create a new windows forms application:
File -> New -> Project...
to see if you can reproduc the problem there? I tried the following code: String obj; obj.
and got the listbox with the members. I typed this to the constructor of Form1. |
|
|
nth78
New Member
5 Posts |
Posted - Jul 12 2010 : 09:12:02 AM
|
I'm using C++ in Visual Studio 2010. Here is the system info you requested:
VA_X.dll file version 10.6.1827.0 built 2010.06.11 Licensed to: VA X: XXXXXXXXXXX (5-user license) Support ends XXXXXXX DevEnv.exe version 10.0.30319.1 msenv.dll version 10.0.30319.1 Comctl32.dll version 6.0.2900.5512 Windows XP 5.1 Build 2600 Service Pack 3 2 processors (x86)
Platform: Project defined Stable Includes: C:\\Program Files\\Microsoft Visual Studio 10.0\\VC\\PlatformSDK\\include; C:\\Program Files\\Microsoft Visual Studio 10.0\\VC\\include; C:\\Program Files\\Microsoft Visual Studio 10.0\\VC\\atlmfc\\include; C:\\Program Files\\Microsoft SDKs\\Windows\\v7.0A\\include;
Other Includes:
Stable Source Directories: C:\\Program Files\\Microsoft Visual Studio 10.0\\VC\\atlmfc\\src\\mfc; C:\\Program Files\\Microsoft Visual Studio 10.0\\VC\\atlmfc\\src\\mfcm; C:\\Program Files\\Microsoft Visual Studio 10.0\\VC\\atlmfc\\src\\atl; C:\\Program Files\\Microsoft Visual Studio 10.0\\VC\\crt\\src;
|
|
|
accord
Whole Tomato Software
United Kingdom
3287 Posts |
Posted - Jul 12 2010 : 3:40:11 PM
|
I got listbox for String using C++ and a new Windows Forms Application test project:
What do you get if you do the same? Update: I also get listbox with int and DateTime. |
Edited by - accord on Jul 12 2010 3:43:24 PM |
|
|
nth78
New Member
5 Posts |
Posted - Jul 12 2010 : 4:41:09 PM
|
quote: Originally posted by accord
I got listbox for String using C++ and a new Windows Forms Application test project:
What do you get if you do the same? Update: I also get listbox with int and DateTime.
I don't get anything. I am using C++ clr/cli if that makes a difference
Update: I rebuilt the index and now it's working for String and DateTime but not for integer.
if I enter int nTest = 0; nText and type ".", nothing happens
|
Edited by - nth78 on Jul 12 2010 5:05:52 PM |
|
|
accord
Whole Tomato Software
United Kingdom
3287 Posts |
Posted - Jul 13 2010 : 03:49:33 AM
|
I also used managed C++ for the test. >I don't get anything. Did you try it in a new test project? It is crucial to see if the problem is caused by some settings or maybe by some code that confuses VA.
If you cannot get members for int in a new Windows Forms Application test project, the solution may lie in the settings: can you please export your settings:
VA Options -> Performance -> Export Settings
IDE tools menu -> Import and Export Settings -> Export selected environment settings
and send them to me so I can import them to see if I can reproduce the problem here. Send it via this form:
http://www.wholetomato.com/support/contact.asp
Please include the URL of this topic in the description, so we can match it up. |
|
|
feline
Whole Tomato Software
United Kingdom
19020 Posts |
Posted - Jul 15 2010 : 1:56:22 PM
|
Thank you for the settings, I have them. I have now found the problem, VA does not understand that you can call functions on the basic type "int" in C++ CLR:
case=8550
In VS2005 and VS2008 you will get a listbox at this point from the IDE, but since VS2010 is not providing intellisense in C++ CLR this is not happening in VS2010. |
zen is the art of being at one with the two'ness |
|
|
nth78
New Member
5 Posts |
Posted - Jul 15 2010 : 8:53:59 PM
|
quote: Originally posted by feline
Thank you for the settings, I have them. I have now found the problem, VA does not understand that you can call functions on the basic type "int" in C++ CLR:
case=8550
In VS2005 and VS2008 you will get a listbox at this point from the IDE, but since VS2010 is not providing intellisense in C++ CLR this is not happening in VS2010.
Is this something that will be fixed in a future version?
Thanks |
|
|
feline
Whole Tomato Software
United Kingdom
19020 Posts |
Posted - Jul 16 2010 : 09:14:59 AM
|
We are hoping to fix this at some point, but unfortunately I don't currently have an estimate on when this will be fixed. |
zen is the art of being at one with the two'ness |
|
|
nth78
New Member
5 Posts |
Posted - Mar 16 2011 : 9:21:12 PM
|
any update on this?
Thanks |
|
|
feline
Whole Tomato Software
United Kingdom
19020 Posts |
Posted - Mar 16 2011 : 11:05:27 PM
|
Unfortunately not much progress yet, I have just increased the priority on this for you, hopefully this will help a bit. |
zen is the art of being at one with the two'ness |
|
|
|
Topic |
|