Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XamlStyler not showing in VS for Mac version 8.2 (8.2.0.1105) #199

Closed
ElishaMisoi opened this issue Jul 25, 2019 · 13 comments
Closed

XamlStyler not showing in VS for Mac version 8.2 (8.2.0.1105) #199

ElishaMisoi opened this issue Jul 25, 2019 · 13 comments

Comments

@ElishaMisoi
Copy link

ElishaMisoi commented Jul 25, 2019

I have installed XamlStyler but it doesn't seem to be showing or working in the latest Visual Studio 2019 for Mac version 8.2 (8.2.0.1105).

After the update XamlStyler stopped showing in the xaml editor even after numerous re-installs.

Below is a short GIF:

The plugin is installed:

vs2

Doesn't seem to show up in editor and shortcut is also not working:

vs1

@ElishaMisoi ElishaMisoi changed the title XamlStyler not showing XamlStyler not showing in VS for MAc Jul 25, 2019
@ElishaMisoi ElishaMisoi changed the title XamlStyler not showing in VS for MAc XamlStyler not showing in VS for Mac Jul 25, 2019
@ElishaMisoi ElishaMisoi changed the title XamlStyler not showing in VS for Mac XamlStyler not showing in VS for Mac version 8.2 (8.2.0.1105) Jul 25, 2019
@Saratsin
Copy link
Contributor

OMG they provided the new version again XD
I guess the problem is with the new editor (you can try to switch back to the old editor, if they not deleted this option in preferences).
Have you tried a shortcut (Command+Shift+I)?

@ElishaMisoi
Copy link
Author

The shortcut 'Command+shift+I' also doesn't work.
Reverting to the older editor seems to solve the issue.
I guess it's an issue with the new editor.

@nhd98z
Copy link

nhd98z commented Jul 27, 2019

Please fit it, I also encountered the same error.

@leszekrogowski
Copy link

Where can I find the option for reverting to the old editor?

@Saratsin
Copy link
Contributor

@leszekrogowski Here you can disable it
image

@Saratsin
Copy link
Contributor

Saratsin commented Jul 31, 2019

I've found a quite interesting thing. New editor is compatible in many scenarios with the VS for Windows. Here we have the sample of extension, that works for both Studios and (with most of code stored in core project), some kind of cross-platform extensions development. I guess I'll try to make the XAML Styler extension by the same approach, so it will be easier to maintain both extensions platforms. @grochocki , what do you think about it?

@nhd98z
Copy link

nhd98z commented Aug 8, 2019

@Saratsin I don't know why but I start moving from VS2019 to VS Mac and when I installed XAML Styler, it didn't work. Also, what Batch Format XAML is? I clicked and nothing happens.

image

@developering
Copy link

Has anyone found a workaround for this? I haven't found any way around this issue. I miss using this amazing extension!

@AnthonyLatty
Copy link

At the moment the only workaround i have found is to use the Format Document shortcut. The only disadvantage i found is the arrangement of XAML properties are not correct, but the XAML is formatted.

@Saratsin
Copy link
Contributor

Saratsin commented Sep 22, 2019

And support is back. At least partially)
I didn't find the way how to add Format XAML button to the context menu of editor (it doesn't appear with both options, when new editor is either enabled or disabled).
But it works again with Command+Shift+I shortcut, as well as with Edit/Format Xaml button in tabs.
Also "Batch Format Xaml" option works (it formats all the xaml files inside the project/solution)

I advice to relaunch the Visual Studio for Mac after installing this extension. In my case "Format Xaml" button appeared only after that.

The new version is 1.1.5

It's already available in MonoDevelop repository

@grochocki grochocki added this to the Future milestone Dec 31, 2019
@grochocki
Copy link
Contributor

Fixed via #246

@nhd98z
Copy link

nhd98z commented Jan 11, 2020

@grochocki Why does fixing this bug take so long?

@grochocki
Copy link
Contributor

I personally do not have regular access to Mac for debugging. @Saratsin was a huge help in addressing some of the VS for Mac issues. Unified releases are coming with #231, which should help align updates and bug fixes across all versions.

@grochocki grochocki removed this from the Future milestone Sep 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants