cairo
cairo copied to clipboard
Insert right paren after cursor when completing funciton/method calls
trafficstars
Currently, LS is completing functions/methods like this:
// before
x.<caret>
// after
x.foo(<caret>
Change this to work as following:
// before
x.<caret>
// after
x.foo(<caret>)
Code to update:
https://github.com/starkware-libs/cairo/blob/cdaceb909ccf0644b7e385669d2c48417ceb90d4/crates/cairo-lang-language-server/src/ide/completion/completions.rs#L285