Giter Club home page Giter Club logo

interisti / vs-material-icons-generator Goto Github PK

View Code? Open in Web Editor NEW
48.0 6.0 8.0 553 KB

This plugin will help you to set material design icons to your Xamarin projects In Visual Studio.

Home Page: https://visualstudiogallery.msdn.microsoft.com/3741d776-755b-4002-a6be-e86fa605a315

License: Other

C# 86.63% JavaScript 8.74% HTML 4.61% CSS 0.02%
icons material-icons-generator xamarin android material-design ios xamarin-ios xamarin-android visual-studio visual-studio-extension

vs-material-icons-generator's Introduction

Material icons generator

Build status

Download this extension from the VS Gallery or get the CI build.


This plugin help you to add material design icons to your Android, iOS or UWP project

See the changelog for changes and roadmap.

Features

  • Add icons from google's material icons set
  • Multiple sizes, densities and colors
  • Support for Xamarin.Android project
  • Support for Xamarin.iOS project
  • Support for UWP project

Add Icons

Right-click on your Project and click "Manage Material Icons..."

Context Menu

Main Window

Contribute

Check out the contribution guidelines if you want to contribute to this project.

For cloning and building this project yourself, make sure to install the Extensibility Tools 2015 extension for Visual Studio which enables some features used by this project.

Xamarin Studio

Credits

License

Apache 2.0

vs-material-icons-generator's People

Contributors

interisti avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

vs-material-icons-generator's Issues

Can't install the package on Visual studio Mac

Installed product versions

  • Visual Studio: [example 2015 Professional]
  • This extension: [example 1.1.21]

Description

I have downloaded vsix extension, but looks like we need mpak ext to install it on mac. is there any mpak available?

Error when opening the extension in VS (HRESULT 0x80072ee4)

Installed product versions

  • Microsoft Visual Studio Community 2017, Version 15.9.14
  • This extension, Version 1.8.60

Description

When I click right on the "Manage Material Icons..." it always throws the error "HRESULT 0x80072ee4".

Possible workaround

