Project
ReSharper
Priority
Major
Type
Feature
Fix versions
6.0
State
Fixed
Assignee
Kirill Skrygan
Subsystem
Navigation
Affected versions
No Affected versions
Fixed in build
6.1.0.1427  
  • Created by   Andrew Rimmer
    2 years ago (13 Mar 2009 16:13)
  • Updated by   Andrew Serebryansky
    6 months ago (13 Jul 2011 21:17)
  • Jira: RSRP-98420
    (history, comments)
 
RSRP-98420 Go to file - allow the inclusion of a folder name
2
Issue is visible to: All Users
  The issue is visible to the selected user group only
With ASP.NET MVC, by convention, you end up having a lot files/views with the same name but in a different folder. The convention is to store views in a folder named after the Controller. In my medium project I have 10s of Index.aspx files and 10s of Edit.aspx files. It is a real pain when you want to go a file.

If you could allow entering folder names into "Go to file" then you could prefix the file you want with the controller/folder name.

You would type "Page/Index.aspx" to jump to the Index.aspx in the page directory. The code completion could kick in after the slash is typed (as Resharper would then know a folder name was being used). OR for full code completion you could add a new command that code completes on folder/file from the

The file structure could

Home
  • Index.aspx
Account
  • Index.aspx
Community
  • Index.aspx
Session
  • Index.aspx
Page
  • Index.aspx
Search
  • Index.aspx
Comments (0)
 
History
 
Linked Issues (?)
 
TeamCity Changes (0)
 
Issue has no comments