I need some help with my Visual Studio layout. I am missing a comfort function but I don't know how to write it exactly. Attached are 2 images. As it looks the desired function is available in C# projects. With VB project this is missing. Resetting the window layout does not bring anything. Can someone help me?
That is the Navigation Bar. Select Tools > Options from the main menu, select Text Editor > Basic > General in the Options dialogue, then check the Navigation bar box.
You really ought to have a fairly thorough look through the Options dialogue to see what's there and what you might want to change now or in the future. I have answered numerous questions on how to change VS settings simply because I was prepared to do that when the person asking the question didn't bother.
Related
I am using VB.Net 2015 edition and it's coder menu not showing. How to add that?
Image Of Menu in Coder:
Tools > Options from the main menu. Text Editor > Basic > General and check the 'Navigation bar' box. ALWAYS look in the IDE options when you want to manipulate the IDE. Yes, there's a lot in there, but that's why you should have a look through it BEFORE you need to use it: so that you have a fair idea of what's available. Anything related to the code editor window specifically is under the Text Editor section.
I want to be able to use things like the Solution Explorer window or the Properties window from Visual Studio in my Windows Forms application. I am not sure what the term for it is so I cannot look it up.
Have you tried using a normal panel? You might want to code all the contents of the solution explorer and the properties panel. The panel can be docked from its properties. Then, for example, if autosize is disabled, you write
If ...... Then
_something_.Autosize = false
End If
But that's a TON of code!
I don't think you can reproduce the solution explorer dynamically nor the properties panel. Besides, do you need to change all properties of an object at once? It looks like you are trying to remake visual basic dynamically. Well, that can't happen. Not with the current versions of vb.net, at least.
You should try involving things with panel that appears on your screen with all the settings in it, but like TGamer, there is a lot of code to do. But start with showing and hiding the panel to start with. Maybe try importing the settings through a VS file stored somewhere in your directory.
When I'm debugging my application something is not right, and I can't continue.
So is it possible to see the output code of my app while I'm testing it to see what is wrong?
I open the output window but nothing happens in there it's just stay blank.
In two words: I want to see what my app is actually doing while I'm testing it.
I'm using Visual Studio 2010.
So is it possible to see the output code of my app while im testing it to see what is wrong?
Yes, but you actually have to output something, otherwise nothing will show up. In VB.NET (which is the language you're using if you have Visual Studio 2010), this is accomplished with the following code:
Debug.Print("Here is some text that will be output.")
The documentation for the Debug.Print method is here. In order to call it like that, you will also have to have imported the System.Diagnostics namespace. You do so by placing the following line at the top of your code file (with all the other statements that look like it):
Imports System.Diagnostics
The output will automatically appear in the Output Window. If you still don't see anything, ensure that output is not being redirected to the Immediate Window instead: Tools -> Options -> Debugging -> General -> uncheck the option "Redirect all Output Window text to the Immediate Window".
Confusingly, you use the word "code" in your question, saying that you wish to "see the output code of [your] app while testing it". I'm not sure if by "code" you actually mean "output", in which case the solution above will work for you.
If you actually mean code, as in your program's source code, then you can use the Break toolbar button (or press Ctrl+Break) in the IDE to pause the execution of your program. This will automatically dump you back into the code editor with the currently-executing line of code highlighted.
Visual Studio has some very powerful debugging tools. If you don't already have a general idea of how to use them, I strongly recommend picking up a book on either it or VB 2010 that will teach these things to you. They can be very confusing to learn by trial and error, but are not all that difficult if you have a good guide. Spend that time debugging your code, not figuring out how to use the IDE.
Most of the time when I code, either using Visual Studio or gVim, I like to have many open windows with code files so that I can go back and forth from one to another, either to edit or just read while editing another file.
Thus I found VS 2010's feature of "floating" code windows very helpful. However, the fact that when a code window is floating, it's "always on top" is a bit annoying, because it might hide other windows, such as the "Find Results" for example.
Is this something that is customizable? Is there a configuration value somewhere that either enables or disables the "always on top feature" of floating code windows in Visual Studio 2010?
Thanks
Well, it is not a real top-most window, it is merely on top of the Visual Studio main window. An 'owned' window. From where it competes with other windows that VS displays for the Z-order, like the Find Results window. You'd need to arrange these windows so they don't easily overlap and obscure each other. That's supported, you can dock them. Bit of a chicken-and-egg problem, isn't it?
If you have concrete ideas how to improve this then you can post them to connect.microsoft.com
When working in a VB.NET project in Visual Studio (2008 specifically, but hopefully the answer applies to any version) is it possible to have intellisense/auto-complete only show the "All" tab instead of the "Common"/"All" tab? Or alternatively, have it default to the "All" tab.
Being predominately a C# developer having the editor try to be smarter than me by telling me what it thinks I should be looking for is more of an annoyance than anything.
NOTE: I do have ReSharper and DevExpress installed, so if the solution only works with one of those tools it is available.
I am afraid I don't know of a way to default to the All tab. I have grown accustomed to using keyboard shortcuts to toggle between the two, to a degree where it doesn't bother me anymore.
I know its not what you are looking for, but maybe it can help you anyway :)
[ALT]+[.] Go to All tab
[ALT]+[,] Go to Common tab