intellisense

Add the current project to the python path with Komodo Edit

我的未来我决定 提交于 2019-12-11 05:15:24
问题 Ive been using komodo edit recently to go through a few django tutorials, and ive been impressed with the level of code completion it provides for the framework. However what i really want it to do is provide code completion for the current project, so in effect my own views, models etc. would work in the same way as the framework itself. Is there a way to temporarily modify the python path on a per project basis to get code completion of my current project? NB: Im not sure whether this is a

why visual studio editor can not find a header file, when compiler can find it

谁都会走 提交于 2019-12-11 04:58:35
问题 I have a visual studio 2012 project. All of the paths are set correctly, and I can compile the project without any problem. While using the Visual Studio IDE, I click on a function or class defined in a header, which is not in the root of source directory, and the IDE can not find it. When I select a header file and ask the IDE to open it, the IDE says that it can not find it. What is the problem and how can I fix it? I tried to reset IntelliSense cache, but there is no refresh menu on edit -

Visual Studio C++/CLI 2010's Intellisense doesn't work; are there alternatives? [duplicate]

不问归期 提交于 2019-12-11 04:17:55
问题 This question already has answers here : Closed 8 years ago . Possible Duplicate: What are people replacing the missing C++/CLI Intellisense in VS 2010 with? I downloaded and installed Visual C++ 2010 Express, today. To my shock and horror, a variable's dot was not followed with anything, an error at the bottom status bar reading: "Intellisense: Unavailable for C++/CLI" So... that being the case, is there an alternative to Intellisense that I can find and use? Other stackoverflow questions

Can I make Visual Studio's code completion window more like Eclipse (Java)?

天大地大妈咪最大 提交于 2019-12-11 03:58:58
问题 Is it possible to make Visual Studio 2010's code completion window more like that of Eclipse (Java)? In particular, I'd love the code completion window to give me a variable's type, and a method's return type and expected parameters, without needing to hover the highlight over that particular variable/method. Here's Eclipse's: VS's code completion's little icons that indicate if something is a property, method etc are useful, but they just aren't enough. 回答1: Unfortunately, there's no built

Linq to Sql Foreign key relationships

白昼怎懂夜的黑 提交于 2019-12-11 03:46:30
问题 Table name: Author AuthorID -> primary key FirstName LastName Table name: Titles ISBN -> primary key BookTitle EditionNumber CopyRight Table name: AuthorISBN ISBN -> foreign key AuthorID -> foreign key How come the below code block below does not trigger the intellisense, since Linq-to-SQL automatically creates properties based on foreign-key relationship? In my case it doesn't... ERROR: The name title does not exist in current context in title.AuthorISBN It's not letting me add a photo, but

Syntax alternatives to casting of dynamic objects

烈酒焚心 提交于 2019-12-11 03:33:20
问题 I have an implementation of DynamicDictionary where all of the entries in the dictionary are of a known type: public class FooClass { public void SomeMethod() { } } dynamic dictionary = new DynamicDictionary<FooClass>(); dictionary.foo = new FooClass(); dictionary.foo2 = new FooClass(); dictionary.foo3 = DateTime.Now; <--throws exception since DateTime is not FooClass What I'd like is to be able to have Visual Studio Intellisense work when referencing a method of one of the dictionary entries

Why is there no intellisense in a CLR/CLI project

元气小坏坏 提交于 2019-12-11 03:27:56
问题 I don't know if I have done anything wrong, but when I try to write code there are no intellisense popups indicating options or errors. I am creating a CLR/CLI type of project with Microsoft's Visual C++ 2010. 回答1: You're not doing anything wrong, Intellisense is not supported in Managed C++ (C++/CLI). There is a long blog post explaining the details at the Visual C++ blog. Edit: Correcting name of the blog as per comment. :) 回答2: See the 2nd comment, in this blog post from May 2009: http:/

Class library lost intellisense in VS2017 after .NET Core MVC auto-migration

社会主义新天地 提交于 2019-12-11 03:24:11
问题 After migrating a VS2015 MVC Core application with two projects (web app and class library) to VS2017 I've lost intellisense on all views within the class library. Pretty much everything in every single view is broken, so I'm sure it's something fairly basic that the migration tool didn't take care of for me. Even the @model directive in each razor view is an error. The csproj looks like this: <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <TargetFramework>netcoreapp1.1</TargetFramework>

Intellisense error when using `__FUNCTIONW__`

﹥>﹥吖頭↗ 提交于 2019-12-11 02:25:29
问题 I am using the __LINE__ , __FILEW__ and __FUNCTIONW__ macros to aid in the writing and implementation of a custom exception class. As is well known, they automatically provide the line number, source-file name and function name of the location in code from where they are called. Also, as I am working exclusively in Unicode I must use the ...W wide character versions of those that expand to a string result. For example: throw CEString(CEString::ERROR_INDEX_OUT_OF_BOUNDS, __LINE__, L"End index

How can i extend the intellisense timeout in VSNET 2012

佐手、 提交于 2019-12-11 02:24:44
问题 Hope the subject line makes it clear. How can i extend the timeout for intellisense appearing in Visual Studio. Most of the times, it so happens that i'm reading a description and the intellisense just fades out when i'm still not done. Is there a place where i can tweak to extend the timeout explicitly. Thanks and Cheers 来源: https://stackoverflow.com/questions/18269687/how-can-i-extend-the-intellisense-timeout-in-vsnet-2012