Is there any better way to use Visual Studio Code ? just only Fork Git?


#1

This topics is a just idle talk.
completely no important topic.

I like Visual Studio Code & Visual Studio Online.
also I like PlayCanvas’s quick respond for debug running.
Both are so goood for me ! more than Unity.
So i seek the fine way to connect PlayCanvas & VS.
But if i fork it the visual studio online, that quick response is lost.
Because it need commit for attach code change

hummmmm.

Just only thing I can do is wait for update of next generation editor ?


#2

Hey Ogawa. I’m a fan of VS Code too. I use it with PlayCanvas simply by running a local web-server on Port 51000. The instructions for how to do this are explained on this page : http://developer.playcanvas.com/en/user-manual/scripting/workflow/

I don’t understand what you mean by the following sentences:
But if i fork it the visual studio online, that quick response is lost.
Because it need commit for attach code change

So my workflow is as follows:

  • Run webserver from the folder where all my .js files are
  • Open folder in VS Code
  • Edit files
  • In PlayCanvas editor, run the game using “Run (Local)”
  • When my work is ready to commit to git, I just use the Git windows in VS Code.
  • My collaborators can then pull these files from the remote repo, and follow the same workflow.

Does that help at all?


#3

Yes ! That is very helpful.
hum, work on local …

But if i fork it the visual studio online, that quick response is lost.
Because it need commit for attach code change

That is topics on team working.
If I rewrite and save code on web, it affect on the team member’s pc.
no need PULL. just only restart by ‘Play’.
And visual designer change object properties, it also affect soon.

So it make smoothly team developing.
now I trying develop in ‘Phaser’.
I feel that their developping style is a little old.


#4

sorry I brought up this again, since the workflow is in “Legacy Script” now:
https://developer.playcanvas.com/en/user-manual/scripting/legacy/workflow/

is there any way to edit the code in visual studio and some how sync to the playcanvas editor?
cause in a unstable network, there is a chance my code could be lost(happened couple times).

it would be great if I can edit my code locally, thanks.