Skip to main content

Common Eclipse Shortcuts for Java Developer

  1. Open Resource : ctrl+shift+r
  2. Quick Outline : ctrl+o
  3. Assign to local variable : ctrl+2, L
  4. Rename : alt+shift+r 
  5. Extract Local Variable : alt+shift+l 
  6. Extract Method : alt+shift+m

Comments

Popular posts from this blog

Replace Non ASCII Characters in a File

Replace Non ASCII Characters in a File ? package com.pukhraj.blog; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.FileReader; import java.io.FileWriter; public class ReplaceNonAsciiCharacters {     public static void main(String args[]) {         String inputFileName = "D:/input_file_name.txt";         String outputFileName = "D:/output_file_name.txt";         try {         // Read the content from the input file using BufferedReader object.             BufferedReader in = new BufferedReader(new FileReader(inputFileName));                         // Write the content to the output file using BufferedWriter object.             BufferedWriter out = new BufferedWriter(new FileWriter(outputFileName));         ...