When we have project items nested under a _file_ in MVC project, their ContentType are classified as unknown item. Further investigation suggests; they are treated as rather differently than the regular 'unknown items':
- Can't rename files: the Rename menu item is missing.
- The file icon is that of unknown files.
- If a ContentType is handled with EditorExtension; say `IDropHandlerProvider`, it doesn't trigger the event handlers when the file with that content-type is nested under some other file type.
We have recently implemented sprite image maps; which are nested under sprite image along with `.less`, `.sass` and `.css` samples. We also have a built-in compiler support for LESS and SASS `ContentType`s which doesn't work for nested items in MVC project.
In case of Web, NodeJs and other project types, we don't have such issue with nested items.
More details on this can be found on [the bug reported in Web Essentials repo @github](https://github.com/madskristensen/WebEssentials2013/issues/486).
Comments: Hey @TheDeeds and thanks for reporting this issue. Unfortunately this is not where we track VS editing experience. This repo is purely to track the MVC runtime. I've forwarded this report to the VS team (but unfortunately for you to track it, you will have to open a connect bug). Mads is on that team, so hopefully he will see both reports.
- Can't rename files: the Rename menu item is missing.
- The file icon is that of unknown files.
- If a ContentType is handled with EditorExtension; say `IDropHandlerProvider`, it doesn't trigger the event handlers when the file with that content-type is nested under some other file type.
We have recently implemented sprite image maps; which are nested under sprite image along with `.less`, `.sass` and `.css` samples. We also have a built-in compiler support for LESS and SASS `ContentType`s which doesn't work for nested items in MVC project.
In case of Web, NodeJs and other project types, we don't have such issue with nested items.
More details on this can be found on [the bug reported in Web Essentials repo @github](https://github.com/madskristensen/WebEssentials2013/issues/486).
Comments: Hey @TheDeeds and thanks for reporting this issue. Unfortunately this is not where we track VS editing experience. This repo is purely to track the MVC runtime. I've forwarded this report to the VS team (but unfortunately for you to track it, you will have to open a connect bug). Mads is on that team, so hopefully he will see both reports.