JavaPythonTech blog contains various tools and skills for a developer. Java/Python Best Practices, Tools, Examples, Programming interview questions.

Top 6 Eclipse plugins in 2023


1. Docker editor

        Nowadays docker is used in most the top tech companies and this plugin helps you edit docker files in eclipse.


2. EclEmma Java Code Coverage

        EclEmma is a free Java code coverage tool for Eclipse, available under the Eclipse Public License. It brings code coverage analysis directly into the Eclipse workbench:

  • Fast develop/test cycle: Launches from within the workbench like JUnit test runs can directly be analyzed for code coverage.
  • Rich coverage analysis: Coverage results are immediately summarized and highlighted in the Java source code editors.
  • Non-invasive: EclEmma does not require modifying your projects or performing any other setup.


3. jAutodoc 

       JAutodoc is an Eclipse Plugin for automatically adding Javadoc and file headers to your source code. It optionally generates initial comments from element name by using Velocity templates for Javadoc and file headers. The main features are
  • Complete, keep or replace existing Javadoc
  • Create initial comments from element name
  • Getter/Setter comments from related field comment
  • Add/Replace file headers
  • Velocity templates for Javadoc and headers
  • Support for Package Javadoc
  • Search for missing Javadoc and file headers



4. SonarLint

        SonarLint is an IDE extension that helps you detect and fix quality issues as you write code. Like a spell checker, SonarLint squiggles flaws so they can be fixed before committing code. You can get it directly from the Eclipse Marketplace, and it will then detect new bugs and quality issues as you code (Java, JavaScript, PHP and Python).



5. Nodeclipse

        Nodeclipse Core & Node.js (nodeclipse-1) is Eclipse plugin for the Node.js. The purpose of Nodeclipse is to create environment in which Node.js development is easy for any user from beginner to professional.



6. YEdit

      YEdit is an Eclipse editor for editing YAML files.
It has the following features:
  • Syntax highlighting
  • Syntax checking
  • Content outline
  • Templates
  • Various text editing support like auto-indenting and toggling of comments.
  • Symfony compatibility mode.
  • Source formatting (experimental)



Share:

How to switch branch in eclipse without losing workspace settings


You have checked out the required branch from git and would like to switch to a different branch using eclipse.

developer branch in the below example:

 

Now let’s make some changes to the existing file and add a file to depict workspace changes.





Now you would like to switch to another branch (developer2 in this example) without losing the changes done in your current workspace.

Select the Git perspective.

Right click on the git repository > Switch To > New Branch







In the “Create a new branch” window, click Select.





Select the branch you would like to switch to from “Remote Tracking”.

developer2 in the below example.



Check the “Configure upstream for push and pull” checkbox and select “Merge” from “When pulling” dropdown.

Uncheck the “Check out new branch” checkbox.

















Click Finish.



 
As you can see from the above image, we now have developer2 branch under Local.


All file changes and the new file are still intact and the branch has been switched to developer2 branch.

Note:
If you are not able to see the branches under “New Branch > Select”, please follow the below steps.

Go to Git perspective > Clone a Git repository

Enter the URL and credentials

In the “Branch Selection” window, select all the branches.


Click Next.


In the Local Destination selection window, select the required branch from “Initial branch” dropdown.

Click on Finish.

You will be able to see the selected initial branch under Local and all other branches under Remote Tracking.

 

Right Click on Working Tree > Import Projects > Finish.





Share:

Announcements

Will be posting twice a week on latest java libraries/frameworks which a developer needs to know in 2019.
Also will add the common errors and resolutions for the same.

Please feel free to comment if you need anything specific.

Recent Posts

Popular Posts

Search This Blog

Blog Archive

Powered by Blogger.

Contributors

Pages