Copy Full Path – Source Insight

I’ve been using Source Insight for a while now and wanted to add the Copy full path feature that vs 2008 has. Here is a small macro that does just that. Just create a AnyName.em file and add it to the project.

macro CopyFileFullpath(){      hbuf = GetCurrentBuf()      if(hbuf == 0)      {        msg("No buffer available");        stop      }      hbufClip = GetBufHandle("Clipboard")      ClearBuf(hbufClip)      AppendBufLine(hbufClip, GetBufName(hbuf))}

Note: If someone knows a better way do leave a feedback.