Forums

F C T embed commands don't work

Last post 2/15/2008 1:57 PM by Adam Weiss. 8 replies.
Sort Posts: Previous Next
  • David ONeil

    F C T embed commands don't work

    2/6/2008 4:25 PM
    • Not Ranked
    • Joined on 2/6/2008
    • Posts 4

    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.

     

     

  • Bob Archer_DO NOT USE

    Re: F C T embed commands don't work

    2/7/2008 1:03 PM
    • Not Ranked
    • Joined on 5/7/2007
    • Posts 24

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

  • David ONeil

    Re: F C T embed commands don't work

    2/7/2008 2:31 PM
    • Not Ranked
    • Joined on 2/6/2008
    • Posts 4

    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.

  • Alex Z (DevExpress)

    Re: F C T embed commands don't work

    2/8/2008 1:11 AM
    • Top 10 Contributor
    • Joined on 4/23/2007
    • Posts 5,639
    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
  • David ONeil

    Re: F C T embed commands don't work

    2/11/2008 11:18 AM
    • Not Ranked
    • Joined on 2/6/2008
    • Posts 4

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

     

     

  • Adam Weiss

    Re: F C T embed commands don't work

    2/15/2008 9:41 AM
    • Not Ranked
    • Joined on 8/24/2007
    • Posts 17

    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?

  • David ONeil

    Re: F C T embed commands don't work

    2/15/2008 11:29 AM
    • Not Ranked
    • Joined on 2/6/2008
    • Posts 4

    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.

  • Rory Becker - DevExpress

    Re: F C T embed commands don't work

    2/15/2008 11:36 AM
    • Top 25 Contributor
    • Joined on 5/4/2007
    • Dorset, England
    • Posts 1,905
    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
  • Adam Weiss

    Re: F C T embed commands don't work

    2/15/2008 1:57 PM
    • Not Ranked
    • Joined on 8/24/2007
    • Posts 17

    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.

More from DevExpress
Live Chat
Have a pre-sales question?
Need assistance with your evaluation?
We are here to help.
Chat is one of the many ways you can contact members of the DevExpress Team. We are available Monday-Friday between 8:30am and 5:00pm Pacific Time.
If you need additional product information, require pre-sales assistance, or want help with your order, write to us at info@devexpress.com or call us at
+1 (818) 844-3383.