JohnyCage Posted November 9, 2018 Share Posted November 9, 2018 Dear there, what is the bet development environment for Babylon.js (for intellisense included)? Thank for your ansver in advance. Quote Link to comment Share on other sites More sharing options...
eps Posted November 9, 2018 Share Posted November 9, 2018 Visual Studio probably - especially as David and David are MS employees. It actually depends on your Javascript experience and your personal preference... It may also depend on the type of project you plan to complete. For me, I'm more interested in mobile and babylon.js and so I use Notepad++ for the Javascript and HTML element and then Basic4Android to develop the Android part of the project. For me it's also about the ease of programming as opposed to intellitype necessarily. Notepad++ or other editors can be extended to help when developing. Quote Link to comment Share on other sites More sharing options...
logunov Posted November 10, 2018 Share Posted November 10, 2018 Well, I have some experience in development, so there is some choices: First: Visual Studio huge community huge possibilities much of addons multi-language support much of space to install much of good addons is paid much of requirement to performance workspace Second: Visual Studio code portable small performance requirements, good performance small community no addons This probably should support intellisense, but I don't tested it Third: WebStorm from jetBrains company This is my favorite, it is specially developed to code on java script extremely better performance much of syntaxes support community version is not worse than licensed only javascript This probably contains intellesense, I looked at google a bit, and found some topics, so it may be, but I don't tested on my own; Additional tips: For the better code reading, take a look on the typescript, coffescript or dart languages ( https://www.dartlang.org/faq ), they are fully compiled to javascript without errors and making code better to look. Take a look at the babylon editor, http://editor.babylonjs.com , it looks pretty cool, but in beta-test probably and I do not know his performance. This is not only on the website, you can download this tool on your pc (but it will work in browser, internet connection not needed). Quote Link to comment Share on other sites More sharing options...
Guest Posted November 10, 2018 Share Posted November 10, 2018 I would say VS code first https://doc.babylonjs.com/how_to/how_to_start Quote Link to comment Share on other sites More sharing options...
jerome Posted November 10, 2018 Share Posted November 10, 2018 I use VS Code on Linux Quote Link to comment Share on other sites More sharing options...
JohnyCage Posted November 10, 2018 Author Share Posted November 10, 2018 I installed Babylon as instructed here: https://doc.babylonjs.com/how_to/how_to_start The problem is that intellisense does not offer help info for the function parameters, see the figure below (I see only ANY - nothing more). How to solve it? Quote Link to comment Share on other sites More sharing options...
jerome Posted November 10, 2018 Share Posted November 10, 2018 if you editor can't find where BJS is on your disc by itself, just add this comment line in your file in the first position /// <reference path='/path/to/Babylon.js/dist/preview release/babylon.d.ts' /> write your own path the babylon.d.ts file then reload your file in VSCode, Intellisense should work JohnyCage 1 Quote Link to comment Share on other sites More sharing options...
JohnyCage Posted November 10, 2018 Author Share Posted November 10, 2018 2 hours ago, jerome said: /// <reference path='/path/to/Babylon.js/dist/preview release/babylon.d.ts' /> Tested but doesnt work. Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted November 10, 2018 Share Posted November 10, 2018 Couple of things: If you are going to develop, I assume your hardware is up to the job. RAM is cheap. Next, probably whatever IDE you are using already. Reason being very low learning curve. Typescript is now available as plug-in all over the place. I have used Eclipse with Python & Typescript plugins. Right now I am using Netbeans, which has a very nice Typescript editor plugin. It also has good html, javascript, NPM & GIT integration. I also write a a python plug-in. What I especially like I can have multiple projects open at once making Blender exporter & loading typescript code in side by side viewing. First thing to check does your current IDE just need a Typescript plugin? Quote Link to comment Share on other sites More sharing options...
jerome Posted November 10, 2018 Share Posted November 10, 2018 I think VS Code knows TS out of the box without any required extension. It's more an issue about how to reference the BJS framework from the user code. Quote Link to comment Share on other sites More sharing options...
JohnyCage Posted November 10, 2018 Author Share Posted November 10, 2018 I'm sending pictures describing my problems. - non-working intellisense of Babylon.js, - non-working compilation by google chrome. Babylon.js folder I have on my desktop. I use the files in the folder: ".vscode" What is wrong, any idea? Quote Link to comment Share on other sites More sharing options...
Guest Posted November 11, 2018 Share Posted November 11, 2018 Well..did you have setup a webserver in your env? Also do you have the babylon.d.ts file somewhere? I don't see them in your capture (but it is pretty blurry so not sure) You must have babylon.js and babylon.d.ts in your folder.\Then add the reference comment like @jerome mentioned (make sure to point to the right path). Quote Link to comment Share on other sites More sharing options...
JohnyCage Posted November 11, 2018 Author Share Posted November 11, 2018 6 hours ago, Deltakosh said: (but it is pretty blurry so not sure) Try double click to enlarge pic for the best quallity. I did my best but intellisense is telling me only "ANY". New pic attached. Quote Link to comment Share on other sites More sharing options...
JohnyCage Posted November 12, 2018 Author Share Posted November 12, 2018 Fixed by putting reference tag to the true position. Quote Link to comment Share on other sites More sharing options...
Guest Posted November 12, 2018 Share Posted November 12, 2018 See? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.