Skip to main content

Good features of Eclipse 3.6 (Eclipse Helios) JDT



Read the Eclipse Galileo features @ http://tips4ufromsony.blogspot.com/2011/10/good-features-of-eclipse35-eclipse.html


New options in Open Resource dialog :
The Open Resource dialog supports three new features:
• Path patterns: If the pattern contains a /, the part before the last / is used to match a path in the workspace:


• Relative paths: For example, "./T" matches all files starting with T in the folder of the active editor or selection:



• Closer items on top: If the pattern matches many files with the same name, the files that are closer to the currently edited or selected resource are shown on top of the matching items list.



MarketPlace : 
Searching and adding new plugins for Eclipse have always been a challenge. The Eclipse Marketplace makes this much easier – it allows you to not only search a central location of all Eclipse plugins, but also allows you to find the most recent and the most popular plugins.





Fix multiple problems via problem hover:
    The problem hover now shows quick fix links that fix multiple instances of a problem in a file. The new links behave the same as pressing Ctrl+Enter in the Quick Fix proposal list (Ctrl+1) :



Dynamic path variables:
Linked resources can define their locations relative to user-defined path variables. Now, a set of predefined path variables are available:
PROJECT_LOC - pointing out the project location
WORKSPACE_LOC - pointing out the workspace location
When these variables are used, they are dynamically resolved based on the context of a linked resource. Those predefined variables may be also used to build user-defined variables.



Progress shown in platform task bar:  
Progress for long running operations is now shown in the platform task bar on platforms that support this feature. Progress is shown for long running tasks such as workbench startup, install, update, and repository synchronization.
 


Quick Access now shows keybindings for commands:
Quick Access (Ctrl+3) now shows keybindings for commands so you can save yourself from all that typing and just use the keyboard shortcut the next time you need to run a command.


 
Local History pruning can be disabled:
The local history size constraints can now be disabled. Users that never want to discard history no longer need to wait on shutdown for history cleanup to occur. To disable history cleaning, go to  Preferences > General > Workspace > Local History and disable Limit history size. Note that when this option is chosen, disk usage for the workspace local history will continue to grow indefinitely.



New 'Java Code Style Preferences' category when importing or exporting preferences:
When importing or exporting preferences, a new category is available that allows you to control whether Java code style preferences are imported or exported:



Call hierarchy view:
Helios lets you go through each caller one by one, and provides you a way to remove all those unnecessary calls from the call hierarchy view so that you can focus on those which concern you. Related to this, previously the extraction of type hierarchy information would cause the Eclipse to freeze in large projects. The recent version extracts type hierarchies in background leaving you to continue your work.



Control the formatting in code sections:
This preference allows you to define one tag to disable and one tag to enable the formatter (see the Off/On Tags tab in your formatter profile): Here is an example of formatted code which is using code sections with the tags defined as shown above:





Report missing @Override for method implementations in 1.6 mode:
The compiler now reports about missing @Override annotation in the case where a method implements a method from an interface:



@SuppressWarnings for optional errors:
The @SuppressWarnings annotation can now also suppress optional compile errors. In the below example, "value of local variable is not used" has been set to Error:



Compiler detects unused object allocation:
The Java compiler can now detect unused object allocations.This detection is disabled by default and can be enabled on the  Java > Compiler > Errors/Warnings preference page at the end of the Potential programming problems section:



Package name abbreviations:
Package names in Java views can now be abbreviated with custom rules.The abbreviation rules can be configured on the  Java > Appearance preference page. For example, the following rules produce the rendering shown below:
org.apache.lucene={AL}
org.apache.lucene.analysis={ALA}



Type Hierarchy computed in background:
The Type Hierarchy is now computed in an operation that can be sent to the background (or always runs in the background, depending on your settings). Your workbench is no longer blocked while a big hierarchy is computed:



Debug Variable Instance counts:
The Variables view provides a new column displaying the number of instances corresponding to the concrete type of each variable. To display the column, select Layout > Select Columns... from the view's menu, and then select Instance Count from the Select Columns dialog. Note that instance counts are only available debugging on JavaSE-1.6 (or newer) and are not applicable to primitive types.


 
Java breakpoint detail:
The Java breakpoint detail panes now display all properties in a single pane. So the property editing can be done from the same dialog box:



Edit test method in JUnit launch configuration:
In JUnit launch configurations, you can now edit the test method. In JUnit launch configurations, you can now edit the test method.





Comments

Popular posts from this blog

How to convert your Blogger Blog to PDF ?

You can use a website called "blogbooker" @  http://www.blogbooker.com/blogger.php   to convert your Blogger Blog to a PDF . Please find the steps below : 1. Save your blog as an xml using Blogger Settings - Other - Export Blog option 2. Go to the website " http://www.blogbooker.com/blogger.php " and select this XML , give your blog address and select the options like date range, page size, font, ... 3. Click the  "Create Your BlogBook" button to view and save your blog as PDF

Eclipse plug-in to create Class and Sequence diagrams

ModelGoon is an Eclipse plug-in avaiable for UML diagram generation from Java code. It can be used to generate Package Dependencies Diagram, Class Diagram, Interaction Diagram and Sequence Diagram. You coud get it from http://marketplace.eclipse.org/content/modelgoon-uml4java Read more about it and see some vedios about how to create the class and sequence diagram @ http://www.modelgoon.org/?tag=eclipse-plugin Find some snapshots below which gives an idea about the diagram generation.

ATG Search Indexing - behind the scene steps explained

Read more about the search indexing @  http://tips4ufromsony.blogspot.com/2011/11/atg-search-architectural-flow-search.html ATG search indexing involves index file creation, deploying and copying the index file to the search engine's box. The steps can be divided into Initial stage, Preparing Content, Indexing and Deploying. Please find below the detailed analysis of each step. 1. Initial stage:        a. Check whether the folder deployshare configured correctly @ LaunchingService.deployShare  ( \atg\search\routing\LaunchingService.deployShare ). Lets assume that it is configured to \Search2007.1\SearchEngine\i686-win32-vc71\buildedIndexFiles.        b. Lets assume that the index file folder ( \Search2007.1\SearchEngine\i686-win32-vc71\indexFiles)  has the following segments (folders) currently :                     66900009 @ index engine box        66900010 @ search engine box        c. Lets assume that the component SearchEngineService has the "

ATG Product Catalog schema ER diagram

Check out the O rder schema ER-Diagram @   http://tips4ufromsony.blogspot.in/2012/02/atg-order-schema-er-diagram.html Check out the User Profile  schema ER-Diagram @ http://tips4ufromsony.blogspot.in/2012/03/atg-user-profile-schema-er-diagram.html If you would like to know the relationship between different Product Catalog tables, please find below screen shots of  Product Catalog schema ER Diagrams.

ATG CA - BCC home screen : how to add a new link

          Activity source is the property which controls the links on the left nav on the BCC home screen. All activity sources are registered with the ActivityManager component at /atg/bizui/activity/ActivityManager . When rendering the BCC home page, the ActivityManager cycles through all the registered ActivitySource components and displays left navigation links for each of them on the BCC home page. For example if I want to add a new link "My New Link" , below screen shots exaplins how this can be done 1. Add  activityManager.properties to specify the activityresources. In this  activityManager, I specified one MyActivitySource. 2. Add  MyActivitySource.properties  to specify the name of the link and the other details . Here it refers to a bundle properties file.  3. Add  the bundle properties file  to specify the name of the link.  4. Now you could see the new link @ BCC home page . Each activity source has the following important functions: