Force Source Insight to recognize a new macro -
Macros are saved in a text file with an .EM extension. Files are added to your project, or in any project project signals path, or in the base project. Once the macro file is part of the project, the macro functions in the file are available as user-level commands in the key assignment or menu assignment dialog box.
While working on a project, I downloaded a macro file from source insight, and saved it from the .em
extension in the base project. However, when I opened the key assignment dialog, it does not appear.
Then I used to synchronize the files in my project, but the macro still did not show up. I rebuilt my project, and the macro was still not visible.
How can you get source insight to recognize a new macro?
You are on the right track with synchronizing your project files as source insights: < / P>
If you create a new macro command function in a macro file, then you must save the macro file and grant source insight to synchronize it with the project database files before the macro command Menu and Main Assignment will appear in the command list.
You can also store macros in the base project, or see any other project on the project symbol path. When solving macro names, source insight will find those projects.
You saved the macro in the base project because anything in the base project is on the project symbol path for the private projects. But you did not synchronize the base project!
You have to open the base project, files need to be synchronized, and then open your own project. (The commands to open and synchronize are in the Project menu.) The keys of the macros will be identified in the assignment, even without synchronizing their own project.
Comments
Post a Comment