problem about intellisense-Collection of common programming errors


  • Arnold Zokas
    c# .net documentation intellisense
    I am currently writing a small framework that will be used internally by other developers within the company.I want to provide good Intellisense information, but I am not sure how to document thrown exceptions.In the following example:public void MyMethod1() {MyMethod2();// also may throw InvalidOperationException }public void MyMethod2() {System.IO.File.Open(somepath…); // this may throw FileNotFoundException// also may throw DivideByZeroException }I know the markup for documenting exceptions

  • DenaliHardtail
    visual-studio-2010 intellisense
    I installed the RC of VS2010 side-by-side with VS2008 SP1. VS2010 Intellisense appears to be broken, or at least not functioning as expected. I can only get intellisense if I hit CTRL + spacebar. Then after selecting the memebr from the intellisense list, hit the period again, and then CTRL + space again.If intellisense broken or just turned off? How do I fix it?Update #1 – I do have Resharper 4.5 installed on VS2008.UPDATE #2 – I installed the hot fix. No go. Then, I looked at the options under

  • iBiryukov
    intellisense zend-studio
    The intellisense feature in zend studio 7 just stopped working.I do as usual -> Start typing, hit ctrl+space and the suggestions pop up is empty. It just happened out of blue. No hard eclipse restarts, no crashes!Anyone got any thoughts? Thanks

  • Schiavini
    asp.net visual-studio-2010 .net-4.0 intellisense globalization
    Since we implemented globalization in our ASP.net website, we are getting some intellisense problems.When the resource is added to an asp.net control, we receive errors. Even though the error is shown in visual studio, the application works!For example, the following button<asp:Button runat=”server” ID=”BtnSave” Text=”<%$ Resources:ResourceName, Save %>” OnClick=”BtnSave_Click” />Is not recognized in the code behind:The error is only shown when the code behind is open. But in the bro

  • Paul
    c# visual-studio-2010 intellisense
    I installed VS2010 on my Windows 7 x64… The patch to fix Intellisense as well (http://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=26662)…But my C# Intellisense doesn´t work… It doesn´t crash, but nothing happens when I typing… Just if I press a Ctrl+Backspace it appears…In my Javascript file the Intellisense is working fine…Any idea?Thanks

  • devoured elysium
    c# visual-studio visual-studio-2010 intellisense
    Every time I try to write something, IntelliSense freezes Visual Studio and I have to wait like 2 minutes for it to show code completion list. The only way I can work with is turning it completly off. **`I’ve already installed the last IntelliSense patch from Microsoft but the problem doesn’t seem to have gotten any better.Anyone had the same issue or knows what might be the problem? I’m using C#. I have a freshly installed version of Visual Studio 2010 RC, with no ReSharper, on a clean formated

  • Justin
    c++ visual-studio visual-studio-2005 intellisense
    UPDATE1: I have reinstalled Visual Studio and I am still having this problem. My guess is there is a problem with my environment.Update2: Diving in. I attached windbg to devenv and set a breakpoint in windbg for msenv!_tailMerge_WINMM_dll and traced through. This is trying to load winmm.dll using the LoadLibrary API. I can see that LoadLibrary is failing and GetLastError is returning 5 which is “access denied”.now, why would vs be denied access to winmm.dll?—Begin Original—I am currently ha

  • Steven V
    visual-studio-2012 text intellisense copy-paste hang
    I’m trying to paste a large text file that is pre-parsed to fit in an array declarationpublic static void Items[] test = new Items[] {//Large text goes herenew Items(“Text”, “Text”) };When I paste this text, which is about 70K lines, VS2012 just crashes. It’s probably still working in the background, but I’d rather not wait.I think the best solution would be to temporarily disable Intellisense before pasting, but then what happens when it’s turned back on? And how do I disable it in the first pl

  • TWith2Sugars
    visual-studio-2008 linq intellisense
    Currently I’m using Visual Studio 2008 (SP1) and developing some code that uses nested LINQ statements. How ever with every level of nesting the intellisense performance drops considerably to the point where it become unusable.Has anyone else experienced something similar or found a solution to this problem?Cheers for any help TonyUpdate We use resharper, I’ve change the intellisense back to visual studio and the same thing happens.I don’t have the exact code with me but its something along the

  • Jekke
    visual-studio crash intellisense
    In my work environment, Visual Studio currently crashes every time I start our main project unless I delete the .suo (solution options) and .ncb (C++ Intellisense symbols) files.Obviously, I’ve found a workaround. Is there a more permanent solution than this?

  • Edd
    visual-studio-2010 crash intellisense
    I try to write something in the .cs file, or in the .aspx file at a moment when the intellisesnse comes in, the environment freezes, not responding for a while, 30 to 60 sec.. witch is very annoying because i can’t write my code.This is happening when i write C# code, when i write html tags, when i write JQuery code.. I did the latest updates to VS … SP1, i disabled advanced features for intellisense.. but still i can’t fight this one :)My configuration: Intel Dual Core, 4GB RAM, 1GB HD Video

  • Michael Itzoe
    visual-studio-2010 crash intellisense
    Many times when I’m editing a .aspx file and type CssClass=, the Visual Studio IDE hangs then crashes with option to restart. Clearly this is happening while VS is trying to populate the Intellisense with available classes. Nine times out of ten I already know what class I want. Is there a way to disable Intellisense just on CSS classes? Or is there something else going on?Specs: Windows 7 (basic theme, no Aero), Visual Studio 2010 Professional, Pentium 4 2.4 GHz, 2GB RAM

  • Yan Sklyarenko
    visual-studio-2010 editor crash intellisense
    I have been using VS2010 for a few weeks but for the past few days it has been totally unusable, when i type anything into the editor Visual Studio throws an exception, then I get lots of intellisence errors (the code is fine, I can compile it if I run before trying to use the editor) – here is the log message:<entry><record>241</record><time>2011/01/25 08:30:34.109</time><type>Error</type><source>Editor or Editor Extension</source><descri

  • dawoodman71
    android eclipse listview intellisense
    The intellisense does not show smoothScrollToPosition and when I put it in I get an error stating that “The method smoothScrollToPosition(int) is undefined for the type ListView”.Here is my implementation:public void onItemClick(AdapterView<?> adapterView, View view, int index, long id) {debug(“item “+index+” clicked”);listView.smoothScrollToPosition(index); }I have API 8 and 16 installed via SDK Manager in Eclipse and I am targeting APIs 8-16.In an attempt to work around this issue I crea

  • The Communist Duck
    visual-studio visual-studio-2010 intellisense performance lag
    I have the issue with Visual Studio 2010, after a while, running exceptionally slowly and slowing everything else down with it. I’m meaning:Most other open windows become unresponsive Typing is delayed Build times increase 10-fold Saving takes foreverI am sure this is an Intellisense issue; disabling it solves everything, and when this happens in Task Manager I find a couple of vcpkgsrv.exe (the Intellisense thing) running at about 160,000K memory (This is about the same as an older, less graphi

  • GetOutOfBox
    c++ visual-studio-2010 parsing intellisense
    So I’m using Visual Studio 2010, specifically the C++ packages. Everything’s been great, with the exception of Intellisense. It is a wonderfully useful tool, when it works properly (which it usually does). However, it has this annoying quirk where every now and then, after editing a file, it completely craps out and flags random things as errors, when I’m sure they, and the rest of the file are 100% valid, no nonsense code.The problem seems to lie with Intellisense’s parser, as most of the error

  • David Boike
    javascript visual-studio intellisense
    Right off the bat, this is not your standard “I can’t get javascript IntelliSense to work in Visual Studio.” For the record:I’m using Visual Studio 2008 I have installed SP 1 I have installed the hotfix for -vsdoc.js documentation files KB958502I am developing a suite of interrelated jQuery plugins to be packaged as resources in a class library. So within a directory, I have (as an example):jquery-vsdoc.js core.js plug1.js plug2.jsIn core.js, I have the following at the top of the file:/// <

  • sepideh
    c++ visual-studio-2010 system intellisense identifier
    Can anyone help me what is the problem? I’m really confused. I just started a new win32 console application in VS2010 and and set the Additional options property to precompiled headerin the upcoming wizard. based on one of my previous questions at first I desided to change the main function to this form: int main(int argc, char* argv[]) and also I changed the Character Set property of the project to Use Multi-Byte Character Set but writing the code: system(“pause”); will produce these two e

  • Scottie
    jquery razor intellisense
    It seems as though there is a bug either in Razor or in MVC. Given the following code:@* This is necessary to get the jQuery intellisense. It won’t be rendered to the HTML *@ @if (false) { <script src=”../../Scripts/jquery-1.7.1-vsdoc.js” type=”text/javascript”></script> }<script> $(). <- This has intellisense@* Comment *@ $(). <- This does not have intellisense </script>As you can see, anything after a Razor comment does not have the jQuery intellisense. In

  • Mehrdad
    visual-studio visual-studio-2008 visual-c++ intellisense
    Does anyone know why Visual Studio 2008’s Intellisense is acting funny?If I say BEGIN_MSG_MAP, I get this: If I say BEGIN_MSG_MAP_FOO, I get this: Either way, the macros are all undefined, so what’s the deal?And nope, I am not using Force Include anywhere, so this is the actual entire source file — there’s virtually nothing defined, as shown below:

  • user1334896
    c++ visual-studio visual-c++ intellisense
    Intellisense is broken with this code, everything is undefined to Intellisense from tree header:#include “tree.h” #include <iostream> #include <ctime> #include <string> #include <list>But when I move my own bst implementation header file down a bit, Intellisense starts working again.#include <iostream> #include <ctime> #include <string> #include <list> #include “tree.h”Why is this?

  • rakkarage
    c++ visual-studio visual-c++ intellisense
    template <typename T> class Test {friend Test<T> & operator * (T lhs, const Test<T> & rhs) {Test<T> r(rhs); // return r *= lhs;} }4 IntelliSense: identifier “T” is undefinedwhy is T defined on line 3 but not line 4? i mean i guess its not a real error just an intellisense error… it works anyway but is there something wrong? can i fix it? or remove the red squiggles somehow?thanksi am using visual studio 2010… i wonder if this happens in other versions

  • Peter Mortensen
    intellisense visual-studio-2008-sp1 jquery vsdoc
    /// &lt;reference path=”jquery-1.5.vsdoc.js” /> // IntelliSense works here.function ($, window, document, undefined) { /// &lt;param name=”$” type=”jQuery” />// IntelliSense does not work here.}(jQuery, this, document);Is there a workaround for Visual Studio 2008? The SP1 hotfix has been applied and is the reason the IntelliSense works outside of the no-conflict wrapper but, inside, no bueno. Some have said to add the param annotation but, alas, that doesn’t work either for me.

  • Scott????
    visual-studio-2010 visual-c++ intellisense makefile-project
    i have a makefile project which can build successfully, but i got a lot of IntelliSense errors like:117 IntelliSense: identifier “iInt32” is undefined d:\project\tjlpad\cpptest\lxn\xmlxn.h 242how to config VS2010 to make it can find the code???–i’m working on a super old (and not very good) program, which is using VIM&VC++6, i’m trying to use VS2010 to do my development work.

  • Danny
    visual-studio-2008 sharepoint intellisense
    I am working with a project generated by the VS2008 Sharepoint template (VSeWSS). Currently, when working in the ASCX files that I have, IntelliSense does not recognize the imported namespaces. I’m uncertain what to do to address this. Note: Per edit below, importing SharePoint.WebPartPages works fine, it’s just SharePoint.WebControls that doesn’t.The project does build without error and deploys correctly. Removing the <%@Register Tagprefix=”SharePoint”… line results in the expected “Unknow

  • Todd Stout
    vb.net visual-studio intellisense
    For me, developing for the Java ecosystem payed the bills for many years. However, for several years now, I have been working primarily in the .Net space. Initially, my transition into the .Net world consisted of writing and maintaining VB.Net code. VS provided almost all of the nice intellisense support I came to expect after years of working with the Eclipse/Java combo. Eventually my employer decided to do new development in C#. My initial impression of the intellisense support for C# was

  • MZB
    visual-studio-2008 unit-testing intellisense
    I have a Visual Studio 2008 solution which builds a C# class library (Project X) and C# Windows Application (Project Y). In the unit test project for the C# class library (XTEST) , Intellisense works as expected and auto-completes the names of classes etc.In the unit test project for the windows application (YTEST), Intellisense has stopped working and only auto-completes with the names of accessor classes, not the names of actual classes. Intellisense also reports lots of class names as being u