Java files outside src dir

Why don't java files show when they are not in the src dir? I often use a directory for sources i used for testing etc. I don't want them in my src dir, but would like to see them in the project tree or commander.

Alexander

0
Avatar
Permanently deleted user

See http://www.intellij.net/tracker/idea/viewSCR?publicId=6736

Why don't java files show when they are not in the
src dir? I often use a directory for sources i used
for testing etc. I don't want them in my src dir, but
would like to see them in the project tree or
commander.

Alexander


0
Avatar
Alexander Broekhuis

Ok, it doesn't work in 818 as said, but that is what I mean :)

0

Well the SCR asks to allow openning them. You can do it via File | Open now.
They are not shown in Project View anyway.

--
Valentin Kipiatkov
JetBrains, Inc
http://www.intellij.com
"Develop with pleasure!"

"Alexander" <jiveadmin@jetbrains.com> wrote in message
news:6245891.1054664128310.JavaMail.jrun@is.intellij.net...

Ok, it doesn't work in 818 as said, but that is what I mean :)



0
Avatar
Alexander Broekhuis

Ah ok, will it be possible to see them in the project view?

0

Ah ok, will it be possible to see them in the project view?


That is discussible. If we would show them is it intuitive that Find
Usages/refactorings/etc will not work for them?

--
Valentin Kipiatkov
JetBrains, Inc
http://www.intellij.com
"Develop with pleasure!"

"Alexander" <jiveadmin@jetbrains.com> wrote in message
news:26894765.1054813626349.JavaMail.jrun@is.intellij.net...

Ah ok, will it be possible to see them in the project view?



0
Avatar
Alexander Broekhuis

I would think so, if the files are important for the project, they should be in the src tree. If they are only for reference or backup refactoring etc shouldn't touch them.

0

I think the most intuitive solution is to show java files outside the source tree as files instead of classes, i.e. with a special icon and labeled 'Xyz.java'. This way it should be very obvious that they aren't treated the same way as classes in the source tree.

0

请先登录再写评论。