Search This Blog

Saturday, May 3, 2014

Spket - Eclipse Plugin

Spket is an eclipse plugin for javascript libraries like Extjs 3.x,4.x, Angular JS...etc. If you are working in one of these frameworks using eclipse, then spket is a must have plugin for your eclipse.

Features: 

  • Code Completion (intellisense)
  • Syntax Highlighting
  • Javascript validation (For example missing commas, unequal brackets etc)
Usage: 
  • Download spket eclipse plugin and install it in your eclipse. 
  • Once you install this plugin, you need to create a profile and configure extjs builds. 
  • Steps to create Extjs profile : http://spket.com/extjs.html.
  • After profile creation, restart eclipse and open javascript files in spket editor. 
Drawbacks: 
  • Spket doesn't allow to customize javascript profile in free license version, for example if you want to change default indentation levels, you need to move to licensed version of it. 

Once configuration is complete, restart your eclipse,
To install eclipse plugins : http://javadevtool.blogspot.in/2014/05/installation-of-plugins-in-eclipse.html
Project home : http://spket.com
Done.

Extract column wise data from a text file

In general if you want to copy or cut data from a text file we can just drag it by mouse or we can use CTRL+C or CTRL+X. But this works only for row level. Some times we need to extract column wise. For example in an experiment we have text file in which we don't want some columns or if we copy some source code from internet it may consists of unwanted numbers line.

Method 1
  1. Open your text file in notepad++ (Or you can just drag and drop on to nodepad++) 
  2. Keep your cursor at the starting point of the column which ever you want to extract/cut hold ALT button and drag it.
  3. Copy/Cut the data and Paste it in a new file.
Method  2 
If you have Microsoft word, then copy your text and paste in MS-Word. Hold ALT + left key, drag and copy text. It is the easiest and simple technique.

Method 3
If you have eclipse, open file in eclipse and hold press Alt+Shift+A, then editor turns into block editor, now select empty block that you want to delete and delete it.
Done

File Merging/Comparison Tools

Eclipse provides file merging out of the box. Even though no additional plugins are required to use file merging, I personally don't prefer to open eclipse just for file comparison.

Windows tool
WinMerge is a open source comparing, synchronizing and merging tool for windows.
Features: 

  • Visual differencing and merging of text files
  • Flexible editor with syntax highlighting, line numbers and word-wrap
  • Moved lines detection
  • Folder comparision including sub folders
  • Works like a version control, creates patch files, resolve conflicts
Notepad++ plugin

 The simplest way to compare files is using npp compare plugin. After installation of this plugin, we can enable file comparison with a shortcut and it compares last two files opened in the notepad++ windows.

Java Decompiler - Eclipse Plugin

JDEClipse allows us to view decompiled source for a class even though source is not attached to the class. It can be shown as a plaing java class using eclipse default editor.

Features :
  • Decompiling java class files

To install eclipse plugins : http://javadevtool.blogspot.in/2014/05/installation-of-plugins-in-eclipse.html
Project home : http://mchr3k.github.io/jdeclipse-realign/
Done

SVN Plugin for Eclipse

Subclipse is an Eclipse plug-in providing support for subversion. 

Features : 

  • SVN Repository Browser
  • Check-in/Check-out/Other SVN Tasks from eclipse project explorer directly
  • Graphical representation of revision/merge graph

To install eclipse plugins : http://javadevtool.blogspot.in/2014/05/installation-of-plugins-in-eclipse.html
Project home : http://subclipse.tigris.org/
Done

Installation of Eclipse Plugins

Valid eclipse plugin will have two folders features and plugins. There are several ways to install plugins in eclipse.


  • Method 1 : Using eclipse UI 
Go to Help menu, click on Install New Software...

Click on Archive and select plugin file(zip file), it loads and shows the files to be installed. Select them and click on next -> Finish. (If you have url instead of zip file, you can paste URL in the below screen instead of clicking archive).

  • Method 2 
You can also install eclipse plugins manually. Unzip plugin zip file and paste them in eclipse installed folder in which eclipse has two folders features and plugins. It asks for confirmation to override these two folders, click on ok and restart the eclipse. 
  • Method 3 
