Remove All Comments in Java Files

I have found the solution Regular Expression with multiple lines search. Here are the regular expression used to find two types of comments \/\*([\S\s]+?)\*\/ and (?s)/\*.*?\*/ Open the .java file with comments and open the Search dialog.(Search -> File Search) and paste one of the above reg-ex and check the Regular expression tick box on … Read more

Why is IJavaProject.findPackageFragmentRoots returning an empty array?

This was a bug that was fixed in Eclipse 3.7 (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=324367). As per the new API: The result does not include package fragment roots in other projects referenced on this project’s classpath. See http://help.eclipse.org/indigo/index.jsp?topic=/org.eclipse.jdt.doc.isv/reference/api/org/eclipse/jdt/core/IJavaProject.html

Eclipse Maven Projects get rid of wb-resource warnings

This is what i did to get rid of such superfluous warning; Window->Preferences->Validation. Now here look for Project Structure Validation, uncheck both (Manual and Build) and the warning will not bother anymore. In my Gradle based Spring Boot project there are similar resource directories causing issue but not any more. Hope this will help others.

C++11 full support on Eclipse [closed]

Eclipse works with C+11 support (Indexer and such) just fine: both Juno and Kepler. The thing is that you have to let Eclipse know that you are going to compile with C++11 support. This is done by providing additional flag -std=c++11 to CDT GCC Builtin Compiler Settings in C/C++ -> Build -> Settings -> Discovery … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)