Why is Sublime Text context menu disabled (image below) - html

I have installed HTML-CSS-JS Prettify package in Sublime Text 3 (on Ubuntu 18.4).
The image below shows that it appears on the context menu. However, when I select its context menu (the second context menu) has all options greyed out. I can't find a explanation anywhere and would appreciate knowing how to enable it.
If it is any use the "Anaconda" selection is also all greyed out when I select it. Nodejs is not.
Many thanks.

Menu items appear disabled for a couple of different reasons.
The first (and most common) is that when a menu is about to be displayed, Sublime asks every command bound to an item available in the menu if it should be enabled right now or not, and the command can decide to disable itself if it currently doesn't apply.
The second reason is that the command bound to the menu item is currently missing. For people using packages and not creating them themselves, that generally means that there's something wrong with the plugin that provides the command, such as it not loading for some reason.
In this case, based on the items in there it seems more likely that the second case is what's getting you here.
In order to check that, use View > Show Console or the associated key binding and see if there are any messages that look like a package didn't load for some reason. If so, resolving whatever issue that is should get things working.

Related

GTM Setup for tracking "click to display" text on wordpress

Code and GTM Setup Example
I have tried a few variations in how I set my triggers, but none of the ways I have tried have actually started to track test clicks. The client has click to display text to show their phone numbers, ideally so that we can track how many visitors are coming to the site to get the phone contact details. I will include some code below. I am not sure if it is my syntax or if I am forgetting something outside of this setup. GTM is installed correctly and tracking standard google analytic information. Thanks in advance.
Previously I have tried to limit the trigger based on the class, but I have instead added and moved to ID.
This is tricky part of GTM because when you have nested elements like this:
<div>
<span>
<h2>
It is sometimes difficult to say what exact element is clicked.
Your triggers are set for <div> (based on ID you have in your screenshot) but I suspect when you click the actual element that is picked up is one of the <span> ones. To fix it, firstly in GTM go to variables tab -> Configure Built-in variables and make sure "Click Classes" is enabled.
Then setup a trigger like this:
This one will listen to one of those spans you have there.
Usually my approach to click events is: before I setup the trigger I enable the preview mode with GTM so that I see GTM's debugger console. Then click on an element - this action will generate click event on left hand event log. Select it and you will be able to see exact element that is being clicked with it's IDs and classes. Then it's easy to setup the trigger.
Hope this helps.

ArcMap editor panel window not opening

I have installed ArcMap Desktop 10.5.1 on a new computer and have a problem. I have never experienced with any previous versions of ArcMap.
Pressing the button of the toolbar for the Editor
I can’t access the toolbar.
I also can see that the program notices that I have pressed the button by the ArcMap-window ‘flickering’ and I see the Editor-window that should open for less than a second at some occasions.
I have tried to see if it ends up hidden somewhere, but it does not seems like it.
Printscreen of the ArcMap window with the editor button
Does anyone know what can be the problem and how to handle it?
I have tried to search for answers both at the ESRI help-page, here in stackoverflow and in other broad search engines, but this doesn’t seem to be a common problem.
This problem can have many causes and there are 2 different ways to open the editor toolbar.
Try click Customize > Toolbars > Editor (I will add a pic for it)
Right-click while your mouse on the main menu. The toolbar will be open directly and check the editor. Same solution.
If you have still this problem you must see another reason for the problem.
For example, do you using a second monitor? If you using it maybe the editor toolbar coming from another monitor. Check your monitor/monitors also.
If you still have problems, please write. There is another solution.
However, I am not writing now because it will reset usage of interface.

Is it possible to search in PhpStorm debugger view?

Like in topic, is there any option to find something in PhpStorm Debugger view?
For example I want to find element 39001421 in:
How I can achieve this?
I don't think a simple Ctrl-F works here. Here's one way to do it.
When you hit your breakpoint, press Alt-F8 or from the menu, choose Run -> Evaluate expression. In the window that opens, simply input the expression you would like to evaluate; in your case, something like
$items[39001421]
You'll get the value you're looking for at the bottom of the window.
#LazyOne Did a great job. With his help i think that i have found most effectively way to find something in PhpStorm debugger view. (if you are curious how we were looking for that answer please read comments beneath first post)
Firstly You should shut off variable adress view. (picture 1)
Secondly You should ensure that You have got "Sort Values Alphabetically" option sellected. (dropdown menu inside "gear" icon, picture 2)
Thirdly You should expand what You want to looking in (picture 3)
Next, You can type what You want to search for, If You don't find what you want to find, simply press up or down arrow to show next "occurence".

