- May
- 13,723
- 209
I like all types, including struct names, colored in VS. So I made an external tool to put keywords into usertype.dat.
In the IDE, I select some text, say FILE_STANDARD_INFO, and execute the tool. What winds up in the file is:
It's quoted! @UNQUOTE[] does work. How could that possibly happen? [I'm not crazy. I've tested this many times.]
Any ideas?
And to make it even stranger, if I quote it myself, changing the args to
it works as desired!
Code:
Command: g:\tc15\tcc.exe
Args: /c echo %@unquote[$(CurText)] >> l:\vs10\common7\ide\usertype.dat
Code:
v:\> tail /n3 l:\vs10\Common7\IDE\usertype.dat
BROWSEINFO
PIDLIST_ABSOLUTE
"FILE_STANDARD_INFO"
It's quoted! @UNQUOTE[] does work. How could that possibly happen? [I'm not crazy. I've tested this many times.]
Any ideas?
And to make it even stranger, if I quote it myself, changing the args to
Code:
/c echo %@unquote["$(CurText)"] >> l:\vs10\common7\ide\usertype.dat