Turn On Line Numbers in Eclipse [Luna]

Personally, I’m not sure what any code editor thinks it is doing by not having line numbers switched on by default.

But, each to their own, so if you want to see your line numbers in Eclipse and you just can’t find out where on earth to turn them on, aaargh! Don’t panic.

Just go to:

Window -> Preferences -> General -> Editors -> Text Editors

And check the handy “Show line numbers” box:

eclipselinenumbers

Then, take a deep breath, and feel much better than you can now see which line of code you are editing at any given time.

C++ Eclipse Masterclass Now Open!

screeenshot2_crop

It’s HERE!

This morning at 9am GMT the C++ Eclipse Masterclass opened for enrolment. Hurrah!

I have poured my heart and soul into creating this course, and I am so proud to finally be launching it today.

It opens with an early bird discount which runs until midnight GMT on 1st June, so if you want to grab a bargain, act now!

If you have any questions, or feedback, please do get in touch.

And thank you, to all of my readers, for your ongoing support and enthusiasm. I wouldn’t be doing any of this without you.

C++11 Threads Don’t Work in Eclipse (Luna)

If you want to use Eclipse to write programs that use the C++11 thread class, you need to make some adjustments to enable everything to run correctly.

Without these, you’ll run into all sorts of strange errors.

There are three steps to getting your program to run perfectly and here’s what you need to do:

Read moreC++11 Threads Don’t Work in Eclipse (Luna)

Using Multiple Workspaces In Eclipse

If you do a lot of development work for lots of different programs or projects, you could try grouping them into separate workspaces in Eclipse.

It’s really easy to do and is a nice way to keep different types of projects together.

As you probably know, the default workspace is called ‘workspace’ and lives under your home folder on Linux. If you want to use additional workspaces, the steps below cover everything you need to know about using multiple workspaces:

 

1. Create a new folder

In your home directory, you need to create a new folder, which will be the location of your new workspace. You can call this folder anything: Coursework or 3DProjects, for example.

Read moreUsing Multiple Workspaces In Eclipse