intellisense

C++ Formatting like Visual Studio C# formatting

纵然是瞬间 提交于 2019-12-05 00:55:05
I like the way Visual Studio (2008) formats C# code; unfortunately it seems it doesn't behave in the same way when writing C++ code. For example, when I write a code in this way: class Test { public: int x; Test() {this->x=20;} ~Test(){} }; in C# (ok this is C++ but you can understand what I mean), this part: Test() {this->x=20;} Will become: Test() { this->x=20; } This is obviously a stupid example, but there are a lot of things where putting brackets in correct position, indenting code and other things with my own hands becomes boring. I can obviously change editor if you suggest me a good

C# Class Library method summaries not showing in intellisense of vb.net project

随声附和 提交于 2019-12-05 00:54:29
(VS 2008) I'm using a C# library for my VB.NET project. And the method summary/notes or what they are called do not show in intellisense. Is this supposed to be like that? Or is there something I must do to fix it? And if not, will VS 2010 be able to do this? EDIT: Still unresolved. Now building library dll + xml file, but how to import the xml file in my vb project? See image: http://i52.tinypic.com/25kh5xw.png In C# library, go to the properties on the build tab, and check the checkbox for including XML documentation and specify the name and path. After that include the new library in your

How to get intellisense for custom created classes?

筅森魡賤 提交于 2019-12-05 00:42:12
When you type "this." , you usually get all the routines, events, and more... of the current class you are in. And when you simply stand over one of the routines in the long list without choosing one, you usually get a description next to it. How can I do that ? Let assume I have a class called CAR with two routines: speed_up(), and brake(). How can I make the person using my class to see a description of the two functions when he types: CAR mycar = new CAR(); mycar. Above a class or a method, rather than a "//" comment. if you do a "///" triple slash ( otherwise known as an XML comment ), it

Intellisense for dynamic languages

吃可爱长大的小学妹 提交于 2019-12-04 23:50:38
问题 I am looking for various approaches for supporting some level of intellisense on a dynamically typed language. Since intellisense information is based on type information, there are inherent difficulties in implementing this for dynamic languages. Do you know any algorithms or methods to implement it? 回答1: You need to write an abstract interpreter that executes the code with type values. So you step with your abstract interpreter trough the AST and record for each variable the sent messages

How do I add intellisense to my application?

别来无恙 提交于 2019-12-04 19:32:39
问题 We have a proprietary macro language in one of our products, edited through our Windows software. I would like to add intellisense, but I have no idea how to go about this (at least not without completely reinventing the wheel). Is there any sample code or 3rd party package that can at least get me started? It doesn't have to be free. The application uses .NET, written in C#. 回答1: There is a CodeProject article about adding intellisense to your own applications: DIY Intellisense It should

Why do AngularJS directives (attributes, etc.) show up as “invalid” in WebStorm 8?

别等时光非礼了梦想. 提交于 2019-12-04 18:39:30
问题 I just installed WebStorm 8 a couple of hours ago. I've been writing some AngularJS stuff, and I have a rather annoying little problem. The AngularJS plugin seems to work partially, whenever I type ng- I get an intellisense popup that shows all the various ng-* attributes. However, that's where things stop working. I do not seem to be getting the more advanced intellisense capabilities in either .js files or .html files. If I create an angular module called "app" inside app.js, then "app"

syntactic and semantic code completion framework written in C++

心已入冬 提交于 2019-12-04 17:17:44
This question is more precise than my previous one: General code completion framework written in C/C++ . I did not specify it enough to get answers I really need. I want to add to my IDE the "Intellisense" code completion. I would love to have a library in C/C++/C++11, that could work as syntactic and symantic code completion tool and be general, not single language specific (I want to write completion for Java, C++ and in the future for C#, Python and Javascript). It would be good if this solution would not be one language centric - it should be general and scalable across languages. (I have

Intellisense for XAML Files (Xamarin.Forms)

假装没事ソ 提交于 2019-12-04 17:17:07
In Visual Studio 15, how do I get XAML Intellisense working for XAML files in Xamarin.Forms? Edit: Split answer from the question This solution was found on this forum by dzCepheus. To resolve the problem, append the following 2 lines of code to the bottom of catalog.xml , which should be located at C:\Program Files (x86)\Microsoft Visual Studio 14.0\Xml\Schemas (this depends on your local installation directory for visual studio). The two lines of code being: <Schema href="%VsInstallDir%/xml/schemas/xaml2006.xsd" targetNamespace="http://schemas.microsoft.com/winfx/2006/xaml/presentation" />

VS2010 Intellisense problems

旧巷老猫 提交于 2019-12-04 16:52:04
This question actually is an implicit answer, since I could fix the problem in the meantime for myself. But I wanted to publish my experience, since some other developers might have a similar problems. The problem: I am using VS2010 prof SP1 on Windows XP SP3, pure C++ only. (AntiVirus software present). Since some days Intellisense - which is quite helpful under normal conditions - does not work anymore. Things tried: created a new simple console application. -> Intellisense still not working. resetting VS-Settings by means of Tools/Import & Export Settings/Reset. -> Intellisense still not

Visual Studio 2010 Extensions

隐身守侯 提交于 2019-12-04 16:33:48
I'm writing my own abstract extension for Visual Studio 2010, it makes similary functionality as Ook Language Integration . I have a question, is it possibly to mix my own AutoCompletion with standart C++ autocompletion of VS? How to do it? Is in need to use libraries of VS and call some methods? This is a very good example about adding features to C# intellisense. First of all you should capture the completionSession and use it. Like this snippet, but in C++ [Export(typeof(IIntellisensePresenterProvider))] [ContentType("text")] [Order(Before = "Default Completion Presenter")] [Name("Object