

NET version from whatever I manually typed to 4.7.1. When attempting solution 4, as stated above, Unity (or VS Code for all I know) automatically changes. I do not know if this is intentional or if this is the problem.

GlobalSection(MonoDevelopProperties) = preSolutionįor some reason, the sln file seems to be used for Visual Studio 2010. GlobalSection(SolutionProperties) = preSolution Project(".Release|Any CPU.Build.0 = Release|Any CPU The sln file the project creates reads Microsoft Visual Studio Solution File, Format Version 11.00

Go ahead and look over that outFile to make sure you don't notice any major issues. `"outFile": "./distr/main.js",` for example To do this your going to need to change outDir to outFile in your tsconfig.json. js files running through TSC and compiling into a single main.js file The first step to this is *not* changing all your. If your feeling comfortable with all of the above, it is time to move onto porting your project. You can then follow the instructions here to see some of the features VSCode offers as well as to setup the taskrunner. Once your comfortable with just the compiler, if you have not gotten VSCode yet go ahead and get it. I recommend you just mess around with the compiler first before worrying about compiling your Cloud Script project. You will need node/npm for this, so if you already have them great if not,

Unlike the atom plugin VSCode stops short of letting you use its built in TSC compiler, so you are going to need get a copy. It is developed in TypeScript, backed by Microsoft, and has TS support built in.Ītom is a great editor but the primary TS plugin for it has been pretty much abandoned by its primary maintainer. The hardest part of the switch is getting setup and fixing all the errors TypeScript catches when you start using it.įirst off I recommend using Visual Studio Code. Making the switch to TypeScript is not a hard process(certainly not harder than debugging untyped code).
#Visual studio code unity intellisense not working free#
It is a massive, poorly written dump of words, if you are confused on any part of it, feel free to post questions here or message me on the community slack. I am not familiar with getting a TypeScript development environment setup for Visual Studio, so I will post some helpful links and a process for getting started in Visual Studio Code.Ī mostly raw Copy/Paste of process I gave on the community slack today. The method I am most familiar with and that has the most support from PlayFab is to author your Cloud Script source using TypeScript and then transpile it into JavaScript using the TypeScript compiler. Good news, there are tools and methods available that get you powerful tooling features when authoring Cloud Script. This would provide better separation of concerns when working on your project. I would certainly consider moving you Cloud Script source out into a separate project or folder. I edited cloudscript in same c# unity project as client. Is there any way to get context help intellisense about server API methods in Visual studio while editing javascript of cloudscript?
