Giter VIP home page Giter VIP logo

Comments (11)

slazyk avatar slazyk commented on September 26, 2024

Reported in #34, both iOS and OS X, lowercase ns, expected NSArray/NSString/..., does not go away.
screen shot 2014-05-02 at 14 49 26
Can be resolved by decreasing Context and increasing Learning parameter (e.g. to 0.25, 0.75).

from fuzzyautocompleteplugin.

wookiee avatar wookiee commented on September 26, 2024

When typing if (to begin an if/else statement), I get these results:
screenshot

from fuzzyautocompleteplugin.

slazyk avatar slazyk commented on September 26, 2024

@wookiee I cannot see neither if nor ifelse on your list. If that is the case, it is not a matter of scoring (as mentioned in the first post).

Please open a separate issue with more details (on when and where in the code it happens) if with plugin disabled you get if and ifelse on the list, and with plugin enabled you don't.

If the if and ifelse are still missing after disabling the plugin (e.g. you get 'No completions') then Xcode does not think you can insert an if statement there. This happens for me when I type if inside [] where it does not make sense. Xcode might also be confused for some reason (e.g. indexing, runaway brace, syntax or other error in the same file). Please confirm wether the issue actually persists.

from fuzzyautocompleteplugin.

jshier avatar jshier commented on September 26, 2024

I see the issue with the literal BOOLs almost always. Usually it's NO that isn't marked appropriately (I've never used NSOSF10OperatingSystem, except perhaps by accident), but sometimes YES gets marked down as well. While I can deal with this fairly easily, it seems to annoy some of my coworkers enough they've stopped using the plugin.

(Weird. As soon as I was done writing this I turned the visible scoring on to see if I could get some better data, and now it completes YES/NO correctly every time. NSOSF10OperatingSystem still scores absurdly high for something that has never been used. Perhaps I've gotten used to manually correcting the BOOL literals and the appropriate values now score higher.)

from fuzzyautocompleteplugin.

haaakon avatar haaakon commented on September 26, 2024

I often have problems writing numbers. In 99% of the cases i just want the number and not a random function that has a number in its name. Suggested fix: Maybe have just the number as the default autocomplete, then functions under it.

screen shot 2015-01-08 at 10 33 59
screen shot 2015-01-08 at 10 32 07
screen shot 2015-01-08 at 10 31 28

screen shot 2015-01-08 at 10 36 55
screen shot 2015-01-08 at 10 36 42

from fuzzyautocompleteplugin.

akolov avatar akolov commented on September 26, 2024

Swift booleans are always a problem, both "true" and "false" get replaced with DYLD_BOOL types "TRUE" and "FALSE"
screen shot 2015-01-22 at 4 45 28 pm

from fuzzyautocompleteplugin.

alem0lars avatar alem0lars commented on September 26, 2024

Same problem of @akolov .. Booleans are really annoying.

Why there aren't language builtins in completions?

Ty ;)

from fuzzyautocompleteplugin.

jshier avatar jshier commented on September 26, 2024

Other Swift issues include parameter names (doesn't seem to recognize that I'm typing a name and tries to complete for everything) and closure capture parameters (same issues). Really annoying to have to escape out of the completion menu.

from fuzzyautocompleteplugin.

alem0lars avatar alem0lars commented on September 26, 2024

Are there any news on this issue (booleans in particular) ?

from fuzzyautocompleteplugin.

slazyk avatar slazyk commented on September 26, 2024

Are you actually missing the Bool true/false from the completion list? Is it also the case with plugin turned off?

Without importing Foundation I get only Bool true and false.
With Foundation I also get (among other things) Int32 true and false, and the DYLD_BOOL uppercase TRUE and FALSE but those loose in terms of scoring with case matching lowercase versions (unless I actually type it uppercase).

from fuzzyautocompleteplugin.

meilbn avatar meilbn commented on September 26, 2024

I have same suggestion with @haaakon , @slazyk can you improve it? please.
Thanks.

from fuzzyautocompleteplugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.