Tuesday 11 August 2009

Visual Studio Tricks

I am going to keep this as an ongoing post with whatever tips and tricks I come across when using Visual Studio.

Show Active File In Solution Explorer

When working with big solutions and projects this is so useful. By default visual studio doesn't highlight the file that is active (i.e the one you are viewing) in Solution Explorer.

To activate this do the following:

Tools – Options – Projects and Solutions – Track Active Item in Solution Explorer

Credit for this tip goes to Ronald Widha's blog .

Use the Command Window to Search for Files

In Visual Studio I really miss the equivalent of Eclipse's CTRL - T shortcut to search for classes.

The next best thing I have found is to open the command window ( View > Other Windows > Command Window ) and type:

>open file you're searching for

and a little drop down will pop up of files that start with whatever you have typed in.

More Tricks

Also check out any of my blog entries tagged with visual studio











Monday 10 August 2009

Installing flash for firefox in xubuntu

This weekend I was trying to get the flash player installed on XUbuntu and working on firefox. Following the instructions on Adobe's site didn't work , but after a bit of googling this is what I did and it worked.

1. Download Adobe Flash Player from http://get.adobe.com/flashplayer/otherversions/. Choose the tar.gz option.

2. Extract the contents of the extracted file to your desktop . The file libflashplayer.so should now be on your desktop

3. Open up a terminal window

4. Enter the following , and replace username with your username.

sudu su
cd /usr/lib/mozilla/plugins/
cp /home/username/desktop/libflashplayer.so .
cd /usr/lib/firefox/plugins/
cp /home/username/desktop/libflashplayer.so .

5. Restart firefox (maybe a couple of times)

6. Test out youtube.com