added code to insert hints

you can use the 'paste' button or double click (double click won't work for a single namespace without a function)