Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Java Style C SnippetsNew to Visual Studio Code? Get it now.
Java Style C Snippets

Java Style C Snippets

qmcx

|
115 installs
| (0) | Free
一个Java风格的c代码提示插件,其实就是部分代码块为行尾风格ಥ_ಥ
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Java Style C Snippets

这是一个Java(其实是行尾🤣)风格的c语言代码提示插件。

编写此插件的原因:vscode的c/c++代码提示插件,其所提示的代码都是次行风格,me不习惯,所以有了这个插件。

icon来源:JetBrains/logos,然后经过ps修改😋。

目前支持的代码块:

前缀 示例 description
printf printf("...", ...);
for for (int i = 0; i < N; i++) { ... }
while while (condition) { ... }
if if (condition) { ... }
do while do { ... } while (condition);
switch switch (variable) { ... }
func returnType functionName(parameters) { ... }
struct struct StructName { memberType memberName; ... };
include #include
define #define MACRO_NAME value
main int main(void) { ... return 0; }
voidmain void main() { ... }
includeREGX52 #include <REGX52.H>
includeSTC89C5xRC #include <STC89C5xRC.H>
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft