I've got spark intellisense working but when I open the parameters () of the method I can not see what is supposed to go in there and several of the methods have overloads so I can't see what options I have.
For example !{Html.Hidden()} once I open the () I can not see what parameters I am to pass
any ideas?
Found the problem
Resharper interferring with the intellisense.
solution is here http://sparkviewengine.com/usage/intellisense
Related
Is it possible to turn off some suggestions? For example I don't need almost any suggestion for interfaces.
It's annoying so many options and when I write something what's included in HTML something.. and click Tab I get this interface suggestion which I really don't use at all.
Screenshot of wrong suggestion:
VS Code 1.19 solves this with smarter IntelliSense.
In Eclipse, there's a JavaDoc View which would display the JavaDoc of whatever the current or last selected element was. I'm trying to find something similar for C# in Visual Studio 2013, but I'm not seeing anything like is. Does it exist? If so how do I activate it?
Thanks!
There are many applications that can generate MSDN style documentation from your XML comments. Here are a few I have used and they work well
VSdocman:
http://www.helixoft.com/vsdocman/overview.html
SandCastle
http://sandcastle.codeplex.com
I found what I was looking for. In Visual Studio, one would use the "Object Browser" to get something similar to the JavaDoc view. To get to it, View->Object Browser.
It does behave differently than Eclipse's JavaDoc view. Rather than tying the documentation to the cursor in the edit view, the Object Browser has a search box where one could search for the object they wish to view documentation on.
I have updated my resharper version to 2016.2 from 2016.1 (on visual studio 2015),
Suddenly it stops showing some the very often used feature specific to MVC like, hint for add view(which doesn't exists) for a action method in a controller, it is not even highlighting a navigation link for a return View();
Even very less information provided in documentation here
Also it is not highlighting hint error message for missing View file for a action method in controller.
Any hint to solve this issue is appreciated in advance. Problem Image
Expected to work as below (taken from documentation url mentioned above):
After i have written out a function in some package, it's possible to display it's documentation via
ctrl+dot,ctrl+h
Is it possible to view the documentation for each method in the code completion popup, without actually writing the statement out?
No, it's not possible. Also, you're better off opening an issue on the issue tracker https://github.com/DisposaBoy/GoSublime/issues/new . In addition to emailing me, it's fastest way to get in contact with me.
Can anyone tell me what happened to the Html.Serialize function mentioned in the url below.
It's not recognized when I try and use it in a MVC2 web app within Visual Studio 2010.
http://weblogs.asp.net/shijuvarghese/archive/2010/03/06/persisting-model-state-in-asp-net-mvc-using-html-serialize.aspx
EDIT - I'm using visual studio 2010 which comes with mvc2 'built in' when i try and use Html.serialize on a view or partial view it's not appearing in intellisense. Am i missing a reference or something?
It hasn't gone anywhere. It is right there, wherever you are able to use the html extensions. Eg, Views, PartialViews.
For example:
<%= Html.Serialize("wizardData", Model)%>
Are you trying to use it in a controller? To use it as shown in the article you quote, you need to use it in a view.
You see, we really don't know because you haven't given us any detail to work with. Show us some code, and we will move your earth. Well, try to anyway.
I see you are new, so when asking questions, try to give as much detail as possible. You can edit your post, just mark out what you have done. The more context we get, the more we can help.
I found out why! I was having similar problems too.
You need to download ASP.NET 2 Futures and use the DLLs provided there instead of the usual Mvc DLL.
It is implemented in SerializationExtensions class.
It's in the MVCFutures assembly and not part of the out the box MVC framework. You will need to add the package via nuget or manual download and then add a using/imports statement to Microsoft.Web.Mvc before you can use it in your view.