8000 GitHub - cpulvermacher/fix-missing-semicolons: A Visual Studio Code extension for fixing missing semicolon errors in Java
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

cpulvermacher/fix-missing-semicolons

Repository files navigation

Fix Missing Semicolons

Latest Release Installs Status License

Automatically fix Java syntax errors for missing semicolons.

Demo

Features

  • Saving a Java file automatically fixes any Syntax error, insert ";" errors found.
  • Does not insert semicolons if there are any other language errors in the file.

Limitations

  • May not work for cases like where the Java language server produces less clear syntax errors (e.g. lambda expressions).

Why?

Semicolon placement in Java is fairly unambiguous, to the point that the compiler or IDE integration will helpfully tell you exactly where you forgot to add it. This extension goes one step further and adds the missing semicolon.

Compared to other extensions, this one does not require you to run any special commands, but directly detects and fixes the syntax errors.

0