0

I want to start a HTML5 project from existing sources in NetBeans 7.4.

The folder with my code looks like this:

myproject
    |-- public_html
           |-- css
           |-- somethingelse
    |-- sass
    |-- somethingelse

When I create my project I select myproject as the sources folder and then I select public-html as the site root folder... The problem is that NetBeans is only showing the content of public-html, so I can't access the sass folder...

Possible workarounds include making myproject as the site root folder, or create a PHP project instead of HTML5, but I guess there should be a way to do it properly...

1 Answer 1

2

That's the specified behavior, show only content of site root folder in Site Root node, test folder (in Test files node) and config folder (under Configuration files node). Either you can change site root or in NetBeans switch to Files view (next to Projects where you see the site root) where are all files/folders in project root. So you will see sass, etc...

Note one thing though, NetBeans scan files in Site Root, test folder and config folder. Sometimes it could be useful to "hide" stuff outside of site root to speed up scanning (code completion etc... - if you e.g. have some NodeJS modules for GruntJS you can have them outside of site root) and also hide possible errors coming from them (for instance if some JavaScript framework uses invalid syntax which is however possible with given framework- could happen with some NodeJS modules )

1
  • ok, fair enough. I think I can sort it out using the Files tab, I didn´t realise that... thanx!
    – MikO
    Feb 20, 2014 at 22:35

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.