Excel Add In not show in the Macros list to be added in Quick Access Toolbar - excel-addins

I created a macro and i saved the file as xlam, then I've activate it from the Add in box but when i'm trying to create an shorcut in toolbar my macro didn’t shows up in the macro list to be added to the QAT. My others old macros stored as xlam are there but this one not.Why?
L.E:The macro contains an user form
i need to know if i made something wrong

Related

How to get VS Code to list methods of object when multiple extensions are competing for tab complete

In VS Code, when writing the name of a method on an object, it seems to take a while for the method menu to pop up. I also am using github copilot, which is great, but it's suggestions often show first and I don't see the menu for the methods until I type some more letters.
Example, let's say I have the following line of code:
my_json = My_Class(id=5).
and I want to type the name of the method that returns some json. Gitlab copilot might suggest something like the following, where the 'get_json' portion is in grey and available for tab complete.
my_json = My_Class(id=5).get_json()
But, let's say the correct name for the method is 'get_object_json', I would have to type the following before the object method/attribute menu pops up
my_json = My_Class(id=5).get_o
Is there a way to manually open the object method/attribute menu? A keyboard shortcut? So that I can open it right after I have typed the period?
Similarly, sometimes I DO want the GitHub suggestion but, right as I hit tab, Pylance IntelliSense replaces the tab complete with the name of some variable or library, or global (i.e. some built-in exception class).
It would be great if there was a way to assign a specific key combo for tab complete of GitHub copilot. Like tab-option, or something, that will only complete the github copilot suggestion, if there is one.

In Confluence Is There A Way to Display the Contents of an Attached File in a CODE BLOCK?

I am editing some Confluence pages and I need to display the contents of a SQL file on the page. I have attached the file and can copy and paste into a Code Block. But what they want is the attached file to show up displayed on the page. Is there a way (preferably in a code block so it can be formatted) to display the contents of a text file that is attached to the page actually on the page?
One possible way is if there is a macro that would take the attachment and write it to the page for you. There are a number of macros, but I don't know if one of them does what you are looking for. A quick look through the stock macros doesn't reveal an obvious answer. You could write your own, however.
Click on + Insert, Other Macros, and select Development, then check out the Cheese demo.
From the documentation:
To edit an existing macro: Click the macro placeholder and choose Edit. A macro dialog window will open, where you can edit the parameters of the macro.
The Code Block macro does support sql file formatting, but you would have to insert the content of the sql into the document. You might create a derivative of this macro to accomplish your goal.

How to run a macro in Netbeans

This is a silly question but spent the last 20 minutes or so browsing through google results and the menus of Netbeans. Under edit there is a start and stop macro recording but after saving the macro I can't seem to find how to run it.
Didn't assign a keyboard short cut to it assuming I can select to run a named macro from the menu somewhere but other than start/stop recording I can't find anything that'll list a macro so I can run it.
I have been googeling for a while too, and I could not find much. You can access to the key map and configure the shortcut for your macros. (Tools->Options->Key map). The macros can be accessed in the editor (Tools->Options->Editor)
There is another thread where I found it: Activating text editing macros on Netbeans
you need to record macro first
go to - edit
hit on - start macro recording
< write code which you want to add in macro >
after writing code - stop recording macros
then a popup box will appear, you have to set name and a shortcut key for that macro and that's it.
you can use that macro typing the shortcut key.
more info
Record another macro - this time assign it to a keystroke by clicking the Set Shortcut button in the dialog box. You will also see your previous macros when you do - and you can assign a shortcut to it as well.
You just need to change macro "Upload" for 'CTRL+s'
because in default its assigned to "Save as" (ctrl+s) and it doesn't upload the file while saving it.
Works for me!
go to the menu and click 'add shortcut' ;)
you create your own key shortcut which will start the macro.

Eclipse - Change problems view action

I am currently working on eclipse plugin development. I am working with the builders and markers and I have implemented a rename participant where it checks for a valid file name (does not contain any special characters, lets assume a valid file name to be a alpha numeric regular expression). Its working fine when the user is working within the workbench. Say, when a user directly goes into the file system and changes the file name. I have implemented the markers for this case too. It will show problem marker for the respective file in the project stating, "Invalid file entered - {filename}"
Is there any possibility to change the action on clicking the respective problem marker in the problems view. Say, if such a rename problem marker comes I want to open the rename resource dialog instead of opening the respective file on clicking the problem in the view. Any help upon that.
Although this does not change the double-click behaviour of the marker, you could provide a Quick Fix for the user as described in the Eclipse marker resolution help, and display the rename resource dialog from within the IMarkerResolutionGenerator you provide.

Is there a way to package a MS Word macro together with the associated toolbar icon

I have developed two MS Word macros and assigned each an icon. I have also added a custom toolbar, named after the project, and added the two macro icons to that toolbar. Now, how do I package the whole thing (macros, icons, and custom toolbar) to send it to my customer?
You'll want to move the toolbar definition and the macros to a template, then save the template (a DOT file) to the word autoload templates location on the users machine (the template will contain the icon images, and macro code, so the DOT file is all you should have to distribute).
For details on where see http://office.microsoft.com/en-us/word-help/load-or-unload-a-template-or-add-in-program-HA010105537.aspx