Preferred IDE and autocomplete

For developers using the Construct 2 Javascript SDK

Post » Fri Feb 07, 2014 6:55 am

Hi,

I'd like to explore Javascript programming to better interconnect a quiz game i am working on with a database.

Is there a IDE that is a good match for developing plugins. Also, is there a way to get autocomplete working with working with C2 API objects, so one can learn more quickly what functions are available.

Finally, (if i am already at it) can a plugin be loaded automatically for the whole project, once installed. Thats a feature i probably need to get database interconnection working.

thank you,

Dan
B
8
S
4
G
1
Posts: 205
Reputation: 1,354

Post » Fri Feb 07, 2014 6:23 pm

Any good IDE for javascript should work for you. It is really a matter of preference, here is an article covering some of them, though the IDE itself won't make you a better javascript programmer, you still need to know the language well in order to take advantage of any of the IDE's...

Infoworld JavaScript IDE comparison
B
49
S
12
G
10
Posts: 1,833
Reputation: 14,583

Post » Fri Feb 07, 2014 6:38 pm

Notepad++ does the trick for me. It has word autocompletion which is pretty good by itself - IDEs with proper autocomplete like Visual Studio still have a hard time inferring which objects you're using because it's an untyped language.
Scirra Founder
B
397
S
236
G
88
Posts: 24,422
Reputation: 194,558

Post » Sat Feb 08, 2014 5:31 am

B
47
S
14
G
7
Posts: 603
Reputation: 8,141

Post » Sat Feb 08, 2014 3:35 pm

Personally I'm also using Notepad++. Some will prefer Sublime Text 2.
If you have FlashDevelop installed for one of purposes, it provides similar functionality, providing syntax highlighting and word completion.
Otherwise, Visual Studio is pretty much a king among the free tools in terms of amount of intellisense it grants.
WebStorm is also good enough, but costs money (possibly making it less interesting target if you're after making a single plugin for now).YellowAfterlife2014-02-08 15:36:11
ImageImageImage
B
9
S
2
G
1
Posts: 25
Reputation: 5,056

Post » Sat Feb 08, 2014 4:57 pm

Thank you for all the responses.

I am pretty new to JavaScript. The template files don't seem to refer to the base "construct 2 API" library. I was thinking that a reference to the library would be needed to get in an IDE auto-complete working for construct 2 API objects, methods and properties.

Is this how you guys work?

thanks,

Dan
B
8
S
4
G
1
Posts: 205
Reputation: 1,354

Post » Sat Feb 08, 2014 5:11 pm

Netbeans
Who dares wins
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,572


Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 1 guest