Monodevelop: can't drag widgets

I am trying to use monodevelop. Just at the beginning I came across an issue:
I was following a tutorial on building a Gtk application (http://monodevelop.com/Stetic_GUI_Designer). I was trying to drag a button from the Widgets Palette. Nothing happened. I'd been trying quite a few times without any luck.
After a break I launched monodevelop again and I simply placed a button on the window of the application. After that I removed it, dragged VBox container, and placed menu bar on the window, according to the tutorial instructions. I was pleasantly surprised.
By the second try the same problem occurred - I was not able to drag any widgets. Dragging was beginning, there was a “+” sign at the cursor and then - nothing was happening. I cannot figure out what happened by the first time, what the difference was. Have anyone had a similar problem? Monodevelop looks promising, but I can't go on with it. (I tried placing 'Fixed' container on the window, with no result - I could not drag it.)
(monodevelop v. 2.4, ubuntu 11.04, Polish language.
I did look for an answer to my problem, without much luck, that is why I post this question. The problem is described quite precisely. There is a probability that others encountered the same issue.)
You need to drag a container on the form first before you can add widgets to it. The VBox container is an example of a place where you can put your widgets.
If you want to place widgets where ever you want you can use the Fixed container. If you want things to align you can use the VBox, HBox or Table containers. Placing in a widget in one of the fields will automatically adjust the size of this field to fit the widget you have dragged into it.
So basically,
Create a form
Drag a container on the form
Drag a widget inside the container.
These widgets are not to be confused with the custom made widgets (in your Solution browser, right click the folder User Interfaces and click Add Widget...). These are like forms. I use these to create GUI's in advance so I can call these while the program is running.
FYI: if you want to create code for a widget (like a button) you can't just double click it like in Visual Studio. You need to select it, the go to the properties pane, and change the tab from Properties to Signals. You can then double click the "signal" to create the event for which you want to create code. For a button this is usually the Clicked event (somewhere at the bottom of the list, you'll need to open the Button Signals)
You can always visit the IRC channel of Monodevelop on irc://irc.gimp.org/monodevelop (IRC.Gimp.org #monodevelop)
I also sit in this channel and can help with smaller problems and I also still use Monodevelop 2.4.

How do I enable right-click (control-click) context menus in MonoDevelop?

Right Click (or control-click since I'm on a Mac) doesn't bring up the context menus for Solution or Projects.
For instance, in Visual Studio I would right click on a Solution to add a new project to the solution. I've looked all through the menu and can't find the add project command.
Also, how do I add a folder to a project? Again, this would be available from the right-click menu in VS, but I can't find it anywhere in MonoDevelop.
Control-click doesn't do anything for me in any part of MD. Not even in the text editor. Is there a setting to get it to behave the way I'm expecting it to?
Shouldn't these options also be available via the main menu also?
Apparently this was a known issue and has been fixed. It was a bug in the gtk+ library. Single button mice weren't supported.
https://bugzilla.novell.com/show_bug.cgi?id=359734
https://bugzilla.gnome.org/show_bug.cgi?id=346609
Still not sure why I'm seeing this bug now on my OSX 10.6.4 machine running the latest download of MonoDevelop.
Plugging in a 2-button mouse is an adequate work-around. I can right click and get the context menus I was looking for.
These features are where you would expect to find them, exactly where you said. The solution context menu contains Add > Add new project and the project context menu has Add > New folder
I'm on a macbook so I get to use the old double-finger tap, rather than CTRL+Clicking all the time. Not sure why the CTRL+Click is not working for you.
EDIT:
Control-Click anywhere in the solution explorer seems to bring up a context-sensitive context menu. Control-Click whilst solution is selected brings up the solution context menu and if a project is selected, the project context menu.
Control + click doesn't work but a two finger touch brings up the context menus on my Macbook Pro. Check your "Trackpad" settings in system preferences to see how you have secondary click setup on your mac.