WebStorm, unable to suppress inspection for undefined function - webstorm

I found this documentation on suppressing certain inspections, and I remember using it before, however for some reason it is currently not available.
I am working on a UI for a Unity project and we are injecting a JavaScript function into the DOM from Unity. In WebStorm, the function is obviously undefined. Unfortunately, in the "fix" menu, I only have the following options:
Here is what I'm expecting, based on the docs:
I remember from using it in the past that it simply puts a comment before the call, but I don't remember what it is.
How can I enable this feature again? Alternatively, what is the comment so I can manually insert it?

Just as it's written in Help article, you have to press the -> key or click the right arrow button next to Create function.... menu item to open a submenu with suppress actions
You can also suppress it by adding a comment // noinspection JSUnresolvedFunction manually

Related

How to fix not working keybind in WebStorm IDE

I generally have a bunch of custom keybinds for WebStorm, but this one particularly does not work - Select opened file. I've bound it with different key combinations (see screenshots below), and also I've verified that it does not conflict with any MacOS keybinds (although even the ones that conflict actually do work).
Also when I hover the actual UI button, it shows different keybind for it (which also does not work).
So, essentially, I have to always click the UI button with the mouse. I'd like to be able to do so with the keybind. I'm not even sure how to troubleshoot this...
Does anyone else using WebStorm have this keybind working properly?
It's a known usability issue, IDEA-271054. The actual action you need assigning a shortcut to is Other | Select File in Project View:

How can I add Windows right click context menu items?

I am trying to add new actions to the right click context menu when you select a file or many files. I am writing a program in C++ which contains the functionality that I want to trigger.
As far as I know I have to add new entries to the registers when installing my program and also, I have to use COM(here I got completely lost).
Is there a straightforward way of doing this?
As already suggested by #Igor Tandetnik you can do almost everything you want with Registry entries.
https://msdn.microsoft.com/en-us/library/windows/desktop/cc144169.aspx

Source Insight //TODO comment

I recently started working with Source Insight, and in order to get a proper looking //TODO - comment you need to write // TODO
(with an extra space).
I tried looking around the config for a way to remove this extra space, couldn't find it, and can't get used to writing it with the extra space.
Any way to solve this? Or should I embrace this, and then slowly, learn to cherish it?
Go to Options->Style Properties
Add a new Style for your "todo" comments, set its properties to be whatever you like
Go to Options->Document Options
Click on "Language" button in Parsing section
Select appropriate language (C? C++?)
Click "Properties"
Change to "Comments and Ranges" tab
Click "Add new definition"
Set formatting style to match the new one you created above
For "range begins with" put "//todo" (perhaps one for each type of
capitalisation)
Click ok x 3
Yes to "Reparse project"
Click close
It should now be showing up properly!

CodeBlocks function arguments autocompletion shortcut

This is very easy question... I tried so many shortcuts, I tried googling it, and still nothing... How can I accept this suggestion?
Pressing the tab key while the autocomplete is showing should work.
This Link mentions hitting Tab to accept a suggestion as well(See Section 2):
http://www.cs.odu.edu/~cs333/website-latest/Labs/usingCodeBlocks1/page/usingCodeBlocks1.html
"Pause a moment and notice that a box pops up suggesting a possible completion for this variable name. Hit Tab to accept this suggestion."
Here's another link covering Code::Blocks controls:
http://wiki.codeblocks.org/index.php?title=Keyboard_Shortcuts
Hope this helps
Try Ctrl+Shift+Space in brackets.

Wise Installer, dialog on uninstall?

With wise installer, how can I make the 'Remove' action display a dialog? I would like to have some options displayed to the user.
The modify seems to do this, but my remove action just causes the uninstall with no options.
I'm not sure if I understood you but have you consider making another app (using wise scripts) that would act as a 'proxy' to uninstaller, so you execute it instead of uninstaller.
Within this application you can display any dialog you want and if needed execute "unwise32.exe /A install.log" to continue with removing.