Atom material icon not working in WebStorm - icons

I installed Atom Material icon plugin in WebStorm 2021.1.3.
When I write index.html the icon does not show it, but when I change the name before .html (e.g. othername.html) it displays the icon.
How do I display an icon for index.html?

In most cases, the file type of index.html was changed to Auto-detect file type by context or Text. You can change it in the settings: Preferences / Settings | Editor | File Types, find Auto-detect file type by context or Text and delete index.html from File name patterns list.

This problem is due to a defect in the icon file, which you can see in the following link:
https://material-theme.com/docs/reference/associations/#index
To solve this problem, you must enter the following path: File > Settings > atom material icons settings
Other items are available in the photo :
Rename the icon name from index to indx
Note that the index name must be changed in the settings section so that the icons are displayed correctly. This was the solution I was able to solve my problem. Good luck

Related

Sitecore 8 Custom Icons without using zip file

Adding custom icons in Sitecore requires the following step:
Zip it is all. The name of archive should be the same as the containing folder (MyIcons.zip);
Upload the zip file by the path which was mentioned above: \sitecore\shell\Themes\Standard.
The problem is when I need more icons I need to add the icon and zip the file again. Is there a way to avoid this or make this maintainable without using zip file?
You can directly specify the URL of the icon you wish to use in the Icon field of the item. This can be an image on disk:
Or it can be an image from the Media Library:
I would recommend using the format such as: /-/media/F8C69CCD422C40AC843D2E4144F16964.ashx?thn=1
This ensures that the icon used is of thumbnail size (the thn=1 parameter) and by using the guid of the media item it means that the icons can be moved/restructured without having to update the Icon fields.
In both these cases, you need to manually enter the path of the icon file, you cannot specify it using the icon selector dialog.

Summernote tooltip icon not showing

In my summernote editor I have the problem that the font icon isn't working while I see it back in the html. I am wondering how to fix this issue?
Thanks!
I faced this problem a while ago and solved by:
The fonts used by summernote is not the bootstrap one. They have their own font directory. One can check the console (Ctrl+Shift+I) in web browser for any error. One may have to edit the summernote.css file if they are not located in the default folder for Summernote like adding "../" in front of all the font references at the top of the css file.For my application, I had put it under /static/css/font for the server to find it.
To check whether the server is able to find the directory, one can also check the network by right click -> Inspect element-> change to network tab:

Custom desktop icon with inno setup

I have the following in my inno setup file which creates a desktop icon no problem:
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"
However, the main file that launches the program is a VBS file rather than an EXE. I'd like to have a nice icon on the shortcut rather than the VBScript one, but can't find an option to change the icon.
Is there such an option available to set a custom icon??
The Inno-Setup help about the [Icons] section says:
IconFilename
The filename of a custom icon (located on the user's
system) to be displayed. This can be an executable image (.exe, .dll)
containing icons or a .ico file. If this parameter is not specified or
is blank, Windows will use the file's default icon. This parameter can
include constants.
Example: IconFilename: "{app}\myicon.ico"
(source)
Hope that helps.
You pasted the [Task] entry whereas the [Icons] entry is what creates the actual icon.
For that, you want to install a custom icon file, and set the IconFilename (and optionally IconIndex) parameter.
Before you use Inno setup, change the .exe icon with windows platform. After you change it then use Inno, and your .exe file becomes the icon that you have changed before using Inno.
In other words: Inno setup uses default icon to launch as a .exe icon, so you can change the icon before use Inno. It works for me.

How to change the location of a grouped (localization) file from an absolute to a relative path in XCode 4?

I'm having problems with making all file location paths relative in XCode 4.
I have multiple infoPlist.strings and CustomLocalizable.strings (for different languages) grouped together (XCode does this automatically). When looking at the File Inspector (View >> Utilities >> Show File Inspector) for these files (except for the English which is the default language) the Location is 'Absolute Path'.
The problem is that the Location dropdown menu for these files in the File Inspector is grayed out, it's disabled. This keeps me from changing the file location from an absolute path to a relative path description.
What do I need to do to make all path locations of the files in the group relative?
I have already tried to change the path location of the file group to, for instance, 'relative to group' or 'relative to project'. For the group I also set the relative path clicking the small icon blow the location dropdown in the file inspector.
I've been searching to find a solution for a while now and appreciate if anyone could help me answer the above question.
Thank you!
Based on your responses, my own answer in the comments seems to work. So here it is as an official answer:
Choose one of the localized files in the group (e.g. infoPlist.strings, CustomLocalizable.strings): Click on the file in the project tree
In the File Inspector, in the localization pane, remove all languages for which the files have an absolute path, using the '-' button.
Add the languages again, using '+' >> 'Add all' or the specific language. The grouped and localized files will show up again in the tree. In the file inspector you will see that the location changed to 'Relative to group'
Thanks, the answer provided as a comment in the question worked for me in Xcode 4.2. This is definitely a bug on Apple's part, to set all localization file entries as absolute paths.
Another option... search your project.pbxproj for your strings file and look out for absolute paths. You might be able to just edit the entries in a text editor to look like this:
9E0D4EC0148727D300456F82 /* fr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fr; path = fr.lproj/Localizable.strings; sourceTree = "<group>"; };
If someone has tons of files and the UI method of doing this would be too slow, try it!
You can change a file's path without removing it and re-adding it:
In the Project Navigator, locate the missing files (colored red for not being found) and highlight one of them.
Show the File Inspector
Under Location change Absolute Path to Relative to group or Relative to project,
Then next to the path, there's a little white icon, click it and choose the file's location.

Is it possible to add custom icon to hta

Is it possible to add custom icon to hta? What I mean is change the default hta file icon, which is "System Application Icon". Can it be done without assigning new icon to the extension, and not using shortcuts to the file ?
Like this
WinRAR can help you do that.
Package your hta & icon file to exe;
In options,
a. select "silent" extract;
b. set extract path;
c. create extract path and then put that icon file there, select icon in this path.
d. set run your hta(c:\your_path\your.hta) after exe file extracted.
(i could not provide more detail because i don't have WinRAR installed right now, it's a common way to add icon for hta.)
Every time user run the exe you created, it will just extract hta, icon to the path you specified, and then run your hta. the exe file will have the icon display, even copy to another computer.
If you get all work done correctly, you will get a exe file with the icon you defined.
BTW, you can also try google: hta exe icon
Good luck!
Yup, you sure can: this. You embed the icon in the hta file
Better You use Exescript Software
It's Good because ease of its use and add icon to resource file (which appears on top border of hta)
After that add icon in settings menu to Exe File and build the project
U will get a exe file with custom icon.

Resources