how to import files from file system to intellij idea projects. Follow
hey there , i am new to this forum and new to intellij idea as well, as i ve been using eclipse and myeclipse for the past two n a half years. But i must confess i am very impressed by the ide , specially the code generating ability of the ide is simply superb and also reasonable on memory resources(myeclipse is becoming more greedy on memory).
now coming back to the subject of this post, i am not able to import the files from my file system to the project environment, such as if i want to get some image files from my directories to the images folder of the project, or say i want to import dojo libraries into the project environment, as simple copy paste doesnt work here. i know its a newbie question but somehow couldnt get around it.
any help would be highly appreciated.
Please sign in to leave a comment.
You just copy the file to one of your source-directories.
IDEA runs some kind of directory-watcher in the background and notices if something changes in one of the source-directories. It then (re)loads the affected files automatically. If you press Ctrl+Alt+F9 (see the main menu - Refresh) you can also force IDEA to do a refresh of the filesystem. It will then check if any files changed (re)loads them if necessary.
Regards
Hans
Thanks for relpying Hans, that did the trick, i didnt even have to refresh the project, it was done automatically.
thanks a lot once again.
For me, this auto-refresh is one of the outstanding differences to Eclipse. Especially if a lot of class-files are generated by some Ant-Script, Eclipse is really annoying because it somehow just doesn't recognize changed files.