Menu

#2 include files

Next Release
open
5
2007-09-11
2007-09-11
Brian Egge
No

It would be useful to be able to specify a list of directories to search for include files. Not all of our IDL files are in the same subdirectory.

Example:

// Global is located somewhere else, and is common to many idl files.
#include "Global.idl"
#include "Other.idl"

interface customer
{
Global::Person person;
}

Discussion

  • Brian Egge

    Brian Egge - 2007-09-11

    Logged In: YES
    user_id=785481
    Originator: YES

    In order to remove the 'errors' from the files, I had to uninstall the plugin, delete the files, and restore from CVS. I don't know if there is another way to get Eclipse to rescan.

    Also, it seemed as though the parser was rerunning after every keystroke, and queuing each request. I.e., if i typed 50 characters, Eclipse would grind to a halt for about a minute.

     
  • Michael Houston

    Michael Houston - 2007-09-11
    • milestone: --> Next Release
     
  • Michael Houston

    Michael Houston - 2007-09-11

    Logged In: YES
    user_id=889231
    Originator: NO

    This is something I have planned on adding for a while. The project settings need a bit of work, especially to allow integration with IDL compilers.

    The error marker problem is something common to several eclipse plugins - I've noticed it with EMF files too. Once they are added, it seems there is no way to remove them from the normal eclipse user interface.

    I've not observed the problem with it slowing down before, it should be waiting until there have been no key strokes for 1/2 a second, then scanning the file (once). It's possible that if you have a lot of included files this may take a while. I'll investigate.

    Thanks for the suggestion and report,

    Mike.

     
  • Andrey Tatarinov

    Logged In: YES
    user_id=504738
    Originator: NO

    I second this request, without that feature more or less serious development is impossible

     

Log in to post a comment.