Here is a typical front-end project template:
Try to work with it from Visual Studio and from WebStorm. It will be obvious which features VS projects do currently miss.
A few problems with Website project type:
- It adds a suffix to project name, something like "App(22)", no way to rename it.
- It doesn't have npm / bower / grunt tooling (similar how you manage NuGet packages in C# projects)
- No way to define where you have source code, tests etc, which 3rd party libraries should be available as references (for IntelliSence) in which parts of your code.
- Website project settings are completely irrelevant for typical front-end apps (see yeoman templates)
For complete list of features which would be nice to have in Visual Studio see WebStorm IDE, which is currently better suited for working on front-end projects.
Hi Supporters for this suggestion
I’m pleased to report that there’s a free new extension by my colleague Justin Clareburt that provides what you’re asking for, along with a host of other useful commands:
Please check it out and review.
Program Manager, Visual Studio IDE Team
@BK, how would you explain the fact that this feature in ReSharper has lots of funs and many other code editors have it as well for the same reason - usability?
@Adam, I don't think toggling comments functionality works the way you described, rather it works like this - if there are any comment in a selected block they are removed, if not, the block is commented out.
@Jon, schroedl commented about assigning a custom shortcut to an existing command. But, in visual studio there is no such functionality as toggling comments (one command for both commenting and uncommenting). That's the problem!
@schroedl there are no an existing command in Visual Studio for toggling comments (one command for comment/uncomment). Currently you should either use ReSharper for that, or implement a custom macros which will be at least 50 lines of code long (if you need to make it work with different types of comments / files: .css, .cs, .html, .cshtml etc.)
@Adam "...plus you get individual control over whether or not you want to comment or uncomment" Can you describe a scenario where you personally get an advantage of such control?
For me not being able to toggle comments with a simple shortcut looks kinda strange since most other editors have this functionality by default.