I'm new in at programming world, i'm trying learn about MVC language, through microsoft academy, however, i facing a little issue, when i add a new class, i can't see the "Using " statements, Namespace, or close the class with {} brackets, as you see here My Actual Configuration
I would like change my configurations to this template Correct Configuration
Could you please help me?
Thank you in Advance.
Best Regards.
Related
Years ago I used Visual Studio for Windows and always appreciated the great context sensitive help that tool you directly to the MSDN page for the class/function your cursor was on then you typed F1. I'm not using VS for Mac and I can't find similar functionality. Does it exist?
I did find that Alt-Command-? opens some tool called MonoDoc, but it doesn't seem to be context sensitive and doesn't seem very useful to me as I can't really find the class I'm interested in very easily.
Interestingly, the goto definition functionality (Command-D) works fine, and the resulting source code has documentation in the comments, I just can't find any easy way to see that documentation rendered.
I know I can go to MSDN directly and search there, but that is much less convenient than the context sensitive help that I remember.
I have created a CLR database project and I would like to use httputility.urlencode. However, when I tried to add reference to my project, I could not find system.web any where. I googled and some suggested that I change the framework to full .net 4.0.
However, the problem is I can't deploy it using 4.0 as it was pointed out by microsoft through this link (http://msdn.microsoft.com/en-us/library/dd193408.aspx). So I need to use 3.5. And even if I tried to change it to 4.0 or 3.5 to see if I can find system.web, I still can't see the reference in the list.
My problem is very similar to this one Why can't I find or use UrlEncode in Visual Studio 2010?
All System.Web gives me are: AspNetHostingPermission, AspNetHostingPermissionAttribute, and AspNetHostingPermissionLevel
I followed the suggested solution, but no luck at all. Any suggestion please? Really need your help.
Thanks.
Hello everyone after a long time research. I found a simpler solution to my problem. It may have some limitations that I am not aware of but I think it is much much simpler that creating an assembly in the SQL server. The solution is to create a function for URL encode using this link:
http://sqlblog.com/blogs/peter_debetta/archive/2007/03/09/t-sql-urlencode.aspx
Hope it help others too.
Cheers.
I would like to get an auto-completion on IntelliJ Idea...
I am learning moaiSDK which is based on Lua. I already setup the Lua plugins within Idea and have a working lua environment.
Now I would like to have also the Moai API's on Idea. I see there are HTML docs here: http://getmoai.com/docs/index.html , but having no experience on this field I don't if it's doable and how.
Thanks in advance
Have a read of this Moai post:
http://getmoai.com/forums/moai-sdk-for-intellij-idea-t445
Using plandem's 'moai-api.zip' (includes **) and Sylvanaar2's IntelliJ Lua plugin, you should be able to get what you're looking for.
Happy coding!
Cheers
Rich
I was using IntelliJ with Lua with some autocompletion, but, this just got release and supports MOAI out of the box.
http://studio.zerobrane.com/
So far, its GREAT. I think you gonna enjoy this one better. ;)
This post shows how to configure IntelliJ IDE to do Moai auto-completion ( and more ) in extreme detail.
For some reason, when I create a new view and select 'Create Strongly Typed View', when I try to select a view data class from my project I find that its not in the list?
Classes from all my project's references (external references) are there, but NONE of mine?
I know this can be done manually, but (bloody) visual studio wont allow me to select a page template unless a view data class has been selected. Im sure this is something I have forgetten or changed somewhere by mistake. Hope someone can help!
This is probably a stupid suggestion, but the only time this has happened to me has been when I've created a new ViewModel and tried to create a strongly typed view without building the project first.
I had this exact same issue, could not find the solution anywhere, and i really searched google, read many sites answers/suggestions, but nothing helped me, until i did this below.
Ok, you may have already figured out the answer by now, or even tried what i am about to suggest, but, save project, build project, just to be sure, then close project, then close vs altogether, then RUN VS AS ADMINISTRATOR, then open your project and add view, i bet you can now see the data classes in the View data class drop-down...!
Let me know if this worked for you.
//edit: just fyi, I don't think you would see this behavior in say Windows XP for instance, it must be due to the uac in Vista and 7, so I am assuming you are using one of these two. In my case i am using 7. I may have gotten this totally wrong, pardon me if i did, but it solved this issue for me, thanks.
//another edit: In fact, i think many problems with vs and sqlsrvr are related to permissions in vista and 7... just my thoughts.
Jimbo - again 'stupid suggestion'. but are you checking for the fully qualified name of the project.classname?? So if you're looking for 'Albums' in the class list from the 'zulu' project, you'd have to scroll down to 'zulu.Albums'...
just a thought
I need to close this question as the problem is gone now - the solution?
Install Visual Studio 2010 - sorted :)
If anyone does find out why this happens, please just drop me a comment here and I will re-open the question for a successful answer.
I had similar issue. I try all the suggestions but installing Visual studio seems big process,
Why not try rebuild the solution , then it show all the classes in the project ..Hope it definitely works
For a school project i need to write or use a online programming editor. It is a part of a bigger project. I thought of a java application, php/html/javascript or flash.
I have a couple of things i could do:
Find a good working application and edit it so it works with the rest of the project
Find good parts for a editor and make it working my self (syntax highlighter, auto-indent, autocompletion, etc.)
Combination of those two
Does anybody know a good editor or have tips for this project or a editor?
Thanks for reading,
Leon
For the syntax highlighting and basic editing part, check out my recent question Textarea that can do syntax highlighting on the fly?
Solutions presented there:
CodeMirror
Bespin (Mozilla only, but great)
For the rest - autocompletion etc. - ... Check out the Wikipedia article Comparison of JavaScript-based source code editors
Interested to see what other suggestions come up.
Bespin comes to mind. Though it might be too bleeding edge, depending on how the rest of the project is built/meant to be used (but hey, programmers love bleeding edge).
If you decide to use PHP/HTML/CSS/JavaScript, see GeSHi for syntax highlighting.
I have a side project developed with ACE.
It connects to your server through SFTP and allows you to create new files,read and edit all from your browser with your file tree at sidebar.
Demo at TePe
Code at Github Repo
I found Cobalah Editor it's also built on CodeMirror but with some customization. There are some themes available we can set, increase or decrease font size.