NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Code Explorer - new files showing up wrong


Joined: 25 Jul 2006
Posts: 28
Location: Germany
Reply with quote
Good morning Dmitrie,

in 4619 I'm having a little trouble with the "Code Explorer" and "Project Tree" display:

I have my usual workplace open and see all directories and files nicely sorted in the Code Explorer as it should be.
Then I created a new php file (Ctrl+N), added some code and saved it into a directory that is also showing inside the "Code Explorer" tree. The file is used as an include file and is referenced with "include()" in one of the project's php programs.

Unfortunately the new file always shows up at the root level of the tree (at the bottom) and NOT in that directory where I put it in.
Even restart and/or multiple "Refreshs" don't "move" the new file into the correct directory branch.
Manually dragging it into the correct branch within the Code Explorer tree was just an idea. Smile

How does the Code Explorer determine to position a file in a (sub-)directory or not?

Please help, thank you.

Cheers,
Tobias
View user's profileFind all posts by condev1972Send private messageVisit poster's website


Joined: 25 Jul 2006
Posts: 28
Location: Germany
Reply with quote
Some more hints: the "Refresh" item in the "Code Explorer" context menu did not change the display.
When I changed the paths of the "Project" settings phpEd did rescan everything and now the file is shown within the correct directory.
Maybe this helps to fix it. Smile
Regards,
Tobias
View user's profileFind all posts by condev1972Send private messageVisit poster's website
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Just tried in 4620 and can't replicate this problem.
Could you please confirm that you still can/cannot replicate it with this build installed?
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 25 Jul 2006
Posts: 28
Location: Germany
Reply with quote
ddmitrie wrote:
Just tried in 4620 and can't replicate this problem.
Could you please confirm that you still can/cannot replicate it with this build installed?


Oh, haven't received the update email yet (or it landed in
my spam folder on the server - what shouldn't happen) ...
I'll try later today for sure, thanks a lot!
View user's profileFind all posts by condev1972Send private messageVisit poster's website


Joined: 25 Jul 2006
Posts: 28
Location: Germany
Reply with quote
ddmitrie wrote:
Just tried in 4620 and can't replicate this problem.


Hello,

with 4620 I can still reproduce the issue:
I create an empty/new PHP file, save it in a physical directory (which is also
showing in the "Code Explorer") --> the file still shows up at the "root" level of
the "Project Tree" at the bottom of the tree - not in the corresponding
subdirectory branch... Right-click/"Refresh" doesn't "fix" it.

When I wrote the first post here, all 3 above paths were set to e.g. "e:\myweb\prj".
Just for testing I now changed them to the below settings, but problem is still
reproducable:
- Project | "Root directory" = e:\myweb\prj
- Mapping | "Remote root directory" = e:\myweb
- Files | "Code insight includes" = e:\myweb\prj
Are my project paths wrong?

BUT... as soon as I change any path and hit "OK" in the "Project Properties"
dialog, the "Project Tree" refreshes "fully" and correctly shows the file in the
correct branch, whereas the normal "Refresh" of the "Code Explorer", however,
does not work this way.

Possible that the "Save" procedure does not check the target directory of
the new file correctly or similar?

Just a note: I only want to see the above "prj" sub-directory in the "Code Explorer",
not the full web-root directory "e:\myweb" (which is the "htdocs" directory).

Any help & advice appreciated, what am I doing wrong in above?

Thanks in advance,
Tobias
View user's profileFind all posts by condev1972Send private messageVisit poster's website
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
contacted by email
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 25 Jul 2006
Posts: 28
Location: Germany
Reply with quote
ddmitrie wrote:
contacted by email

reply on it's way Very Happy
View user's profileFind all posts by condev1972Send private messageVisit poster's website
Code Explorer - new files showing up wrong
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic