Thread overview
Visual D - hide the top menu item in non-D projects by default?
Feb 02, 2015
Ivan Kazmenko
Feb 02, 2015
Rainer Schuetze
Feb 05, 2015
Ivan Kazmenko
February 02, 2015
Hi!

When I open Visual Studio with Visual D installed, it shows Visual D right in the top-level menu, along with File, Edit, View, Debug, etc.  While it seems to contain some C++-to-D conversion tools, generally, people won't need the menu in non-D projects.  So, it looks kind of unnecessary and intrusive for people using the same IDE for writing C++ code (takes up space and changes the customary layout).

Now, the the question is: how can I set the things up so that the Visual D menu item appears only when a D project is active?  Currently, I only know how to remove the menu item altogether (via right click -> Customize -> Commands -> Delete), which sadly makes it unavailable for D projects, too.

Ivan Kazmenko.
February 02, 2015

On 02.02.2015 10:21, Ivan Kazmenko wrote:
> Hi!
>
> When I open Visual Studio with Visual D installed, it shows Visual D
> right in the top-level menu, along with File, Edit, View, Debug, etc.
> While it seems to contain some C++-to-D conversion tools, generally,
> people won't need the menu in non-D projects.  So, it looks kind of
> unnecessary and intrusive for people using the same IDE for writing C++
> code (takes up space and changes the customary layout).
>
> Now, the the question is: how can I set the things up so that the Visual
> D menu item appears only when a D project is active? Currently, I only
> know how to remove the menu item altogether (via right click ->
> Customize -> Commands -> Delete), which sadly makes it unavailable for D
> projects, too.
>
> Ivan Kazmenko.

I like to use some commands from the Visual D tool set for other languages, too. For example I can't work without "Search file", though the Solution Explorer has something similar, but way too slow and inaccessible. Having "Compile and Run/Debug" available is also useful for small D programs without having to create a project.

I understand that having an additional menu entry with multiple extensions can take away too much space, but I don't know a way that you can set things up to make it disappear automatically. I guess that will be the task of Visual D itself. I'll add it to the todo list...
February 05, 2015
On Monday, 2 February 2015 at 19:24:38 UTC, Rainer Schuetze wrote:
>
> I like to use some commands from the Visual D tool set for other languages, too. For example I can't work without "Search file", though the Solution Explorer has something similar, but way too slow and inaccessible. Having "Compile and Run/Debug" available is also useful for small D programs without having to create a project.
>
> I understand that having an additional menu entry with multiple extensions can take away too much space, but I don't know a way that you can set things up to make it disappear automatically. I guess that will be the task of Visual D itself. I'll add it to the todo list...

Thank you for the reply.

I'll take another look at the menu's uses for C++, then.
From what you are saying, it may appear helpful here, too.