Jump to content

Babylon Autocompletion


Kwame
 Share

Recommended Posts

For example if you use Visual Studio code, you can add a comment line like this at the beginning of file.

/// <reference path="libs/babylon.d.ts" />

Otherwise you can find in the documentation of your code editor, how to add an external reference for the autocompletion

Link to comment
Share on other sites

4 minutes ago, Dad72 said:

For example if you use Visual Studio code, you can add a comment line like this at the beginning of file.


/// <reference path="libs/babylon.d.ts" />

Otherwise you can find in the documentation of your code editor, how to add an external reference for the autocompletion

i have visual studio express for desktop is that good enough?

also i dont think i have babylon.d.ts

where do i download?

Link to comment
Share on other sites

2 hours ago, Kwame said:

i have visual studio express for desktop is that good enough?

also i dont think i have babylon.d.ts

where do i download?

I tryed but it doesn't work in Visual Studio 2015

If someone uses VS, I wrote this instruction:

- get "babylon.2.4.max.js" file from github above

- open VS

- select in .menu -> "Tools" -> "Options..."

- type in Search: javascript

- select "References" in IntelliSense section

- select "Implicit Web" in "Reference Group"

- click on "..." button in "Add a reference to current group" and select "babylon.2.4.max.js"

- click on "OK" button

Link to comment
Share on other sites

I use JetBrains PHPStorm now, but previously used Sublime, I used this plugin:
http://sublimecodeintel.github.io/SublimeCodeIntel/

It works, but no matter how I config Sublime with linters and sniffers and plugins, JetBrains is superior by light-years. I can set by directory and by file which source cde should it re-parse for autocompletion.
(It is not cheap, and it is a performance hog because its Java.)
 

Link to comment
Share on other sites

  • 2 weeks later...
10 hours ago, 8Observer8 said:

Did you restart VS? And you need add "*.max.js" in option window. But in project (when you develop) you need use "*.min.js". I think you should just restart VS.

yes i restart.

how do i make project? do i do new project?where do i need to put min.js in project?

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.

Guest
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.

Loading...
 Share

  • Recently Browsing   0 members

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