rescript-lang / rescript-lang/rescript-vscode
functions in current module dont autocomplete if after ->
Nobody has claimed this yet.
- Dominant language
- ReScript
- Stars
- 354
- Forks
- 63
- Avg merge
- 11h 29m
- Merged PRs (30d)
- 1
Description
this autocompletes "mylog"
let mylog = (s: string) => Console.log(s)
mylog("hello")
this just prematurely offers a bunch of String module functions even before I begin typing mylong but never completes mylog as Im typing it
let mylog = (s: string) => Console.log(s)
"hello"->mylog
Seems to be the same for "opened" modules and even ones opened with bsc-flags from rescript.json
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the completion behavior in VSCode using the two examples from the issue, including an opened module and modules enabled through rescript.json bsc-flags. Start by tracing completion handling after the -> operator. Done means mylog is offered while typing after -> and unrelated String module functions are not prematurely suggested.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- vscode
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100