Giter Club home page Giter Club logo

Comments (9)

7sharp9 avatar 7sharp9 commented on September 13, 2024

I would say this is a bug, what input do you give autocomplete? Line,col, linestr

I would add a test here if there is not one already, if it fails the test for Sy$ then it gives us something to fix. If it passes then there must be an issue with receiving the input ...

On 27 May 2015, at 19:34, Krzysztof Cieślak [email protected] wrote:

Let's say I've written Sy in editor and requested completion. From FSharp.Autocomplete I'm getting list of all possible completions (as nothing was written) instead of getting those completions which starts with (or contains) Sy. Is that by-design behavior? Or am I doing something wrong with it? Or we should try to change it?

Also maybe it would be nice to add Gitter room for this project? It could be good place to ask similar questions. (Or we can use F# slack channel but I'm not sure if all contributors / maintainers / people doing editor support are there, regularly I've been seeing there @rojepp, @kjnilsson and @7sharp9 )


Reply to this email directly or view it on GitHub.

from fsautocomplete.

Krzysztof-Cieslak avatar Krzysztof-Cieslak commented on September 13, 2024

@7sharp9, The input for completion command is file name, line and column.

from fsautocomplete.

rneatherway avatar rneatherway commented on September 13, 2024

I'm happy to use slack or gitter, either is fine. I will try to remember to logon. @7sharp9 , the linestr stuff is handled by FSAC, editors provide just a location. @Krzysztof-Cieslak the behaviour is deliberate so that if you backspace during a completion (so that more candidates match the new shorter prefix) then more options can be displayed.

from fsautocomplete.

ReedCopsey avatar ReedCopsey commented on September 13, 2024

@Krzysztof-Cieslak Slack channel was setup for editor discussions, which could help reduce noise on some of the other channels: https://fsharp.slack.com/messages/editor_support/

Any FSSF member (which is free and easy to sign up) should have access.

from fsautocomplete.

7sharp9 avatar 7sharp9 commented on September 13, 2024

@Krzysztof-Cieslak Ah, in XS we pass the current line too so the indent island and partial island can be used.

from fsautocomplete.

rneatherway avatar rneatherway commented on September 13, 2024

@7sharp9 FSAC knows about the whole file so it does the island cracking for you and passes the linestr into FCS.

from fsautocomplete.

7sharp9 avatar 7sharp9 commented on September 13, 2024

Yeah but if you have just typed Sy and hit Ctrl TAB does it know about the dirty file at that point?

from fsautocomplete.

rneatherway avatar rneatherway commented on September 13, 2024

In Emacs I send the file contents before every command, so yes. Maybe not all the editors do though. I should do some docs to set expectations like that.

from fsautocomplete.

rneatherway avatar rneatherway commented on September 13, 2024

Fixed by #10

from fsautocomplete.

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.