Comments (9)
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.
@7sharp9, The input for completion
command is file name, line and column.
from fsautocomplete.
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.
@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.
@Krzysztof-Cieslak Ah, in XS we pass the current line too so the indent island and partial island can be used.
from fsautocomplete.
@7sharp9 FSAC knows about the whole file so it does the island cracking for you and passes the linestr into FCS.
from fsautocomplete.
Yeah but if you have just typed Sy
and hit Ctrl TAB
does it know about the dirty file at that point?
from fsautocomplete.
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.
Fixed by #10
from fsautocomplete.
Related Issues (20)
- Code-fix for _.Property / _.MethodCall() / _.IndexerAccess[idx] shorthand for accessor functions
- Add Support for Breaking Down Type Signatures in Tooltips HOT 4
- fsiExtraParameters break error hints in editor while editing .fsx files HOT 14
- Remove inline values that replace pipeline hints
- Improve .NET POCO Initialiser Constructor object documentation, unit -> unit is not useful, we want to see the signature HOT 2
- F# interactive directives not showing docs once written down, also true for #nowarn, coloring is not conistent (purple?) HOT 1
- Refactoring: Extract Interface from Type member declaration (refactoring)
- Should we move this to Ionide or fsprojects? HOT 5
- #r "nuget: System.Data.Common" doesn't seem to work in .fsx HOT 4
- Format tooltips using client input HOT 4
- Invalid `This qualifier is redundant` when a variable is shadowed by a property with the same name and compatible signature
- `get ()` should not be renamed when renaming a property
- Code action: suggest to create missing parameter as local binding HOT 1
- AutomaticWorkspaceInit is ignored if rootUri is used instead of rootPath
- Convert to NuGet Central Package Management
- Work list for .NET 8.0.300-based releases HOT 1
- Settings section in the Readme still mentions option --background-service-enabled
- Type checking hangs with newly built TypeProvider
- More concise completion info with OptionalAttribute/DefaultParameterValueAttribute HOT 1
- Extract `TipFormatters` into its own package HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fsautocomplete.