Skip to content

Releases: zr2863356099-sudo/zr-c-fix

v0.4.1 - smart completion

Choose a tag to compare

@zr2863356099-sudo zr2863356099-sudo released this 01 Nov 13:43

??????:????

??????????,????????????????????

scanf / printf

int main(){
    int a;
    int b;
    scan     ?  scanf("%d%d", &a, &b);
}

??????????:

int main(){
    int a, b, c;
    scanf("%d", &a);        // a ????
    scan     ?  scanf("%d%d", &b, &c);
}

printf ?????????(??????????? scanf ??):

int a, b;
scanf("%d%d", &a, &b);
pri      ?  printf("%d %d\n", a, b);

??????????:double ? scanf ? %lf?printf ? %f;char s[10] ? %9s(??????? &)?

???

int n; scanf("%d", &n);
for      ?  for (int i = 0; i < n; i++)    // i ?????? int
while    ?  while (n--)

???????????:?? for ?? > ??? while (x--) > ? scanf ?? > ??? n/m/T/len > ??? int;????????????

???????????????,??????????

??

  • ??:string-eq-literal ??????????????????
  • ??? 412 ?? 450 ???

??

  • VS Code ?????? zr-c-fix
  • ????? zr-c-fix.vsix,code --install-extension zr-c-fix.vsix
  • VSCodium / Gitpod / Code OSS:Open VSX ?? zr-c-fix

?? Ctrl+Shift+P ? Reload Window?

v0.3.0 - doc update

Choose a tag to compare

@zr2863356099-sudo zr2863356099-sudo released this 31 Oct 04:47

?????????

??:README ?????????????????,???? AI ????? Tab ????

  • GitHub Copilot / ???? / ?? / Codeium / TabNine / Continue ????? Tab
  • ?? 5 ???:???? AI ?????? .c ??? AI ?????????Vim ????
  • ???? C/C++ ???????????????????? 12 ?????
  • ???????????(PE???????????????)

??? 0.2.9 ??,??????????

??

  • VS Code ?????? zr-c-fix
  • ????? zr-c-fix.vsix,?? code --install-extension zr-c-fix.vsix
  • VSCodium / Gitpod / Code OSS:Open VSX ?? zr-c-fix

v0.2.9

Choose a tag to compare

@zr2863356099-sudo zr2863356099-sudo released this 31 Oct 04:31

??

  • VSCodium / Gitpod / Code OSS:????? zr-c-fix
  • ?? VS Code:???? zr-c-fix.vsix,??
    code --install-extension zr-c-fix.vsix
    ????? ... ? ? VSIX ??

?? Ctrl+Shift+P ? Reload Window?

???????

  • ?????(cfix.locale ????)
  • ????? NFKC ???,int / 123 / #include ???
  • ????????,???????
  • ????????char ??????
  • ????? fail-closed,???? sqrt / isdigit ???
  • ?????????? = 0 / = 1 / = NULL
  • 53 ???,???? 412 ???

?? ?????