T O P I C R E V I E W |
Holuwa |
Posted - Aug 11 2020 : 10:37:43 AM It seems the Open Corresponding File (https://docs.wholetomato.com/default.asp?W195) function can work with C# XAML project. But it doesn't work for C++ XAML Project.
I'd love to see that Visual Assist can provide Open Corresponding File support for the scenario described below.
In a C++ project (using C++/WinRT), an xaml file is associated with a .h file and .cpp file as following:
- Filename.xaml - Filename.h - Filename.cpp
If I'm editing Filename.xaml, currently Alt+O has not effect. If I'm editing either Filename.h or Filename.cpp, then Alt+O switches to either Filename.cpp or Filename.h.
What I wish for is
- when I'm editing Filename.xaml, Alt+O can provide options to go to either Filename.h or Filename.cpp - when I'm editing Filename.h, Alt+O can provide options to go to either Filename.xaml or Filename.cpp - when I'm editing Filename.cpp, Alt+O can provide options to go to either Filename.xaml or Filename.h
Thanks! |
5 L A T E S T R E P L I E S (Newest First) |
feline |
Posted - Aug 17 2020 : 06:21:36 AM This makes sense, I have put in a feature request for this:
case=142803
VA does have some understanding of IDL files, the Alt-M list should work correctly for you in your main IDL file, but as you know, there is no syntax highlighting being applied. |
Holuwa |
Posted - Aug 13 2020 : 11:13:49 AM The IDL file is in MIDL3 format (https://docs.microsoft.com/en-us/uwp/midl-3/intro). It doesn't seem Visual Assist currently understands that.
Because the IDL file doesn't change so frequently, as far as I'm concerned, it's fine that it's not listed in Alt-O.
I usually don't use the generated IDL file, instead I put all definitions in one single IDL for a project to increase build speed.
|
feline |
Posted - Aug 13 2020 : 09:56:40 AM I didn't know about that extension, I have a test case solution working here now, thank you for that.
What about the IDL file? This is one of the set of 4 files for the default "MainPage" set that is created in this solution. |
Holuwa |
Posted - Aug 12 2020 : 12:12:58 AM I'm using Visual Studio 2019. Sorry I forgot to mention that "C++/WinRT Visual Studio Extension (VSIX)" (https://marketplace.visualstudio.com/items?itemName=CppWinRTTeam.cppwinrt101804264) should be installed. C++/WinRT is a relatively new C++ language projection of Windows Runtime, more information is available at https://docs.microsoft.com/en-us/windows/uwp/cpp-and-winrt-apis/intro-to-using-cpp-with-winrt
It supports XAML, the project template "Blank App (C++/WinRT)" is a good example. |
feline |
Posted - Aug 11 2020 : 1:47:00 PM Which IDE are you using?
I am not currently seeing the option to create a C++ XAML project in VS2019, so I assume there is an extra component I have to install, but it could simply be that you are using a different version of the IDE. |