CodeRush Electric Editing plugin
CodeRush Electric Editing plugin
Okay, after a while of fiddling around with different blog posts for different versions, I thought it would be better if the plugin had a central page with the download links, and links to various posts on the details. So I’ll keep creating blog posts when new versions are released, but the plugin will “live” on this central page.
Downloads
These are the downloads that are currently available. If you just want the latest and greatest, simply download the version on top of the list. For more information, see below.
CR_ElectricEditing-1.2.6.1.zip (22654 bytes), released 23/8/2011 6:35pm GMT
CR_ElectricEditing-1.2.5.1.zip (22657 bytes), released 4/3/2011 12:05pm GMT
CR_ElectricEditing-1.2.4.1.zip (22610 bytes), released 3/11/2010 10:30pm GMT
CR_ElectricEditing-1.2.3.3.zip (22817 bytes), released 1/10/2009 4:20pm GMT
CR_ElectricEditing-1.2.3.2.zip (22174 bytes), released 22/06/2006 3:47pm GMT
CR_ElectricEditing-1.2.3.1.zip (22244 bytes), released 5/08/2005 7:10pm GMT
CR_ElectricEditing-1.2.2.1.zip (22487 bytes), released 1/06/2005 5:35pm GMT
CR_ElectricEditing-1.2.1.1.zip (22200 bytes), released 31/05/2005 7:20pm GMT
CR_ElectricEditing-1.1.4.2.zip (18102 bytes), released 24/04/2005 11:30am GMT
CR_ElectricEditing-1.1.3.zip (17371 bytes)
Informational posts
And these are the blog posts I made about the plugin, in reverse chronological order:
Electric Editing compatibility update for CodeRush/DXCore 11.1.7
Electric Editing compatibility update for DXperience 10.2.5
Electric Editing now with VS 2010 support
New Electric Editing version compatible with DXCore 9.2.6
Electric Editing version 1.2.3.2 - Compiled against CodeRush 2.0.1
Electric Editing version 1.2.3.1 - Compiled against CodeRush 1.1.28
Electric Editing plugin 1.2 available - Introduction of delayed whitespace hinting and Emacs Scrolling
CodeRush Electric Editing plugin 1.1.4.2 available - A few bug fixes in this release
CodeRush Electric Editing plugin 1.1.3 available - This was the first version that was tested with VS 2005 beta 2
Electric Editing plugin updated - This post has some screenshots of the options dialog and some explanations of the functionality
CodeRush Electric Editing plugin - This is the first announcement of the first public version
42 comments, 6 pingbacks
at least on my system) it broke ElectricEditing. DXCore is listed as version 1.1.30
and CodeRush is listed as vewsion 1.18. The behavior shows up when attempting to
show the OptionsPageEditor.
Error is:
Message: Demand-loaded OptionsPage Editor\Electric Editing not set on package load.
Options Path: Editor\Electric Editing
Application/Object causing exception: DevExpress.CodeRush.Core
Method throwing exception: System.Type get_RealType()
Stack Trace...
at DevExpress.CodeRush.Core.OptionsPageType.get_RealType()
at DevExpress.CodeRush.Core.OptionsPageType.CreateInstance()
I've gotten used to the plugin and really miss it (many
thanks for your efforts).
If you have the time, could you help me locate the problem?
Dave...
I'll post your question in the CodeRush newsgroup on the Developer Express news server and see if Mark (or someone) can come up with an idea about this.
it was officially released last week.
I'm guessing it's because the plugin fails to load. Maybe. I also removed the
settings directory but there was no change.
Dave...
page. I had 1.18 for several days before the last batch of updates and
dutifully downloaded the official version - or whst I thought was the official
version. So, I'll take a shot at removing 1.18 and installing 1.17 -
since there was a new version of XPO as well. Maybe that issue was cleared up.
Dave...
Upon attempting to install it, I noticed that the installer banner
says it is version 1.18. I downloaded it again and it still says it is v 1.18.
I installed it and it is version 1.18.
{{{ ? }}}
dave...
I didn't clean out the registry though. I should also reiterate that
the installer banner (displayed just prior to unpacking the cabs)
says that I am just about to install 1.1.18, the titlebar on the
dialog says the same thing.
Dave...
He's still waiting for the video of his presentation to be made
available, but in th...
Everyone...
Thanks,
John.
I wonder if this is not a more general problem with DXCore. Have you used it with other plugins?
I'll test this if I have the time. Only I don't normally use DXCore alone, rather the complete package with CodeRush and Refactor!, so I'll have to set up a test VM for this.
I have used this plugin for sometime with no problem but when I upgraded CodeRush to the latest 9.2.4 my editing experience took a turn for the worst. Linefeeds started ovccuring where they never before. I didn't have the time at first to try and figure out the causes. After some investigation today I have noticed that the CR_ElectricEditing plugin is not working correctly, rather it is working but it seems that its LineFeed options are not being respected.
unchecking any options like After SemiColon has no effect and always perfroms a linefeed
Does anyone else have the same experience and is this the correct place to mention this?
Yeah, this is a good place to mention it :-)
I believe I have probably noticed the same issue the other day -- I saw something odd happening, but I didn't look into any details at the point and sort of forgot about it.
I'll have a look at this issue as soon as I can. Thanks for reporting it!
Oliver
After having installed Visual Studio 2010 and DevExpress IDE Productivity Tools 10.1.1, I got an unhandled exception. Details of this exception is as follows;
Message: Unhandled Exception was thrown.
Type: DevExpress.CodeRush.Common.DXCoreUnhandledException
Source:
Target Site:
Call Stack:
at CR_ElectricEditing.ElectricEditingPlugIn.InvalidateAndRecalculate(CaretPosition oldPosition, CaretPosition newPosition) at CR_ElectricEditing.ElectricEditingPlugIn.ResetPositionsAndInvalidate()
at CR_ElectricEditing.ElectricEditingPlugIn.caretMovementTimer_Tick(Object sender, EventArgs e) at System.Windows.Forms.Timer.OnTick(EventArgs e) at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
OS Version: Win32NT, 6.0.6002.131072
VS Version: 9.0, Professional
DXCore Version: 10.1.1.0
3 installed add-ins:
NOT LOADED: TestDriven.Net 2.24.2554 Personal
LOADED: Gallio
Cheers
Onder
Well, that's not good! On the other hand, I haven't tested this plugin with the new 10.1 release of CR yet, so I'm sure this is a problem new to that version. Seems like the info you see is less than useful ;-)
I'll forward this to the DX guys to see whether they think its their problem. I'll try to find time to look into it myself as well. Thanks for the report!
Oliver
oh dear... :-| I'll try to look into it ASAP, promise!
1) Place the CR_ElectricEditing.dll assembly within C:\Users\your name\Documents\DevExpress\IDE Tools\Community\PlugIns.
2) Within Visual Studio, open the Options dialog using Ctrl-Alt-Shift-O.
3) Locate the plugin under Core>Plug-in Manager. Select the line and click load (green, at the top).
4) You now have some options you can configure under Editor>Electric Editing.
Good luck!
Thanks for the info - your step three shouldn't be necessary, however, unless you previously disabled the plugin at some point.
Oliver
I am still on CodeRush 10.1.7. So I had CR Electric Editing v 1.2.4.1. installed. After installation of VS2010 SP1 plugin became the main reason for VS to crash each time opening it. Today I replaced plug-in dll with newly downloaded same version and it works as it should now.
Thanks for your rapid reply.
Thanks
Oliver
Thanks,
Brian
Thanks for asking. The plugin is not being updated for additional functionality, if that's what you're asking - I regard it feature complete. For new CodeRush or DXCore versions, I would certainly update it. But the plugin model of the platform is such that an update is not always required - actually, it's rarely required, seeing how the plugin goes back to 2004 and I can only remember maybe 5 times or so when an update had to made available for compatibility purposes.
So - it's entirely possible that I've missed some issue with the plugin and its compatibility with 12.1.6. If so, please describe what the problem is and I'll see about fixing it as soon as I can. Otherwise, I would assume that the version built against 11.1.7 still works fine with 12.1.6.
Thanks
Oliver
Looking at the plugin manager in CodeRush, the plugin shows Unknown for the Assembly Type, Unknown for the Evaluation Status and nothing under the Assembly Version. It also fails to load.
Have I installed it properly?
Thanks,
Brian
I just checked with DXCore/CodeRush 12.1.6 installed in VS 2010, and the current 1.2.6.1 release of Electric Editing seems to load correctly for me. I specifically checked the plugins page you're referring to, and all the columns show useful and correct values, the assembly version shows correctly and the Load State is "Loaded". All property pages are also available.
Here's an idea: with another plugin of mine, some users have reported what we called the "Windows dll blocking" problem. As described here: http://www.paraesthesia.com/archive/2010/03/29/dxcore-plugins-may-be-blocked-by-windows-security.aspx
Perhaps this helps?
Cheers
Oliver
Well, I'm sure it's related to CodeRush - must be time for a new release again. I'll try to get round to it when I have time, but it's going to be a number of days I'm afraid. Feel free to remind me! Sorry about the trouble...
Oliver
Thank you for letting me know, that's great news! I was not ignoring you intentionally... just too much on my plate unfortunately. Delighted to hear the problem has fixed itself for now!
Oliver


