eclipse

jQuery Code Assist for Eclipse

I am using Eclipse PDT Helios v3.6 I have tried using the jQueryWTP plugin @ http://www.langtags.com/jquerywtp/ I did what the Installation notes said. But in vain. I still am unable to get the Code Assistance. Has anyone had better luck with this? Help is greatly appreciated. ...

Checking in an Eclipse project into SVN

Hi, I want to checkin a Dynamic Web Project I created in eclipse into svn. Can someone tell me which files I have to check in and which one I should not? The idea is to be able to check out the project using the New Project Wizard so that I can create the Dynamic Web Project again. More specifically here are the files/directories I have...

how can I have eclipse auto insert subversion revision number into my code

I'm interested in displaying the version number of my code in a help page. Ideally I'd use a Major.Minor.SVNrevision format, where the SVNrevision number was pulled automatically. I hope? Suspect there's a variable I can access somewhere, but have no idea what it may be. Any hints? ...

Collapsing parts of PHP code in an IDE (Eclipse)

Hi Guys, I am trying to find the best PHP IDE for me on the Mac, I like Eclipse and Netbeans but I for some reason I can't collapse PHP code, it only collapses the HTML parts, I'm guessing that I am missing an option somewhere? Both Coda and TextMate can collapse php code ok but I need code completion and realtime syntax checking. Any ...

Something like unnecessary code detector for NetBeans

NetBeans is by default better than Eclipse (imho) in detecting code smells, but the Unnecessary Code Detector for Eclipse seems to find more dead code and code that sould be improved. Is there something comparable for NetBeans or is there a Maven plug-in? ...

Eclipse-CDT: Use Namespace in automatic generated include-guards

Does somebody know if (and how) it is possible to add the namespace in the name of the automatic generated include guards in Eclipse CDT, when creating a new class using the .hpp/.cpp templates? For me eclipse generates new class with namespace nicely, but the include-guards does not contain the namespace, so if the same header file exi...

Problem with hibernate request (Oracle)

hello, i have a problem with my request, i don't understand why i have this error from keyword not found where expected my dao public List getAllDeclaration(String anneeEnCours) throws FiscaliteException { if (LOGGER.isDebugEnabled()) { LOGGER.debug("getAllDeclaration"); } // Creation de la connexion S...

Problems with Eclipse on Windows 7 64bit

Hello everybody. I'm using since today Eclipse on Windows 7 64bit. So eclipse is still pretty virgin, i just installed android plugin for it. And I have many memory problems with it, which I didn't have with a worse computer however on 32-bit-Windows XP. Did anybody make the same experience and what have you done to fix this out of m...

Access resources in another osgi bundle?

I have created two OSGI bundles A and B using the eclipse Plug-in project wizard (using eclipse Helios). In the manifest file of bundle B I have added bundle A as a dependency. Further I have exported the packages in A so they are visible for B. I also have a .properties file in bundle A that I would like to make visible for bundle B. ...

Eclipse template for wrapping an iterable selection in a for each loop

I want to select an Iterable, press Alt+Shift+Z to get the "Surround With" context menu, and have a foreachwrap template displayed that will wrap the selection in a for each loop with the appropriate format. For example, i want to select someObject.getSomeList() and generate this for (SomeListType someListType : someObject.getSomeLi...

eclipse null pointer exception debug

I have the following code in a few activities and it reads and parses XML files fine but in two activities when reading small XML files I get a null pointer exception and can't figure out what the problem is: while (eventType != XmlResourceParser.END_DOCUMENT) { if ((eventType == XmlResourceParser.START_TAG) || (eventType ==...

Eclipse crashes on Android SDK and AVD Manager

Hi, I tried to install Android SDK plugin on my existing Eclipse Classic 3.6.0 (Helios). I managed to do everything else, but when I try to add components using Android SDK and AVD Manager in Eclipse, whole Eclipse just crashes. Anyone have any idea what's going on? Eclipse Crash Log on pastebin.com ...

Eclipse SWT - WizardPage widgets validation

What is the best way to validate Text, Combo and any other SWT widget included in Eclipse Wizard? Recently, I got into a project in which there are many different wizards. I tried to add FocusListeners, ModifyListeners etc. however the size of code and it's complexity was not what I expected. Let's say there are two Text elements in Wi...

eclipse "problems during content assist" popup

While typing some Java code, I hit the dot/member operator (.) as in the dot inside ObjectName.methodName and got this error in a popup in Eclipse: The `org.elcipse.jst.ws.jaxws.ui.jaxwsjavacompletioncomputer` proposal computer from the `org.eclipse.jst.ws.jaxws.ui` plug-in did not complete normally. A second popup immediately follo...

Eclipse: Storing info in .project file

Hi, I'm trying to associate information with projects (certain properties). I tried using the persistence store (getPersistentProperty() and setPersistentProperty()). The problem with that is that when I export the project and re-import it in a different workspace, those properties are gone (since they are stored somewhere in the .metad...

Show files in other branches in Eclipse

Is there a plugin or a way to visualize which files are branched and not in the HEAD? Our problem is that sometimes we have to branch just a few files and we may forgot to bring them all back to HEAD. So, some of there files may remain in the branch and we don't have an easy way to notice this. Thanks in advance ...

Pydev can't find matplotlib modules

I just installed matplotlib on my windows 7 Python 2.6.5 machine with the win32 installer . I've tried some examples from the matplotlib site to test the installation, under Idle everthing works fine but Pydev 1.9 (Eclipse 3.6) cant find any of the sub modules. e.g import matplotlib doesn't cause any errors but from matplotlib.path ...

eclipse keyboard shortcut to indent source code to the left?

I've looked in the keyboard shortcuts list in eclipse but can't find keyboard shortcut to indent source code to the left. Surely there is one? ...

How does Eclipse determine which projects to load for a particular workspace?

Does anyone know how Eclipse determines which projects are in a particular workspace? Is there a config file somewhere with this info? I have struggled (in vain) for several hours trying to figure this out. I'd like to be able to edit this config / check it into SVN... ...

unresolvable class in maven dependancy

I'm using Maven integration for Eclipse(0.10.2) on Eclipse Helios(3.6). Eclipse can successfully build my project. but the maven build fails because the compiler can't resolve the PropertiesEditor class in dependency jar spring-beans-2.5.6. What should be looking for to fix it? ...