I just changed a snipped and inserted the $FILE$ placeholder. Then I used the snippet in a .h file and the complete file path was inserted. I am sure that this was not intended. So i actually use $FILE_BASE$.$FILE_EXT$ insted of $FILE$ only.
Thanks for the quick reply. Ok. Therefor $FILE_PATH$\\$FILE_BASE$.$FILE_EXT$ produces $FILE$. Well, then I'd like to have a feature request for $FILE_NAME$, $FILE_DRIVE$ and $FILE_PATH_RELATIVE$ . No, just kidding
$FILE$ was the first one added. The others were added by request after the fact and we wanted to retain backward compatibility so didn't change $FILE$.