First of all, I’m sorry if the solution to this question is incredibly obvious. I’m sure I’ve just overlooked something or am not searching for the right thing.
I’ve been using Json files for my game now for almost a month now and I love it, but I’ve never managed to get the syntax highlighting working in Mono or VS. It’s pretty minor, as it works regardless. However, it makes locating an error quite time consuming. I’d much rather use Json over XML, but I’m starting to lean towards XML.
I’ve seen other people online do not have this problem so I was wondering how to get syntax highlighting working in Monodevelop for Json files. My mono version is 5.9.6.
yes, I’ve tried a couple of different extentions to no avail, but if you know a good one could you send me the link(pretty please). I’ve also the same problem with Json in VS. I’m currently trying to update unity to 5.5f so I’ll see if that gives me any joy.
I’m not using any “extensions/addons”. I’m referring to the file extension… ie, not .txt or .cs, it must be .json. VS already does json syntax highlighting. I’m using the version that comes with Unity 5.4.2f2 and it just works.
I can even right click on a .json file (in windows) and open with VS - it’s associated with them already.
Yes it’s very odd. All my files have .json extension on them and they function just fine, I’m able to reference any variable out of them no problem, its really only the highlighting that isn’t working. I just finished installing Unity 5.5f and VS is completely dead, so maybe I have bigger issues…LOL