Is it smarter to import projects into the Visual Studio Code IDE first?

James Hancock
James Hancock used Ask the Experts™
on
Hi
I've found a GitHub Javascript example that I'd like to work with.
It is called hextris, and is a tetris like thing with hexagons. The touch and mouse handling code spots are very simple to find.

Is it indistinguishable if I pull it in to my visual Studio code project using their importing system, or copy the files myself? Obviously their project importing is just quicker?
The project page is here
I think I'd like to set up the files myself, to better learn the IDE?

Thanks
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Sure.  You can pull the files and set them up in any IDE you choose and as you say you'll learn more that way.
Architect - Coder - Mentor
Commented:
Hi,
Visual Studio Code it's a simple editor enriched with some extensions; it's not an IDE.
If you're going to work on a javascript project using Visual Studio Code there is nothing to import. Just grab a clone of the project locally and open the folder from  Visual Studio Code File menu.
leakim971Multitechnician
Top Expert 2014

Commented:
behind you've a wizard (one or multiple tasks) creating specific(s) file(s) inside the project folder for the respective IDE (here VS CODE)
when you do it manually, you create this specific(s) file(s) inside the project folder step by step when you add/remove information about the project.
maybe do an import, check this specific(s) file(s) with an editor to learn more about your tools
Shaun VermaakSenior Consultant
Awarded 2017
Distinguished Expert 2018

Commented:
I would just run this from where you extracted/cloned the solution
code .

Open in new window

James HancockSelf Employed

Author

Commented:
I think the instructor on the YT vid advised using node.
My console doesn't find code. only node works correctly. "-bash: code: command not found"
On his Hello World snippet, which works with node,  -- once I do game code, will it launch in my browser?
Makes sense?
Isn't Javascript grounded in 'node' ?

Thanks
Eduard GherguArchitect - Coder - Mentor

Commented:
Hi,

Node is a server-side application build on top of Google's V8 Javascript interpreter (build in C++). You can run javascript code using nodejs, but it has nothing to do with an IDE, if you run your code with node, nothing will be launched in browser as long as nodejs is executed on the server, not on the client (browser).
If you want to run VS Code on Linux, you'll need to add the path where it was installed to the system variables in order to allow the bash shell to find the command.
James HancockSelf Employed

Author

Commented:
Thanks
Eduard GherguArchitect - Coder - Mentor

Commented:
Hi,
My pleasure! Please, let me know if you need more help.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial