Doesn't function with my german version of Visual Studio 2010 Ultimate. Have the arrays to be named with "array" to be found? Have the arrays to be integer arrays to be found? I didn't find a documentation so my questions are not answered.
1) No, arrays can be called anything not just array to be “found” 2) Yes it does support non integer arrays. Did you look at the last sample? 3) I did not test it on each and every environment/language combination known to mankind, I did provide the source code so feel free to look at it and help making it a better free add-on. 4) While I understand your disappointment/frustration, Q/A is the appropriate place for questions…
Vlad, I looked into implementing a graph for array data. The add-on forms are WPF forms and unfortunately WPF does not ship with a chart control. I looked for a good free control and could not find anything too reliable. There are a lot of good commercial controls that are rather pricy and because this is a free contribution, I don’t want to pay for a license. If you know of a free good chart control or a way to get a license from a commercial provider I would be happy to add the feature.
I recently found a wonderful chart control from SyncFusion and they have a special open source license! I added it to the extension and it is available for download. Please let me know what are your thoughts.
Although this visualizer works for integer values, it has a lot of problems displaying floating point values. It looks like it just handles the data as integers. Is there any special format to be selected?
You can modify how numbers are formatted from the Visualizer window, just change the default 0.## to the precision you need and make the cell wider to allow all the digits to display.
The default width of a cell is 60 (pixels), try 90 or 120 and see if it helps. Also, look at http://arrayvisualizer.codeplex.com/wikipage?title=Visualizer%20Addon%20Help for details.
Would it be possible to view one-dimensional arrays (with the proper dimensions) as 2D, 3D or 4D arrays?
Example: With that feature, you could view a int (or much larger) array as a 3x3 matrix if you can't use int[3,3] instead.
What do you think?
Mario, the reason I did not include a one dimension viewer is that VS does a good job showing lists and single dimension arrays out of the box. Showing a single dimension array as multi-diminution array is an interesting idea. In the meantime you can use the LinqLib library to transform your array to a multi dimension array using the ToArray(X, Y) extension.
In the immediate window type:
var temp = MyArray.ToArray(3, 3);
MyArray can be a single dimension array, multi-dimension array, or any type that implements IEnumerable.
switch over to the visualizer window and you will see it (prefixed with a $ sign)…
The LinqLib library is an open source project and you can find it at: http://linqlib.codeplex.com/
Only C# is supported (i tried VB.NET and C++ and it didn't find array variables)?
What array types are supported?
Dim a As Integer(,)
ReDim a(10, 10)
For i = 1 To 10
For j = 1 To 10
a(i, j) = 1