I'm using PyDev for an Eclipse RCP. Is it possible to configure PyDev for a project programmatically? It doesn't seem to have an API through Eclipse extension points.
It seems I can create a .pydevproject from scratch and modify the Eclipse .project file in order to add the PyDev nature, but it seems an ugly hack.
Related
How to import an Python project not created through Eclipse into Eclipse.
Using Eclipse Luna
-Shiva S
Follow these following steps...
First add pydev interpreter in eclipse Follow this link
Configure the pydev interpreter
windows->preferences->Pydev->Interpreter-Python
Then import the project File->import->General->Existing project into
workspace
The basic solution is creating a new project (just set the location of the new project to the existing sources).
The FAQ covers that: http://pydev.org/faq.html#PyDevFAQ-HowdoIimportexistingprojects%2FsourcesintoPyDev%3F if you have something more complex you want to do.
I'm new to Eclipse. I'm using Eclipse Kepler to create Maven project, everything works fine except when i'm working with pom.xml the content assistant doesn't give me auto complete just like Netbeans does. Below is the screenshot from Netbeans
My question is can Eclipse be like that in term of gives me auto complete on pom.xml?
Do i need plugin for it?
thank you
There are basically 2 ways for doing that:
Refer to the XML's DTD/XSD in its header, so the simple Eclipse XML editor can help you in a minimal way (e.g., check well-formedness, offers Ctrl+Space assist, etc.).
A better option is to install m2e which is the official Eclipse Maven integration plug-in. It should be available through the Install new software... menu item by default, just search for it. It has quite a heavy support for Maven projects (specific editors, repo browsers, it does update the project configuration automatically, helps you select the dependencies, hanldes multi-module projects, makes easier to import Maven-based projects, etc.)
How to Setup Maven AutoComplete:
1) Download and install the maven plugin into Eclipse. I think the link is this http://www.eclipse.org/m2e/
2) In Eclipse, go to Windows tab -> Preferences
3) Got Maven folder from the left-hand menu. Make sure the three boxes I circled are checked. Click Ok
One of the boxes lets you do AutoComplete. I forget which one.
4) Right-click on your project and go to Maven -> Update Project.
5) You're now done! You should be able to do autocomplete by pressing Control+Spacebar:
I am developing a plug-in for eclipse for JSHOP2 language. For that i made a plug-in project with 'editor'. I have written the code for the neceessary syntax highlighting for JSHOP2 but I don't know how to integrate this types of plug-in with eclipse and then how to take use of it, so that while i write the JSHOP2 code the necessary syntax gets highlighted. Please help me with this.
So you have an editor that works correctly?
Then you need to make sure the files with your extension are opened with your editor. That is described in the Eclipse wiki.
To make sure your plugin is integrated to your version of Eclipse, either create an update site and import the plugin as you would do with any other plugin. Or export the plugin to a jar and copy the jar to the dropins catalog.
Since you are using eclipse to write java code (plug-in project). Create a new eclipse launch configuration. Menu Run -> Run Configuration. Location eclipse application. Right click -> Create new & Run. Hope this helps.
I'm running Helios SR2 and trying to open some old Eclipse based projects I pulled from the repository. Unfortunately, it doesn't recognize the .project files. I'm stuck using Eclipse as just a fancy text editor and compiling from the command line, which is most annoying. :-) Any thoughts on how to fix it?
Or, better yet, any way to automate migrating Eclipse projects into Netbeans (all our new stuff is in Netbeans and it would nice to standardize on one platform)?
Try (re)importing the projects. File → Import → General → Existing Projects into Workspace.
Hi Netbeans is the default IDE at my workplace. I want to use Eclipse to edit the Netbeans projects. How easy or difficult is it to do this. Can someone outline the steps involved for this.
You should be able to import an existing project into Eclipse by:
File -> Import -> Choose General -> Existing Projects into Workspace
It won't pick up your Netbeans settings however. You may need to set your project up manually in terms of a libraries, source location etc..
Alternatively, if you're using Maven and Eclipse m2eclipse you should be able to import a Maven project and have it pick up most of the settings.
Importing an eclipse project should be easy (for Netbeans 6.7): File->Import Project->Eclipse Project
Or create a 'project with existing sources' which is available for Java, ruby, ...