15

How do you create javascript project in Netbeans?

There is no such language category.

5 Answers 5

8

The JavaScript project type was removed because it's essentially superfluous. Even in a non-JavaScript project, NetBeans will still recognize any JavaScript libraries that you add, and code completion should still work automatically.

Reference: http://forums.netbeans.org/ptopic14084.html

Sign up to request clarification or add additional context in comments.

Comments

6

Can you simply create a PHP project for example and then delete everything related to PHP? ;)

You can simply leave your .js and any other files you need (.html?).

3 Comments

Yeah..feels so ugly to do like this :)
Yeah, you may feel a bit dirty afterwards, but it will wear off! ;-)
I don't like this solution, because I'm trying to do node.js projects nowadays, and they aren't related to PHP at all... the node.js plugins are sparse right now
3

There is a node js plugin which has a javascript project type for that.

There is also the adhoc project plugin which will let you treat any folder as a project for purposes of opening files (no "run" support).

Comments

1

Since 8.1 (?):

enter image description here

​​​

Comments

0

It looks like you can choose "Java Web" for the category and "Web Free-Form Application". I had to provide it with a dummy "build script", but that was the worst hack.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.