domshyra wrote:I have also noticed that in classes Struct.dataType will work but Struct->ptDataType wont work the same... idk but something else to see if you can solve haha
In contrast to the thread starter's issue, your problem comes down to the colouriser that's in use.
In other words, Sublime's C++ syntax definition does differentiate these items (ie. data member of struct vs. data member of struct pointer); some colourisers choose to show this difference and some don't. Which is fine, because either choice is probably a matter of taste.
The colouriser I use (Tomorrow Night) does show the difference; Monokai (Sublime's default) doesn't.
Personally, I prefer it because in complex lines like:
...it's far easier to instantly see what's going on when data members of instances are colourised differently to members of pointers:
Fixing your chosen colouriser to not show this difference would likely be very straightforward.