in
Forums
Blogs
DevExpress.com
Client Center
Support Center
DevExpress Channel

F C T embed commands don't work

Last post 2/15/2008 1:57 PM by Adam Weiss. 8 replies.
Page 1 of 1 (9 items)
Sort Posts: Previous Next
  • 2/6/2008 4:25 PM

    F C T embed commands don't work

    The try catch, try catch finally commands don't work. If I highlight some code and click F C or T it overwrights my selection instead of imbeding it in the try catch. I've checked in the embed menu and F,C & T commands are enabled.

     

    I've written a simple test windows form application to play with CodeRuse. It simply has a text box and a button on the form.

     The code I'm highlighting is,

    ~int a = Convert.ToInt16(textBox1.Text);if (a == 4)

    {

    textBox1.Text =
    "That was 4";

    }

    else

    {

    textBox1.Text =
    "Not 4";

    }~

     

    The top ~ denotes where I first click with the mouse and the last ~ is where I release after a click and drag. When I type a c it simply replaces the highlighted code with a c. When I right click on the code there is no "Embed" menu. This is in Visual Studio 2005.

     Thanks for the help.

     

     

  • 2/7/2008 1:03 PM In reply to

    Re: F C T embed commands don't work

    Are you sure you are highliting the full lines in the block. By default embed command don't work with partial line highlighting.

  • 2/7/2008 2:31 PM In reply to

    Re: F C T embed commands don't work

    Yes, but I was uncertain about that which is why I put in the two ~ to give a very percise explanation of how I was highlighting the code. I can place a marker and return to it as well as other things but no F C T commands. Also I've checked since my post that CR_Embedding.dll  is in the plugins folder. It is. I have VS 2005 & 2008 installed on my computer and I have the same problem with either. I should also be able to right click on the highlighted section and select embed and the try/catch etc shouldn't I? Embed is not on the right click menu. I hope that gives a clue to what the problem is.

  • 2/8/2008 1:11 AM In reply to

    Re: F C T embed commands don't work

    Hi David,

    Please contact support at support@devexpress.com they will assist you
    with this problem.

    --
    Thanks,
    AlexanderZ
    R&D, IDE Team

    PS. If you wish to receive direct assistance from our Support Team, use
    Support Center at http://www.devexpress.com/Support/Center
  • 2/11/2008 11:18 AM In reply to

    Re: F C T embed commands don't work

    I don't know what caused the problem but I uninstalled CodeRush, then reinstalled it and it magically started working.

     

     

  • 2/15/2008 9:41 AM In reply to

    Re: F C T embed commands don't work

    Just wondering, are you running the liscenced version or the evaluation?  Several others (including me) have had this same problem, but reinstalling didn't fix it.  Also, did you ever have a 2.x version installed?

  • 2/15/2008 11:29 AM In reply to

    Re: F C T embed commands don't work

    I never had the 2.x version. I had the evaluation version and bought the liscenced version. I uninstalled the eval and installed the lis version and it started working. I just assumed that something was wrong with my install but it could be a bug of the eval.

  • 2/15/2008 11:36 AM In reply to

    Re: F C T embed commands don't work

    Hello David,

    > I never had the 2.x version. I had the evaluation version and bought
    > the liscenced version. I uninstalled the eval and installed the lis
    > version and it started working. I just assumed that something was
    > wrong with my install but it could be a bug of the eval.
    >

    Sounds like you had either some corrupt or old settings getting in your way.

    Did you delete/rename/move the settings directory as a part of your reinstall?

    If you did this, then CR/RefactorPro would rebuild from it's own dstore of
    default settings
    Rory Becker - DX-Squad
    Blog, DXCore Community Plugins
    (Follow me @ http://twitter.com/RoryBecker)
  • 2/15/2008 1:57 PM In reply to

    Re: F C T embed commands don't work

    Rory Becker [DX-Squad]:

    Sounds like you had either some corrupt or old settings getting in your way.

    Did you delete/rename/move the settings directory as a part of your reinstall?

    If you did this, then CR/RefactorPro would rebuild from it's own dstore of
    default settings

     I think its a problem with the eval version, I was told this was fixed for future releases but I was just looking for a quick fix.

Page 1 of 1 (9 items)
Copyright © 1998-2009 Developer Express Inc.
ALL RIGHTS RESERVED