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

Refactoring Tools

Is there any refactoring tools/plug-ins/add-ons (even 3rd party) available for Keil IDE?

or

Has anyone done this sort of things any other way (any standalone tools/applications)?

Many Thanks for your suggestions and help

Parents
  • I'm still not entirely sure what you're trying to do, but it sounds to me like this is purely a source-code exercise?
    If that is the case, then you don't really need the Keil tools at all, do you?

    You could do this "refactoring" exercise in Visual Studio (or whatever) - you don't need the Keil tools until it comes to actually building the "refactored" project for the target, and simulating and/or debugging it...

    You could take it a step further, and use VS as your IDE for the Keil compiler, linker, etc - instead of uVision...

Reply
  • I'm still not entirely sure what you're trying to do, but it sounds to me like this is purely a source-code exercise?
    If that is the case, then you don't really need the Keil tools at all, do you?

    You could do this "refactoring" exercise in Visual Studio (or whatever) - you don't need the Keil tools until it comes to actually building the "refactored" project for the target, and simulating and/or debugging it...

    You could take it a step further, and use VS as your IDE for the Keil compiler, linker, etc - instead of uVision...

Children
  • Yes you are absolutely right, the total job is a source-code matter only. But as you know it would be great if after any refactoring I could instantly rebuild the project to ensure the changes were safely performed.(A refactoring tools embedded in Keil IDE would be ideal, however external refactoring tools will be still useful)


    >> You could take it a step further, and use VS as your IDE for the Keil compiler, linker, etc - instead of uVision...

    Wow, thanks for the suggestion, I didn't even think that is possible. It would be great if I could do the job this way [is there any instructions available on this?]

    Many Thanks

  • "is there any instructions available on this?"

    That would be in the Visual Studio documentaion, surely?

    I am currently working on a project that uses MSVS with the GNU tools, so it is certainly possible...

  • Thanks, you helped me a lot.

    Now this seems that calling my C51 compiler, linker and assembler from MSVS should be the solution to my problem. This way I will be able to use my Refactoring tools as before from within the MSVS IDE. [I hope my refactoring tools will support ANSI-C]

    Thanks again.

  • Unless your refactoring tools relies on the browser database created when using the original M$ compiler to build the project.

  • It's not difficult to make your embedded code compilable with the MS (or any other) compiler - in fact, it's often beneficial to do so!

    Of course, you're unlikely to get it to run meaningfully on a PC - but that's not the point.

    See: www.8052.com/.../read.phtml