Jump to content

mac os x user and code software


Recommended Posts

I usually code with coda but doesn't seem to have any code suggestion for babylon.js

I try to look if in dash i could find a class reference but did not found anything

at last i found that MS has Visual Studio Code for Mac ( it seems free ) but don't come with intellisense for babylon

anyone has found a solution to get fast class reference on mac?


Link to comment
Share on other sites

VS:Code is really, really good. To get BJS code hints:

  1. Put a file called "jsconfig.json" in the root folder of your project
  2. Grab the Babylon definition file (like this one) and put it somewhere in your project

For step 1, this file tells Code where the root of your project is. There are some config settings you can put in it, but just an empty file will work for getting code hints.

For step 2, definition files declare a library's APIs. They're made for Typescript but Code will give you hints out of them even when you're writing JS. Note that there are d.ts files floating around for every major library, so you can get them for other stuff you're using as well.

Link to comment
Share on other sites

VSCode is really the ultimate weapon for JS or TS

that's what I use to contribute to BJS or do my own code

and I'm a Linux user, used to sublime text and Atom.io, so not initially inclined to promote MS products just because they are MS.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...