Antyos / vscode-openscad

An OpenSCAD extension for VS Code
GNU General Public License v3.0
118 stars 18 forks source link

[Question]: add correct parentheses? #60

Open ohuf opened 8 months ago

ohuf commented 8 months ago

Hey @Antyos, thanks for this really helpful extension. I have a question, and maybe its just me not using the system in the right way: I am wondering why I have to add the "obvious" parentheses manually? when I type cyl and it extends to cylinder, it's pretty obvious there has to be a pair of parentheses () - similar with translate([]).

Is there some setting I'm doing wrong, or is this intentionally missing from the extension?

ohuf.

Antyos commented 8 months ago

Hi Oliver,

I'm not sure I'm able to reproduce the behavior you're referring to. Typing cyl in a .scad file and hitting tab will auto-complete the snippet:

2024-01-21_16-18-08

Is it possible you have a conflicting extension or setting that is causing this behavior? It seems like maybe the auto-complete of the token "cylinder" from cyl is being ranked above the snippet cyl.