Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » Using ECF shared editing with Python
Using ECF shared editing with Python [message #515802] Sat, 20 February 2010 22:56 Go to next message
hekevintran is currently offline hekevintran
Messages: 3
Registered: February 2010
Junior Member
I can use the shared editing feature of ECF with Java fine perfectly fine. When I try to do it with Python files it also works, but there is no syntax highlighting.

I installed PyDev to get syntax highlighting, but then the context menu does not have the "share editor" option. I removed PyDev and the option came back. I installed Dynamic Languages Toolkit in hopes that its Python syntax highlighting was compatible and I got the same effect (context menu lacks the "share editor" option).

Is there a way to have a shared editing session with Python files and syntax highlighting?
Re: Using ECF shared editing with Python [message #515942 is a reply to message #515802] Mon, 22 February 2010 05:05 Go to previous messageGo to next message
Alex Panchenko is currently offline Alex Panchenko
Messages: 342
Registered: July 2009
Senior Member
Hi,

ECF shared editing should be enabled for each editor individually.
Please, contact the ECF team and ask them to support DLTK editors.

For example for DLTK Python the appropriate code is:

   <extension
         point="org.eclipse.ui.menus">
      <menuContribution
            locationURI="popup:#PythonEditorContext">
         <dynamic
               class="org.eclipse.ecf.internal.example.collab.EditorCompoundContributionItem"
               id="org.eclipse.dltk.example.ecf.collab.pythoneditorcontribution">
         </dynamic>
      </menuContribution>
   </extension>


You can try the sample plugin http://dl.dropbox.com/u/159914/org.eclipse.dltk.ecf.collab_1 .0.0.20100222-1547.jar (put it to your plugins folder).

Regards,
Alex
Re: Using ECF shared editing with Python [message #516131 is a reply to message #515942] Mon, 22 February 2010 14:57 Go to previous messageGo to next message
hekevintran is currently offline hekevintran
Messages: 3
Registered: February 2010
Junior Member
So I just copy that file into the plugins directory and I should get the menu option?

I copied it, but I still get nothing.
Re: Using ECF shared editing with Python [message #516217 is a reply to message #516131] Tue, 23 February 2010 04:07 Go to previous messageGo to next message
Alex Panchenko is currently offline Alex Panchenko
Messages: 342
Registered: July 2009
Senior Member
I've repacked it as archived update site.
Please try installing this http://dl.dropbox.com/u/159914/DLTK-ECF-updateSite.zip via install new software UI.
Re: Using ECF shared editing with Python [message #516365 is a reply to message #515802] Tue, 23 February 2010 12:53 Go to previous message
hekevintran is currently offline hekevintran
Messages: 3
Registered: February 2010
Junior Member
I tried to install it and got this error:

Cannot complete the install because one or more required items could not be found.
Software being installed: Ecf-feature 1.0.0.201002231442 (org.eclipse.dltk.ecf.feature.group 1.0.0.201002231442)
Missing requirement: DLTK Python Editor sharing 1.0.0.201002231442 (org.eclipse.dltk.ecf.collab 1.0.0.201002231442) requires 'bundle org.eclipse.ui 3.6.0' but it could not be found
Cannot satisfy dependency:
From: Ecf-feature 1.0.0.201002231442 (org.eclipse.dltk.ecf.feature.group 1.0.0.201002231442)
To: org.eclipse.dltk.ecf.collab [1.0.0.201002231442]


What does this mean? Thanks for the help.
Previous Topic:Completion in editor without project?
Next Topic:Tcl Editor and Templates
Goto Forum:
  


Current Time: Wed Jul 30 09:28:52 EDT 2014

Powered by FUDForum. Page generated in 0.01672 seconds