code-completion

Word / Code Completion in VIM

陌路散爱 提交于 2019-12-02 21:07:49
I know that I can get word completion through CTRL+N & CTRL+P and code completion through omnifunc with CTRL+X CTRL+O . I additionally tried Supertab (very nice), because I'm used to TAB-completion. That all worked all right. I would like to see possible matches while I'm typing, so I also tried autocomplpop.vim , witch does just that. What I like to accomplish though, would be a combination of both together with a little twist: I would like to see suggestions pop up as I type (just like with autocompop ) but when I use TAB the word should be expanded only to the largest common match : foo bar

XCode 5: Is there any way to group/filter/sort what shows up in code-completion?

ε祈祈猫儿з 提交于 2019-12-02 20:09:59
For a very simple object like this: @interface MyObject : NSObject @property(strong) NSObject* thingAboutMyObject; - (void) aThingToDo; - (void) moreToDo; - (void) yetAnotherAction; @end Someone working with MyObject gets code completion which includes all of the methods and properties from NSObject. It makes sense why this happens, but for a majority of cases, the methods I care most about are in the class itself. I'd like to know if there is a way, when creating a class, to hint to the xcode IDE that you want to 'highlight' the actual interface when working with objects of the class. I've

Has anyone found a good set of python plugins for vim — specifically module completion?

久未见 提交于 2019-12-02 15:38:01
I'm looking for a suite of plugins that can help me finally switch over to vim full-time. Right now I'm using Komodo with some good success, but their vim bindings have enough little errors that I'm tired of it. What I do love in Komodo, though, is the code completion. So, here's what I'm looking for (ordered by importance). Code completion, meaning: the ability to code complete modules/functions/etc. in any module that's on the pythonpath, not just system modules . Bonus points for showing docstrings when completing. Jump-to a class definition. I'm guessing CTAGS will do this, so how do you

Vim's autocomplete is excruciatingly slow

假装没事ソ 提交于 2019-12-02 14:06:20
Most of the time the autocomplete feature in Vim works nicely for me, but sometimes it seems to be scanning files which the current file references, and then it becomes painfully slow, sometimes taking several seconds to release focus back to me. Sometimes Vim tells me simply that it is "Scanning" other times, it's saying "Scanning tags" I've only this happen in Ruby files, and it happens mostly when there is a require in the file. My guess would be that this is some kind of feature which checks related files for autocomplete options, but I don't really need that, and would prefer quicker

Eclipse won't autocomplete bean methods in EL when I use javax.annotation.ManagedBean

感情迁移 提交于 2019-12-02 07:07:46
问题 I created an application using JSF and Spring and I used the annotations @repository, @service @component and @autowired but when I am coding the Facelet file the beans cannot show up, can any one help me faces-config.xml: <?xml version="1.0" encoding="utf-8"?> <faces-config xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd" version="2.0

Eclipse won't autocomplete bean methods in EL when I use javax.annotation.ManagedBean

混江龙づ霸主 提交于 2019-12-02 06:40:07
I created an application using JSF and Spring and I used the annotations @repository, @service @component and @autowired but when I am coding the Facelet file the beans cannot show up, can any one help me faces-config.xml: <?xml version="1.0" encoding="utf-8"?> <faces-config xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd" version="2.0"> <application> <el-resolver>org.springframework.web.jsf.el.SpringBeanFacesELResolver</el-resolver>

Reset/fix Xcode 4.5 code completion

不问归期 提交于 2019-12-01 22:19:12
问题 One of the new "features" in Xcode 4.5 was supposed to be vastly improved code completion. It was supposed to learn what you type regularly and provide these more frequently as options for code completion. However, for me this isn't working at all. One of the famously bad code completion words is NSString. When I type it I get... NS - NSAddedPersistentStoresKey NSS - NSSaveChangesRequest NSSt - NSStoreModelVersionHashesKey NSStr - NSStream NSStri - NSStrikethroughStyleAttributeName NSStrin -

code completion not working in snippet VS Code

放肆的年华 提交于 2019-12-01 20:51:23
So when I create a class for example in visual studio code, I can do it all manual and then code completion works just fine see image below: So in the image above I have typed all the code so far by hand NOT using any snippets. But in the image below I created the class using a snipped see image below: But When I fill in the required fields from the snippet code completion is not working. See image below: So my question really is how do I get code completion / suggestions to work inside of the fields of a snippet? Or is this not possible in vscode? If any clarification or extra information is

Reset/fix Xcode 4.5 code completion

无人久伴 提交于 2019-12-01 19:33:37
One of the new "features" in Xcode 4.5 was supposed to be vastly improved code completion. It was supposed to learn what you type regularly and provide these more frequently as options for code completion. However, for me this isn't working at all. One of the famously bad code completion words is NSString. When I type it I get... NS - NSAddedPersistentStoresKey NSS - NSSaveChangesRequest NSSt - NSStoreModelVersionHashesKey NSStr - NSStream NSStri - NSStrikethroughStyleAttributeName NSStrin - NSString I have never used any of the other suggestions given and most of them I'm not actually sure

Is there an Eclipse C# Highlight, Code Completion plugin

假如想象 提交于 2019-12-01 16:09:05
I need an Eclipse 3 plugin for C# syntax highlight and hopefully code completion. I am running both Mac and Windows versions of Eclipse. I have evaluated "Improve C#" but it seems to be not working. Have a look at Emonic . It is an Eclipse plug-in which allows you to build C# programs with Mono or Microsoft .NET. 来源: https://stackoverflow.com/questions/2952973/is-there-an-eclipse-c-sharp-highlight-code-completion-plugin