In Bluej there's a navigation view located to the side of every class useful to navigate through de code more easily.
Visual Studio has one too. Do all IDEs have this feature? Eclipse has it? What are all the IDEs that support this feature and what is the technical name of the feature? Is it "navigation view", or "code viewer", or it depends on what IDE you are using?
Maybe this eclipse plugin could be useful:
https://marketplace.eclipse.org/node/620873
These are for IntelliJ:
Code outline 2
or
CodeGlance
For NetBeans:
CodeOutline
Related
I'm creating a DLL using C++ in Visual Studio 2015. I started my project by following these instructions.
I need to add a reference to my project so I can make use of an API and, unlike C# DLL projects (for example), I'm unable to access the Browse tab when clicking on Project > Add Reference.
According to this page this is because:
The number of tabs available at the top of the Add Reference dialog
box can vary, depending on the type of project open and the resources
it is using. C++ native projects contain only a Projects tab.
Why is there this restriction and is there any way to get around it?
EDIT: I've just found a solution here but I'm new to Visual Studio and I'm not sure how to set 'the CLR option' and then remove after adding my reference. If anyone can explain how to do this I would be very grateful!
I'm a little late to the party, but I recently encountered a similar problem and have a fix that might help the OP or others in the future.
Problem Overview:
Open the Visual C++ project[1] in Visual Studio[2]. In the top toolbar, click on "Project > Add Reference..." . In the window that pops up, there is no "Browse" button/option (see image No Browse option).
Solution:
In the top toolbar, click on "Project > Properties"[3]. In the left navigation panel of the window that pops up, click on "Configuration Properties > General" (this will probably be selected by default). In the right panel, click on "Project Defaults > Common Language Runtime Support". The field value should read "No Common Language Runtime Support" (see image No /clr). Using the drop-down menu in the Common Language Runtime Support field (the grey down-arrow box), select "Command Language Runtime Support (/clr)". Apply the change. The Property Page should now look like this. Click "OK" to close the Property Page. Now, when you go to add a reference, the window that shows up will have a "Browse..." button and look like this. If you want to subsequently remove CLR support[4], select the "No Common Language Runtime Support" option and apply the changes.
Notes:
[1] As you're probably aware, you can select from various project types when creating a new project in VS. I experimented with most of the Visual C++ project types included under the Visual C++ template. Since the problem -- lack of "Browse" option when adding references -- seems to be related to CLR support, you will encounter this problem in all Visual C++ project types that are not created as Visual C++ CLR projects. Thus, if you want avoid the problem from the get-go, consider creating a CLR project from the start.
[2] I was able to replicate the problem in Visual Studio 2015, 2017, and 2019; the same solution works for all versions.
[3] Before changing any Configuration Properties, use the Configuration drop-down list in the top-left of the Property Page to select which configuration you would like to change the properties for, e.g. Debug, Release, All.
[4] If you have added references after turning on CLR support, then turning off CLR support is dubious as suggested by #Cody Gray in the comments to the original question. I have not tried to build a project after doing something like this so I can't speak to the solution suggested here. My answer is just to tell you how to change the CLR support.
For C++ projects, you need to get all the projects into the same solution and then when you go to Add Reference you'll see the other projects listed. You then just check the box to 'add the reference'. Keep in mind that this will cause the import library of the DLL (or a static library for a non-DLL library project) to link against your target project. It will not add any include paths you might need to get to the import headers for your DLL.
DirectX Tool Kit has instructions for adding project-to-project references for a C++ project that you might find useful to read over. See here.
For some general background on C++ project-to-project references. See this Visual C++ Team blog post which was published when they were updated for Visual C++ 2010.
Can I use DevExpress related "DxCore" to extend VS functionality to add new dialogs/toolwindows etc.?
If so, how is it different from VS SDK (focusing on dialogs/tool windows)?
DXCore has great wizards for creating and adding tool windows into your plug-in projects. The DXCore tool windows are the same as Visual Studio ones, for example, Solution Explorer, Toolbox or Property Browser. Creating a tool window plug-in using DXCore is easy. Just arrange your components in the tool window designer, set a few properties, and compile the project.
I know that there are many questions and answers regarding having VisualStudio keyboard shortcuts in Eclipse.
I'm actually interested in the opposite: having Eclipse keyboard shortcuts in VisualStudio.
Does anyone know if this is possible?
I haven't seen any direct Eclipse shortcuts or key-bindings to import directly in Visual Studio. (only official supported languages are documented)
That leaves only a manual settings, I am afraid.
Visual Studio refugee here. I've had to switch to Eclipse to write a couple of Java apps and I am really missing all the VS2008 goodness I've come to rely upon.
I am new to Eclipse, so I simply might not be finding what I need. With that in mind, how do I replicate the following in Eclipse.
Right click on a source code tab,
and open the folder
Love VS' External Tools feature, which allows you to perform operations on a single file via tokens. Anyway to do this in Eclipse?
Intellisense when editing XML files
Finally, can someone recommend a good newsgroup or a forum where Eclipse experts hang out (other than here)? I couldn't really find anything on the eclipse site.
There are plug-ins available for this, such as StartExplorer, Eclipse Explorer
Click on the "start button + toolbox" drop down menu next to "run" and "debug" and select "Open External Tools Dialog". This lets you run arbitrary tools.
Intellisense for XML would normally be provided by the XML editor you're using. Look in Eclipse Plugin Central for XML plug-ins if the one which come with Eclipse aren't enough for you.
Is it possible to add a custom tab to a project properties page in the Visual Studio 2008?
What I want to do is to be able to add a custom tab to properties page for the projects created from default project templates (WPF Application, WPF custom controls library, etc).
Keith,
I'm working on VS add-in for WPF applications localization. I want to be able to manage project specific settings via "project properties" page. I did some research and it seems that it is not possible to extend existing projects in this way.
It seems that during the time this question was asked, this feature was not implemented in Visual Studio SDK.
There's answer for similar question https://stackoverflow.com/a/5325158/2617201 which refers to Microsoft Documentation at Adding and Removing Property Pages. The article refers to Visual Studio 2015 (later versions should have the same feature).