w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Eclipse Kepler - PHP Code completion not working
Try clearing the PDT index. See http://www.eclipse.org/forums/index.php/mv/msg/489559/1065653/#msg_1065653

Categories : PHP

How can I convince Eclipse CDT that a macro is defined for source code editing and code completion?
Found it: Project -> Properties -> C/C++ General -> Paths and Symbols Choose the Symbols tab and Add... a new Symbol with Name I_WANT_THIS_FEATURE and a Value of 1.

Categories : Eclipse

Eclipse PDT + Code completion not working at all
Maybe you need to edit your .project-File and add a "PHP nature" tag. See this thread for more information. I once had this issue after putting a project under svn version control and it seems to be a common problem.

Categories : PHP

How does eclipse's pydev do code completion?
The simpler your code, the more likely completion is to work. Would it be reasonable to have this as a separate tool that generates Python code files containing the class definitions like you have above? This would essentially be the best of both worlds. You could even put the name/value pairs in a JSON or INI file or what have you, eliminating the clutter of the methods call among the name/value pairs. The only downside is needing to run the tool to regenerate the code files when the codes change, but at least that's an automated, simple process. Personally, I would just go with making things more verbose and writing out the classes manually, but that's just my opinion. On a side note, I don't see much benefit in making the classes callable vs. just having an id class variable. Both req

Categories : Python

Buggy code completion in eclipse JavaScript Development Tools
Standard JSDT can seem non deterministic when it come to completions across files. That is because even if the project is configured correctly then the most expensive type of it's source code analysis only occurs on files that are open. Do you get the same result if both files are open? By the way, there is a fork of JSDT that is a candidate for merging to official JSDT called JSDT+NJSDoc that handles such cross file analysis extremely efficiently (and adds other features): https://bitbucket.org/nexj/webtools.jsdt.core

Categories : Javascript

Error when installing "Maven Integration for Eclipse (Juno and newer)" in Eclipse Kepler
If you downloaded the EE version, then the m2e is already installed along with the IDE. On another note, with concise question content and proper formatting, your question is allowed.

Categories : Eclipse

how come an Eclipse plugin that targets Eclipse version 3.5 works with Juno but not Indigo or Kepler?
The <?eclipse version="3.5"?> tag in plugin.xml file does not specifies what version of Eclipse you want to target. It just specifies the version of plugin.xml syntax that you wish to use. Newer versions of Eclipse will support old syntax, but not the other way around. What really controls the version of Eclipse that your plugin supports are the dependencies specified in plugin MANIFEST.MF files and feature dependencies in feature.xml files. A common problem is being unable to meet the version constraint specified in one of those dependencies. The trouble with using dropins folder installation method is that you don't see the problem that documents why your plugin could not be activated. Instead, use the "install additional software" wizard in Eclipse and you will see the issue whe

Categories : Eclipse

Eclipse Kepler startup error "NoClassDefFoundError: org/eclipse/swt/widgets/Display"
Go to the properties of your eclipse shortcut and add a -clean parameter. "C:Program Files(x86)Eclipseeclipse.exe" -clean Open eclipse with that shortcut and then remove the -clean parameter again. In Ubuntu you have to run eclipse from your teminal and add -clean at the end.

Categories : Java

Eclipse upgrade juno to kepler. Eclipse wont start
If we have eclipse.ini -Xms2048m -Xmx512m Kelpler will crash on start. Juno is working with this settings. But when we have lower eclipse.ini. Eclipse is starting. -Xms512m -Xmx512m The only problem left is to how force Kepler to dont crash -Xms bigger than 512m (I have 8gb of ram) And 512m is to small for me to build workspace :/ EDIT Solution is also increase Xmx to 2048

Categories : Java

Eclipse: How to install uml2 Tools SDK in Eclipse 4.3 (kepler)?
Just installed this today.... Help -> Install New Software Work With: --All Available Sites-- Expand 'Modeling' branch in the tree. Select 'UML2 Extender SDK' Then hit the Next button to install....

Categories : Eclipse

Eclipse Kepler Java 8
Have a look at this bug report from time to time for progress on Java 8 in Eclipse's JDT. EDIT: For Kepler you need SR2 (4.3.2) and the Java 8 feature patch. Starting with I20140318-0830 all Luna (4.4) builds contain support for Java 8 "out-of-the-box". The final version of Eclipse Luna (4.4) will be released at the end of June 2014.

Categories : Eclipse

Is there a way to fix the "Close All" functionality on Eclipse Kepler?
There are a couple of things you can try. The first step is the error log (Windows -> Show View -> Error Log). If you can't see anything in the log, you may try to start Eclipse with java instead of javaw. Just add -vm ...path-to-java.../java to eclipse.ini. Maybe it prints something useful to stdout. If that also doesn't help, try closing one window manually (for example with Ctrl+W) and then "Close All" again. Repeat until it works. That might give you a clue which window prevents Eclipse from closing everything. If that doesn't help: You can also close windows by opening the window list (Ctrl+E). Instead of search, go down once (so the selection is in the list). You can now close windows using Delete (key repeat works but the UI lags begind).

Categories : Eclipse

@Nonnull by default in eclipse/kepler
Are you sure you want to add @Notnull to every function, every variable and every parameter in your project (keeping in mind that you have hundreds of packages)? What if you function needs to return null or parameter needs to be null? I don't think this is a good idea.

Categories : Java

Eclipse Juno/Kepler crashes
1) If different Eclipse versions have the same problem, than it is problem of your PC configuration and not of Eclipse. Have you tried to do the same on other PC? 2) For your PC the problem may be old version of Java, e.g. Java 7 less than update 12. 3) Maybe current user setting were corrupted, try to login as different user. 4) Review /workspace/.metadata/.log for analysis.

Categories : Eclipse

How to remove EGIT from Eclipse Kepler?
Found this link -> http://blog.sarathonline.com/2012/05/eclipse-indigo-without-mylyn.html Please read the whole link, but in case it goes dead these are the move instructions from that link. # cd path/to/eclipse/installation mkdir disabled disabled/features disabled/plugins # Disable egit/jgit mv features/*egit* disabled/features/ mv plugins/*jgit* disabled/plugins/ mv plugins/*egit* disabled/plugins

Categories : Java

M2e tool error for EClipse Kepler
If you look at the m2e-wtp site you'll find that this feature is installed by default in the Eclipse Kepler distribution. So it's not removed, but just already included in the installation. Moreover, they (finally) upgraded it from incubation to 1.0 version. Enjoy it! m2e-wtp graduated from the Eclipse incubator to reach version 1.0.0. Moreover, m2e-wtp and m2e are now included in the Eclipse Java EE distribution by default. m2e-wtp 1.0.0 adds Java EE 7 support in Kepler and a few other new cool features.

Categories : Eclipse

Eclipse CDT Kepler does not allow "Display as array..."
Dive a bit deeper into the structure of the std::vector variable, and look for s.th. named _M_start or alike (may be implementation dependent). Cast this one to the final type array you know and want to see. The reason is, that std::vector<T> just wraps and manages an array of T internally and thus can't be displayed as an array itself.

Categories : C++

How to configure solr4 with eclipse Kepler?
Try this link : http://shrutiags.wordpress.com/2012/05/24/adding-solr-to-your-web-application-part-1-installing-solr-in-tomcat/ This link gives a set by step tutorial on how to setup solr in your development environment. It's a 3 part tutorial that will give you whatever you need to run solr in eclipse.

Categories : Eclipse

How to add Web Tools Platform(WTP) in Eclipse Kepler
Use the Kepler site. The URL you're using is not supposed to be used any more (the timestamps you see are very old). http://wiki.eclipse.org/WTP_FAQ#How_do_I_install_WTP.3F

Categories : Java

Tomcat 7 won't start on eclipse Kepler
Run netstat -aon and look for ports 8080 or 8005 and kill the process with taskkill /f /pid (pid of process) if your running linux or mac you enter top and look for the process and run: kill (pid of process) Then just restart the server

Categories : Eclipse

Cannot search for artifact in Eclipse Kepler using m2e plugin
Very strange but now it worked using the following way: Add some dependency directly in the pom.xml Save the pom.xml to trigger the change. Now the library added directly appears in the project. Now I also got messages in the status bar like "indexing... " and "searching repository" I am now able to add an dependency using the method from the question. It now retrieves a list of artifacts of which I can choose. Maybe a bug as also the add dialog should trigger the first repository search/indexing. The information: "Artifact Id cannot be empty" still appears and had nothing to do with the problem.

Categories : Eclipse

How to manually install JAutodoc in eclipse kepler?
Follow these steps for Installation: Download jautodoc_1.11.0.zip file from : http://jautodoc.sourceforge.net/index.html#download Unzip the jautodoc_1.11.0.zip file from the eclipse folder. Verify the following files get copied: Plugin folder : net.sf.jautodoc.velocity_1.11.0.jar net.sf.jautodoc_1.11.0.jar Features folder : net.sf.jautodoc.feature_1.11.0 Restart eclipse. The JAutodoc feature should be available in Windows --> Preferences Usage : Select the whole file or method or attribute --> Rightclick --> Add Javadoc Visit the following link for further info : http://www.roseindia.net/IDE/Eclipse/jautodoc-plugin.shtml

Categories : Misc

Eclipse Kepler local javadoc confguration
There does not seem to be an answer, and considering the installation is plain vanilla it may indeed be a bug. As a workaround, in order to solve this problem, I created an IIS virtual directory with the jdk's api directory, registered the url for the Eclipse javadocs and now it works.

Categories : Eclipse

How to create dynamic web project in eclipse kepler?
You need to make sure that you download the package that contains these tools. The one you want is labeled "Eclipse IDE for Java EE Developers". This package supports dynamic web projects and has an editor for jsp files.

Categories : Eclipse

Error in xCore file in Eclipse 4.3(Kepler)
The error is caused mainly due to incompatible dependencies and version mismatches. The following setting should fix your problem: Firstly try doing a clean build. Generally that would solve your problem. But if it doesn't try the following: emf-xcore-SDK-VERSION and the following dependencies: Require-Bundle: org.eclipse.core.runtime, org.eclipse.emf.ecore;visibility:=reexport, org.eclipse.xtext.xbase.lib;visibility:=reexport, org.eclipse.emf.ecore.xcore.lib in the JAR's manifest file and rebuild. EDIT: Turns out that the official documentation of xcore states to use either Eclipse 4.2 or 3.8. Also the first version of Xcore will be part of the Juno release train and is currently available in the Juno p2 repository. Maybe the subsequent versions will add Kepler build as well. You

Categories : Eclipse

Problems integrating Maven with Eclipse Kepler
Most convenient option: The reason you're getting that error is because that repo is deprecated, and it has been moved. Example of how the new repo looks: http://download.eclipse.org/technology/m2e/releases/1.0/1.0.0.20110607-2117 Copy that in the Install New Software view, and you will see that it works. Other options: Install the Maven Integration from Eclipse Marketplace (Help -> Eclipse Marketplace) Download the EE version of Kepler (comes with m2e) Choose your own release (bottom of the page) and use the Install New Software view.

Categories : Java

XML Editor in Eclipse Kepler is not displayed with color
You might have the file open with the Eclipse text editor, not the XML editor. I am not using Kepler, but in previous versions you simply right click the file > Open With > XML Editor

Categories : Xml

Eclipse (Kepler) Ignoring Context Root
If you're running your server from inside Eclipse, try right-clicking the project and going to Properties > Web Project Settings. Change the context root to what you want it to be and click Apply. Then in the servers tab, turn off Glassfish if it's running, then right click your Glassfish server and choose to clean it. Then try running your project.

Categories : Eclipse

Eclipse Kepler not connecting to internet via proxy
Did you make sure that you selected the "Manual" mode in the "Active Provider" section? Go to the "Preferences/General/Network Connections" menu again and change that if it is not. I think that part is kind a buggy.

Categories : Eclipse

Enabling C++11 in Eclipse Juno/Kepler/Luna CDT
There's two things you have to do, first you need to setup your compiler, then you need to setup CDT's language processor. Since you didn't mention which compiler you're using, I'll assume it's GCC but the steps will be similar for other compilers. (Note that you need a compiler that supports C++11, of course.) Setting up the compiler is fairly straightforward: Right click your project and click Properties Under C/C++ Build click Settings Under GCC C++ Compiler, click Miscellaneous In the Other Flags box, append "-std=c++11" to the list of tokens. Click Apply and OK At this point you should be able to rebuild your project and get it to run. But CDT still may show errors for C++11 includes. Here's how you can resolve that: Right click your project and click Properties Under C/C++

Categories : Eclipse

How to migrate eclipse Juno workspace to Kepler?
It basically depends on the plugins used by the projects in your workspace. If you use a standard Eclipse configuration there shouldn't be any problem, just open workspace, close all projects and open them again. If it doesn't work try cleaning them up.

Categories : Java

Eclipse 4.3 Kepler missing JRE system library
You have to configure the jre from your mac in eclipse. You find it under window preferences and search for jre. After that, in your eclipse project you can use the new configured jre (project properties - Java Build Path) Hope this helps.

Categories : Eclipse

Error 404/resource is not available in Eclipse EE Kepler with Tomcat 7
Is the context root setting for the project included in your URL? By default, the context root is usually set to the project name (which may not be what you expect). You can change the context root by opening the project settings, selecting "Web Project Settings", and adjusting the context root to suit your needs: Whatever you use, it must match the context root used in your URL: To set the context root to ROOT, just use "/". You can also change the context root on the server's "Web Modules" properties page. Open the "Servers" view (the same view used to stop and start the server) and double-click the server with your web app. Click the "Modules" tab (in the lower-left corner), then locate your application in the list. You can change your deployment path after clicking the "Edit...

Categories : Tomcat

Glassfish Server Library not available in Eclipse Kepler?
Looks like a bug in Eclipse Kepler / Glassfish Server Tools. You can try the following: Add this in your projects .classpath file: <classpathentry kind="con" path="oracle.eclipse.tools.glassfish.lib.system"> <attributes> <attribute name="owner.project.facets" value="jst.web"/> </attributes> </classpathentry> Update the file YOUR_PROJECT/.settings/org.eclipse.wst.common.project.facet.core.xml to look like this: <?xml version="1.0" encoding="UTF-8"?> <faceted-project> <runtime name="GlassFish 3.1"/> <-- Insert the name of your Glassfish Runtime in Eclipse here <fixed facet="jst.web"/> <fixed facet="java"/> <fixed facet="wst.jsdt.web"/> <installed facet="java" version="1.7"/> <ins

Categories : Eclipse

Maven not showing up in Eclipse (Kepler) even after m2e install
Have you tried to download Eclipse Java EE (http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/keplerr)? It already has Maven installed

Categories : Java

use c++11 on mac os x mountain lion with eclipse (Juno or Kepler)
Well after trying different things and expending tedious time fixing my issue I will answer my own question with the hope someone with my same needs will not experiment such annoying situation. First as in a lot of forums remark and is well know the gcc compiler provided for the Mac OS is old and obsolete (more than 5 years old is a lot in computing terms), so first step to work with c++11 is to get a new version of the gcc. There are two options with the packets common managers (homebrew and macports), I have to say that I was that frustrated that i tried both to see if was a problem of the version in the packet manager even thought should be the same, but for my surprise there is a small difference which later I will explain, which bring me to suggest use macport because with macports

Categories : Eclipse

Can I deploy to and debug on Glassfish v2 using Eclipse Kepler?
No. You will need to stay with Juno until you are able to move to a newer version of GlassFish. The last version with GlassFish v2 support is available at the following location: http://www.oracle.com/technetwork/developer-tools/eclipse/downloads/oepe-download-121121-1918582.html

Categories : Eclipse

Installing JSDT jQuery plugin in Eclipse Kepler 4.3
Method 1 : Run Eclipse Help -> Install New Software Copy this link address and paste it on Work with section and hit Enter After a few seconds JSDT jQuery checkbox will be appears. Check JSDT jQuery and press next button and Next again.. Accept License Agreement and press Finish. Restart Eclipse Method 2 : Download and install SVN client for example TortoiseSVN Import the repository. Paste this URL https://svn.codespot.com/a/eclipselabs.org/jsdt-jquery/updatesite in the URL of the repository field. Then hit OK. After that : Run Eclipse Kepler Help -> Install New Software -> Add -> Archive Select ZIP file that was downloaded, and type a name. Click OK. Select JSDT Plugin check box and hit Next. Accept licence and press Confirm. Restart Eclipse UPDATE If you are unable to downl

Categories : Eclipse

eclipse kepler "Cannot install remote marketplace locations"
I figured out finally that: Avira Anti-Virus Software was blocking the network requests by eclipse. After deactivating "enable web protection" in the Anti-Virus, the stupid Eclipse was able to update itself.

Categories : Eclipse

Equivalent JVM options with Oracle J2SE 1.7, for Eclipse 'kepler' 4.3
I'm running into the same thing. I think it's more a "what's deprecated in your Java version" issue since it's passing most of the commands to Java. The kepler help file doesn't get to specific with a lot of the commands you and I are passing so that's what I'm thinking. this is the Kepler help file http://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fapi%2Fconstant-values.html one thing I will say is after speed reading the Interweb I think these 2 can't be used at the same time but I dunno. -XX:+UseConcMarkSweepGC -XX:+UseParNewGC I just have the 2nd one in mine here's where I was reading on it http://www.fasterj.com/articles/oraclecollectors1.shtml well, reading it again it looks like you can use both of those 2 take a look here maybe http

Categories : Eclipse



© Copyright 2017 w3hello.com Publishing Limited. All rights reserved.