viacheslav-lozinskyi / Preview-MD

Quick preview of MARKDOWN and MD files
Apache License 2.0
2 stars 0 forks source link

Preview button does not appear in VS2022 enterprize #2

Open boumako opened 2 years ago

boumako commented 2 years ago

devenv_n8PGoyiBrG

I hope this helps clarifying the issue. Cheers

viacheslav-lozinskyi commented 2 years ago

I see. Thank you for the reported bug. Information is enough. I will try to fix it, but result not ensure.

The main problem with this bug, that I can't reproduce it. Visual Studio Community - doesn't have such problem. Visual Studio Enterprise - not tested, because this version is too expensive for me.

boumako commented 2 years ago

Thanks for the reply. I think that you can download it and run it with minimal functionality (not 100% sure, since I have a license :) )

viacheslav-lozinskyi commented 2 years ago

I will use trial version of VS2022 Enterprise.

viacheslav-lozinskyi commented 2 years ago

Could you check, that this problem only with Preview-MD, or with other my preview extensions too?

boumako commented 2 years ago

I have markdown editor installed (just for previewing, not editing) and works image

viacheslav-lozinskyi commented 2 years ago

I told about extensions for MetaOutput. For example Preview-HTML, Preview-XML, Preview-YAML, ...

boumako commented 2 years ago

Preview-YAML works image

viacheslav-lozinskyi commented 2 years ago

Seems I understand the problem.

Full file name is taken from file properties in Solution Explorer. If this URL is possible to extract from Solution Explorer item, this information is used for detection of necessary previewer. If previewer for specific extension is found, this URL is sending to preview mechanism for execution.

For pointed by you Markdown file, URL not exists (seems phisical file is absent). This is a reason, why "Preview" menu item is hidden.

If it's true, then it's not a bug.


This is file properties when Preview menu item doesn't work:

image


This is file properties when Preview menu item is working:

image

boumako commented 2 years ago

I have to go for now, but all the file(s) exist (this is a real solution/project). We can continue next week,. cheers

viacheslav-lozinskyi commented 2 years ago

Could you give information from "Properties" tool for this Markdown file?

P.S. Will be great to continue next week with solving of this issue. I am first person who want to fix all existing problems in this product, and thank to anybody who help me in it.