This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Project Window Wish Items

Project Window Wish Items

When you right click on "<file>.c" in the project window, add an option "Open <file>.h". Likewise, when you right click on "<file>.a51" in the project window, add an option "Open <file>.inc".

It is a multistep process to add a ".h" or ".inc" as a text file to the project It should be as easy as adding a ".c" or a ".a51" file to the project.

Also, add a "rename" option when you right click a Target, Group, or File in the project window.

Parents
  • It is a multistep process to add a ".h" or ".inc" as a text file to the project It should be as easy as adding a ".c" or a ".a51" file to the project.

    Go to Project/File Extensions, Books and Environment;
    Add "*.h" to the list of "C Source Files" and "*.inc" to the list of "Asm Source" files;
    Now, the "Add Files to Group" dialogue will include those extensions, and it will be just as easy as adding a ".c" or a ".a51"

    With uVision v2.14, this will even enable the syntax colouring for "unusual" extensions; eg, my Client also uses ".e" for some 'C' headers.

    It's also worth adding things like ".lst" and ".m51" to the "Document File" list - then these can be opened as plain text files.

    The only limitation is that this doesn't affect the filetypes shown in the File/Open dialogue. :-(

Reply
  • It is a multistep process to add a ".h" or ".inc" as a text file to the project It should be as easy as adding a ".c" or a ".a51" file to the project.

    Go to Project/File Extensions, Books and Environment;
    Add "*.h" to the list of "C Source Files" and "*.inc" to the list of "Asm Source" files;
    Now, the "Add Files to Group" dialogue will include those extensions, and it will be just as easy as adding a ".c" or a ".a51"

    With uVision v2.14, this will even enable the syntax colouring for "unusual" extensions; eg, my Client also uses ".e" for some 'C' headers.

    It's also worth adding things like ".lst" and ".m51" to the "Document File" list - then these can be opened as plain text files.

    The only limitation is that this doesn't affect the filetypes shown in the File/Open dialogue. :-(

Children
No data