Unzip your files in a folder and copy them in dropins folder(It will be there in eclipse installation folder). You can keep your files in any folder inside dropins folder, eclipse automatically detects them.  



For more info : https://wiki.eclipse.org/FAQ_How_do_I_install_new_plug-ins%3F

ER diagram - Eclipse plug-in

ERMaster is a graphical editor for drawing ER Diagrams in eclipse. It runs as eclipse plugin.

Features : 

  • It can be done graphically to making ER diagram.
  • Printing ER Diagram
  • Exporting DDL from diagram
  • Creating mock data
  • Importing from DB etc..
To install eclipse plugins : http://javadevtool.blogspot.in/2014/05/installation-of-plugins-in-eclipse.html
For more info :  user manual
Done

Log File Reader - Windows

Log Expert is one of the powerful log analysis tool for windows.

Features :
  • Tail mode
  • MDI-Interface with Tabs
  • Search function (including RegEx)
  • Bookmarks
  • A very flexible filter view
  • Highlighting lines via search criteria
  • Columnizers: This means splitting log lines into columns for some well defined logfile formats
  • Unicode support
  • log4j XML file support
  • 3rd party plugin support
  • SFTP support (loading files directly from SFTP)
  • Plugin API for more log file data sources

For More Info documentation

Screen Capture Tool

Snagit is a Chrome's Extension to capture screen. It automatically stores the captured screen shot into google's cloud.
Snipping Tool is a Windows 7 tool to take a screenshot of your screen.
FastStone Capture is a third party windows utility to capture screen .
Done

Simple Screen Recorder

Screen Castify is a simple screen record add-on to record your screen. It has following features.
  • You can select options to record your desktop, browser or a particular tab. 
  • Screen resolution can be adjustable
  • We can start/stop/pause/resume recording using shortcuts and shortcuts and configurable. 
  • It generates webm which can be viewed in chrome/firefox.(You don't need additional video player to view the video). 
Here is th addon 
https://chrome.google.com/webstore/detail/screencastify-screen-vide/mmeijimgabbpbgpdklnllpncmdofkcpn?hl=en


Cam Studio is able to record all your audio-video activity on your screen  and generates most popular avi format. You can include images, texts and callouts. It also includes the customization. It is a portable(<3MB) software and most importantly freeeware. 

Rest Service Client - Light Weight

Rest client or Advanced Rest client or light weight rest client addons for firefox and chrom respectively. These addons provide validation, formatted output and many more other options.

Personally I prefer Chrome's Advanced Rest Client.

Addons/Plugins
Firefox Addon - https://addons.mozilla.org/en-US/firefox/addon/restclient/
Chrome Addon - https://chrome.google.com/webstore/detail/advanced-rest-client/hgmloofddffdnphfgcellkdfbfbjeloo

Desktop Version
Following jar is the desktop version rest client. Since it is a java application, we only need java installed on our machine. It is independent of the operating system. It also has command line utility to call your services from command prompt.
https://code.google.com/p/rest-client/downloads/detail?name=restclient-ui-3.2.2-jar-with-dependencies.jar&can=2&q=



JSON - XML formatter

devutilsonline is a free online tool to format, transform, validate and generate data for XSD, XML, HTML, XML, SQL, HTTP, BASE64 filetypes. It has a simple UI with multiple options in each of these categories. For example if you want to generate XSD from XML, you can select one of the design types from Russian Doll Design/Venetian Blind Design/Salami Slice Design  along  with other styling properties.

URL : http://devutilsonline.com


JSON Formatter

  • Above link also allows us to format JSON, but sometimes we might want offline application in such a case you can use following add-on for chrome. This add-on has provision to format file also. It has a rich styling interface. 

https://chrome.google.com/webstore/detail/json-editor/lhkmoheomjbkfloacpgllgjcamhihfaj?hl=en


  • If you have nodepad++ and prefer to format in notepad++, then you can install following plugins in notepad++. 
http://sourceforge.net/projects/nppjsonviewer for json and
http://sourceforge.net/projects/npp-plugins/files/XML%20Tools for xml