I tried a lot of things, uninstall, reinstall, update... And googled it, but no workaround worked for me.
I also tried to uninstall and reinstall from the VSGallery (https://marketplace.visualstudio.com/items?itemName=nikainteristi.Materialiconsgenerator)

Add hex color input

Installed product versions

  • Visual Studio: [example 2017 Enterprise]
  • This extension: [example 1.6.4]

Hi, great tool but i find the color selection quite tedious.
Could you add some entry field for specify the hex code for the color of the icon?

Thank you,
Andrea

[Suggestion] Save Color and Size selection

When adding several icons to multiple projects, it becomes rather tedious to change the color and size for every icon. If it saves last selection, it would be much faster to add icons.

Material Icons Generator window stay empty

Installed product versions

  • Visual Studio: Studio Professional 2019 Version 16.7.3
  • This extension: 2.1.0

Steps to recreate

  1. Right click on Xamarin.Android or Xamarin.iOS project
  2. click "Manage Material Icon..."

Current behavior

The window opens but stay empty

image

Expected behavior

The window opens and is populated

SVG to icons

Description

Generate icons from SVG

Current behavior

Search and locate an icon available in https://material.io/tools/icons

Expected behavior

Sometimes I have my own SVG files, and would make png icons. The plugin allows browsing a local SVG file then generate icons.

Error reading JObject from JsonReader. Path '', line 0, position 0

Installed product versions

  • Visual Studio: [2019 Professional]
  • This extension: [Material Icon Generator 1.7.0]

Description

When I open the Material Icon Generator, I get this error
Error reading JObject from JsonReader. Path '', line 0, position 0

Steps to recreate

Installed the extension and opened it

Error in Vstudio 2017

not working, sait Newtonsoft.json is not found but already installed this from my working solution

All Icon requested white in for iOS are downloaded in black

Installed product versions

  • Visual Studio: 15.5.5
  • This extension: 1.5

Description

When i download any icon in white color, the plugin download the black version

Here an example (ic_menu_white_24dp)
ic_menu_white_24dp

For android it work like a charm.

Any help?
Thanks

Installation under Visual Studio 2017 Professional not possible

Installed product versions

  • Visual Studio: 2017 Profesional
  • This extension: 1.6.3

Description

Installation under Visual Studio 2017 Professional fails. See Logfile below
31.10.2018 12:14:18 - Microsoft VSIX Installer
31.10.2018 12:14:18 - -------------------------------------------
31.10.2018 12:14:18 - Initializing Install...
31.10.2018 12:14:19 - Erweiterungsdetails...
31.10.2018 12:14:19 - Identifier : e1bf5443-bf81-49e6-bc33-004e1f1f7b02
31.10.2018 12:14:19 - Name : Material icons generator
31.10.2018 12:14:19 - Author : Nika Nikabadze
31.10.2018 12:14:19 - Version : 1.6.3
31.10.2018 12:14:19 - Description : This plugin help you to add material design icons to your Android, iOS or UWP project
31.10.2018 12:14:19 - Locale : en-US
31.10.2018 12:14:19 - MoreInfoURL : https://github.com/interisti/vs-material-icons-generator
31.10.2018 12:14:19 - InstalledByMSI : False
31.10.2018 12:14:19 - SupportedFrameworkVersionRange : [4.5,)
31.10.2018 12:14:19 -
31.10.2018 12:14:19 - Unterstützte Produkte :
31.10.2018 12:14:19 - Microsoft.VisualStudio.Community
31.10.2018 12:14:19 - Version : [14.0,16.0)
31.10.2018 12:14:19 -
31.10.2018 12:14:19 - Verweise :
31.10.2018 12:14:19 -
31.10.2018 12:14:19 - VSIXInstaller.NoApplicableSKUsException: Diese Erweiterung kann auf den derzeit installierten Produkten nicht installiert werden.
bei VSIXInstaller.App.InitializeInstall(Boolean isRepairSupported)
bei VSIXInstaller.App.InitializeInstall()
bei System.Threading.Tasks.Task.InnerInvoke()
bei System.Threading.Tasks.Task.Execute()

Add to multiple projects?

Installed product versions

  • Visual Studio: VS Community 2017 v15.4.0
  • This extension: 1.4

Description

I just got to try this out, and it's working well (except for a few small issues I've posted about). However, I think it'd be nice to be able to add icons to multiple projects at the same time. When working with Xamarin, we often work on at least iOS and Android (and often UWP too) at the same time. All icons need to be added to all 3 projects, so I think the process could be simplified/automated, instead of manually adding icon (and setting color, size and name) for each project.

Current behavior

To add an icon to a multi-platform solution, you need to add icon and fill properties for it multiple times.

Expected behavior

A way to add icons to multiple projects in the solution in a single go.

Adding to Android freezes VS for a minute or so.

Installed product versions

  • Visual Studio: VS Community 2017 v15.4.0
  • This extension: 1.4

Description

When adding an icon to my Android project, VS freezes for about a full minute before I gain control again.

Steps to recreate

  1. Create Xamarin Android project
  2. Right click project to add icon
  3. Find an icon, and add to project
  4. Wait and see

Current behavior

It's adding about 5 files to the project, and I wouldn't guess it should take so long? Adding to iOS is almost instantaneous, and that's 3 files.

Specify themes for material icons

Hi there great plugin, a nice enhancement request to be able to select the theme i.e. Filled, outlined, Rounded, Two tone, Sharp. Does the source for these images have the ability to specify this?

Ignores entered name

Installed product versions

  • Visual Studio: VS Community 2017 v15.4.0
  • This extension: 1.4

Description

When adding icons, it uses the default generated name (from selected icon and size), ignoring the name I entered.

Steps to recreate

  1. Open window to add icon
  2. Select an icon
  3. Change size to 36dp
  4. Remove the _36dp from the end of name
  5. Add to project

Current behavior

The added files still have _36dp appended in the end, even though I removed it from name before clicking add to project.

Expected behavior

The name I changed to, should be used as base for file names.

Freezing VS2015 1.5

Installed product versions

Visual Studio: 2015 
This extension: 1.5

Description

After downloading the file the window is not closed, it freezes the VS 2015. When it returns the VS2015 accuses that it has a window still open in operation.
Steps to recreate

Open extenstion
Selected icon
Freeze window
button close and cross not working freezing VS2015

Current behavior

Freeze Vs2015

Visual studio closes and restarts after selecting color then size

Installed product versions

  • Visual Studio: 15.7.3 Community
  • This extension: 1.6.1

Description

Visual studio is throwing error message dialog and closes and restarts when selecting the size

Steps to recreate

Search circle,
Select check_circle_outline
Select green_dark => error message shows
Click Ok
Select size as 48dp
Visual studio freezes and restarts.

Current behavior

Visual studio is restarting give the above steps

Expected behavior

Visual studio does not restart and freeze. Should be able to import the image and size etc.

As a work around selecting the size first then the color works fine.

capture

Error Opening Extension

Installed product versions

  • Visual Studio: 2019 VS Enterprise 16.3.5 with .Net 4.7.03062
  • This extension: 1.8.0

Description

Error when opening extension.

Steps to recreate

  1. Right click on project
  2. Select Manage Material Icons ...

Current behavior

Error dialog with empty extension dialog

Unexpected character encountered while parsing value: <. Path ", line 0, position 0.

Expected behavior

Dialog with icons.

feature suggestion - remove icon sets.

Installed product versions

  • Visual Studio: 2015 Community
  • This extension: 1.5.32

Description

Add ability to remove icon sets.

Steps to recreate

Just started using this so thank you.
I realized when I pulled a few sets down that I grabbed either a. the wrong size, or b. the wrong color.

Current behavior

If this option exists, I am not able to see it.

Expected behavior

Would save a bunch of time on the other end as importing them does.

Image for ic_check_box_black_XXdp is Broken

Installed product versions

  • Visual Studio: 2017 ent
  • This extension: 1.5

Description

ic_check_box_black_xxdp is not working. Image doesn't show in previewer and cannot Add to Project or image is corrupt when downloaded.

Steps to recreate

  1. Open Extention
  2. search "check box"
  3. Click on any results
  4. Attempt to add to project and it will either silent fail or download corrupt pngs.
  5. I also tried other colors

Current behavior

see above

Expected behavior

Should download correct image at right dp setting.

Sizes not found but do exist at material.io for images

Hi there not sure exactly where your source of images are coming from but I was unable to get some images at sizes I did manage to get from material.io.

Unable to get the size from extension
capture

Was able to download the size from material.io
capture2

I guess is it possible to get a wider net of sizes that match i.e. https://material.io?

Thanks! Extension is great though very helpful

Freezing VS2017 1.5

Installed product versions

  • Visual Studio: 2017 Community 1.5(26430.12)
  • This extension: 1.1.3

Description

After downloading the file the window is not closed, it freezes the VS 2017. When it returns the VS2017 accuses that it has a window still open in operation.

Steps to recreate

  1. Open extenstion
  2. Selected icon
  3. Freeze window
  4. button close and cross not working freezing VS2017

Current behavior

Freeze Vs2017

Add Icons into mipmap Folder

Installed product versions

  • Visual Studio: [2017]
  • This extension: [1.8.0]

Description

I am work in xamarin Android and the folder are not called Drawable but mipmap

Current behavior

When add a icon, the extension create folder drawable-hdpi, drawable-mdpi, and so on.

Expected behavior

The extension should add the icons into folder nipmap-hdpi, mipmap-mdpi, and so on.

Editor broken, after add icon in project

Installed product versions

  • Visual Studio: VS Community 2017, Version: 15.5.7
  • This extension: 1.5.3

Description

After add icon in project, the editor of visual studio broken and I can't edit files. The editor back to normal after restart visual studio.

Steps to recreate

  1. Open material extension
  2. Choose one icon
  3. Add in project
  4. Close material extension

Current behavior

I can't edit files after add icons in project.

error

Expected behavior

Can edit files after add icons in project.

VS 2019 hangs when icon added

Installed product versions

  • Visual Studio: 2019 community
  • This extension: 1.8

Description

When I add an icon to solution it freezes.

Steps to recreate

  1. Open a xamarin android project.
  2. Open plugin.
  3. Add an icon.

Current behavior

It focking crashes my IDE.

Expected behavior

Not crash. (the icon is added when I relaunch)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.