Pages

Monday, April 7, 2014

How to display line numbers in visual studio






  • Click on Tools tab and click on options .It opens a window.
  • Expand the text editor node and select the language(For Ex:C#) for which the line numbers have to be displayed or select All languages if you want to apply the settings to all of the languages .
  • I wanted to change it for C# so expanded C# node and clicked on General. Check the line numbers option and click OK as shown in the below screenshot.


Saturday, April 5, 2014

eclipse installed but cannot start java returned exit-code = 1



I have got this error in the Android Sdk .The following Fix worked for me.

Edit the eclipse.ini file .Point the vm to the correct jdk.In my system i had two versions of jdk installed. I have pointed it to the initial installed version. Please see the highlighted code in the below screenshot.