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

Glyphfriend does not work with .aspx, .ascx, .master, cshtml pages #109

Open
mrhieuit opened this issue Feb 5, 2020 · 5 comments
Open

Comments

@mrhieuit
Copy link

mrhieuit commented Feb 5, 2020

Hello Rionmonste,

Thank you for the useful plugin. Glyphfriend is great when I working with .html pages, however it not work when I working in some page as .aspx, .ascx, .master (WebForm), cshtml (MVC)
How I do that?

@KP-Brown
Copy link

Greetings @rionmonster,

I'm finding the same problem. It works well in .html files, but, when it comes to web forms, the context menu doesn't display the associated image and Glyphfriend isn't shown in the right-click menu. I don't use Resharper, so, my issue isn't related to that.

Any thoughts or ideas are greatly appreciated.

image

@rionmonster
Copy link
Owner

Hi folks!

I appreciate you both reporting the issue and I believe that I might have an idea of how or why this is occurring. There have been some underlying changes with regards to how certain types of files are matched (e.g. HTML-flavored) and it may simply require a change to explicitly include the extensions that you both have mentioned.

May I ask which version of the extension you are running (or rather which version of the IDE you are targeting)?

Thanks much!

Rion

@KP-Brown
Copy link

Good morning.

I'm currently using version 2.1.0.2 of Glyphfriend with Visual Studio Professional 2017 (15.9.21).

Are those changes that need to be made on my end or within the extension?

Thanks,
Ken

@rionmonster
Copy link
Owner

Hi Ken,

Thanks for this - it wouldn't likely be anything that you'd need to change/adjust on your end. I'll see if I can reproduce this again 2017 and try and get it resolved.

I appreciate it!

Rion

@mrhieuit
Copy link
Author

Hello @rionmonster

I'm using Microsoft Visual Studio Enterprise 2019 - Version 16.4.6.
Glyphfriend plugin works with .html files.

However, it does not display any suggestions when I work with html in Webform pages as: .aspx, .ascx, .masterpage (Webpage, WebUserControl, Masterpage). The same goes for MVC Core with pages: .cshtml (View, ViewComponent, ViewImports, ViewStart). In the right-click menu of these page, Glypfriend menu does not appear either.

In addition, there was another problem, when I was working on the *.html file, the number of icons displayed was incomplete, some "fa fa-..." classes displayed icons, others did not. I am using fontawesome 4.7.0. I have not tried version 5.x yet. For details, you can see the screenshot I have attached.

icon

Thanks again for supporting the community about your great plugin.
I look forward to hearing from you,
Hieu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants