In Eclipse (and Flash/Flex Builder) you get the option with Ctrl+Shift+F to do a file search and look for a regular expression. Would be a real handy thing to know.
I want to find the word negate if it appears in a Flex/java comment like the following:
// It was negated because
or
/*
The negate option was....
*/
or
/**
* We have to negate the value
*/
Any ideas? Will test them out at http://www.regexplanet.com/simple/index.html
Everything was fine until I did an upgrade from Ubuntu 9.04 to 9.10. Since then, Eclipse just doesn't respond properly. The following are the symptoms I can see:
When I click on update, it grabs the
available updates but doesn't show
them. Any internal window that is
displayed has corrupted buttons
I cannot click on any of the buttons. I
have to keep pressing Tab to
highlight that specific button and
then hit spacebar.
Anyone knows how to solve this?
For adding instrumentation roots to a Profiler, I need to write the method signature.
For example, in case of the method:
String toString()
The VM Method signature is
()Ljava/lang/String;
Question is, is there any way to check such signatures in Eclipse if you have the source code? Is there any shortcut to see this?
When I ran the Inline and Extract Local Variable refactorings, Eclipse saved my file immediately after. Also, Undoing/Redoing these refactorings resaved the file each time. How can I disable this behavior?
Secondary question: Running Extract Method didn’t automatically save the file. Why the inconsistent behavior?
I have the Spring STS plugin activated within my Eclipse project. Doing this enabled many cool Spring features including specialized management of Spring bean files. However, I noticed that the project settings for Spring allows for the creation of "Config Sets" -- which look like groups of bean configuration files.
I cannot find documentation for this feature anywhere...anyone know what it does?
In Eclipse, when configuring an external tool (Run-External Tools-External Tools Configurations...), specifically an Ant Build, under the Main tab there is a checkbox labeled "Set an Input Handler". This is checked by default.
What does this do? When would you want to uncheck it and what would the benefits be?
Each time I choose 'run' it creates a DebugServer (in the debug view). Almost all the context menu options are disabled, including 'Terminate' option.
Is there a way to get rid of these without restarting Eclipse (every dozen runs or so)?
Thanks,
Chris.
Hi to all,
Can anybody tell me how to add signature in jar file. I have developed a plugin but when i am installing it ..it is showing some warning in it is not signatured jar file??? Can anyone give me a guidance in this how to do that???
Hi All,
I have a JAR on the build path of a medium sized Java application and I would like to know where it's used. At the most basic level if someone could tell me how to 'Find References' for a Jar that would be great.
Whilst I'm looking at dependencies it would be great to find a tool that would map all of my package / external library usages and graph them. I used to have a free plug-in for eclipse that did just that but I haven't been able to rediscover it.
Thanks,
Gav
I am using the properties view in RCP, i.e org.eclipse.ui.views.properties.PropertySheet.
I want to be able to refresh the content of these properties programmatically. It seems RCP is geared towards the use case where this changes only when a selection changes.
Is there any way I can fire a dummy event to get this to refresh (without having ugly UI artifacts such as visibly switching between parts) ?
With my current code base I'd like to build two or more different versions of my Android app (free, premium, ...). For the iPhone (XCode) I can definte different targets. Is there something similar implemented in Eclipse?
I have to PC, one is server on Linux containing project files ( also build machine ) and another working desktop machine on WinXP. I want to create a project in Eclipse on my desktop machine without coping files to local machine, actually I want to be able to modify remote files and immediately run build, unlike modifying local files and synchronizing with remote project.Is it possible?
Thanks
I'm trying to encourage a best practice of not catching general exceptions in Java code. eg:
try {
...
} catch (Exception e) { // bad!
...
}
Is there a way to flag this as an error/warning in Eclipse?
I know PMD picks this up, but I'd rather avoid integrating it into everyone's build environment at the moment.
Eclipse has pretty cool JPA Structure and JPA Detail views along with a persistence.xml editor and a JPA perspective. However, I cannot seem to get them to "turn on". I had them all working several months ago, but something must have changed.
Any tips as to what secret sauce is needed to get them working again?
I find a lot of articles on the web describing how GAE can be used as a CDN. But, I could not locate any mention about CDN in Google's documentation of App Engine.
Can somebody please point me to some official document/article mentioning how applications developed on top of GAE benefit from Google CDN servers?
Thanks in advance :)
I noticed the eclipse indenter has support for the latest version of java, and it would be nice if I could use that class to indent generated java source code. Is there a way of integrating it ?
EDIT: I need to be able to include the code formatter in my code. No external calls.
EDIT2: I've managed to get it working. You can read the story here. Thanks VonC !
Ctrl+3 in Eclipse can do this:
http://techvj.blogspot.com/2007/11/any-software-developer-using-ide-begins.html
Is there an equivalent in Visual Studio? Or via some 3rd party plugin?
Hi all.
At Project Properties Java Build Path Libraries tab
you click Add Jars button, you will see the JAR Selection dialog.
I like to open this JAR Selection dialog on my plugin code.
How to open this?
I know that you can press shift+alt+j to insert an appropriate comment template for the current code block, but is there any way to let eclipse just go crazy and do a whole project like this?
I am almost done with my project in android, now I want to make the executable version of the application.
I need to demonstrate it in .exe form as soft app as on emulator, not by built and debug process from eclipse.
need immediate idea
I'm trying to use Google Sites to host an Eclipse P2 site.
However, Install New Software fails to the site because the features and plugins directories are not found. It seems that Google Sites only simulates subdirectories on FileCabinet pages.
Is there an alternative Google Sites approach?
Or is there a way to set up a P2 site without subdirectories or so that Install New Software will reference a zip file?
Any alternative recommendations?
In Eclipse, if I change a file programmatically, and it is open in a text editor, it doesn't always reload, not even when refreshing the resource programmatically. How can I forcibly reload the text editor from code so that it show the changed file contents?
I am currently processing text/html data and I wish to store my results in some sort of database. My current setup is Pydev with Eclipse.
What is the best database to use with my current development environment?
What is the best python library to use with the suggested database?
I have set up Eclipse PDT on Galileo. I'm able to run and debug PHP sites that are set up on XAMPP. The thing is, I want to profile one of the sites, but cannot for the life of me figure out how to set this up. There is a profiling menu when I right-click the PHP project, but no indication of how to proceed from there. BTW I'm using Xdebug as the debug engine.