Arduino Leonardo in Eclipse VID and PID missing?
Ok, so I have worked out that you can add USB_VID and USB_PID to 

Project Properties -&gt; C/C++ General -&gt; Paths and Symbols -&gt; Symbols -&gt; Add


If you have multiple configurations its best to do it as your specific one for Leonardo.

If found in the ./hardware/arduino/bootloaders/caterina/Makefile
that the values are as follows:

# USB vendor ID (VID)
# official Arduino LLC VID
# VID = 0x2341


# USB product ID (PID)
# official Leonardo PID
# PID = 0x0036


Ill leave the question as is, so others can find it. 
Because:

This then yeilds to the next errors for RXLED1, RXLED0, TXLED1, TXLED0
These are found in the pins_arduino.h file under variants. But when i add this lib to my Arduino core project, it is a problem since the default version of this file is read first. 

The simple way to fix this is to add the second pins_arduino.h file into another folder and then add this to the start of the default one:

#ifdef USB_VID
#include "leonardo/pins_arduino.h"
#else
## &lt;the rest of the file goes here&gt;
#endif


You also need to set like this for your specific build configuration so it pre-processor knows what you are doing. 

This at least gets you to a compile. I don't really know how well it works in the end.