rescript-compiler icon indicating copy to clipboard operation
rescript-compiler copied to clipboard

Recovery in completions

Open nojaf opened this issue 7 months ago • 1 comments

Proof of concept to find a cursor inside broken code. The idea is to have a second pass of the syntax tree after parsing. There we can update certain location, which streamlines the frontend completion phase.

nojaf avatar Apr 29 '25 12:04 nojaf

Currently using the patternhole as found node in frontend completion. Next thing would be for that range to be present in the cmt file.

nojaf avatar May 01 '25 16:05 nojaf