All Projects → vshaxe → vscode-checkstyle

vshaxe / vscode-checkstyle

Licence: MIT license
Haxe Checkstyle extension for Visual Studio Code

Programming Languages

haxe
709 projects

Projects that are alternatives of or similar to vscode-checkstyle

Pep8speaks
A GitHub app to automatically review Python code style over Pull Requests
Stars: ✭ 546 (+2175%)
Mutual labels:  static-analysis, code-style
analysis-model
A library to read static analysis reports into a Java object model
Stars: ✭ 74 (+208.33%)
Mutual labels:  checkstyle, static-analysis
Scalastyle
scalastyle
Stars: ✭ 679 (+2729.17%)
Mutual labels:  static-analysis, code-style
vscode-tenkawa-php
Visual Studio Code extension integrating Tenkawa PHP language server.
Stars: ✭ 28 (+16.67%)
Mutual labels:  static-analysis, vscode-extension
Diktat
Strict coding standard for Kotlin and a custom set of rules for detecting code smells, code style issues and bugs
Stars: ✭ 196 (+716.67%)
Mutual labels:  checkstyle, static-analysis
Php Cs Fixer Custom Fixers
A set of custom fixers for PHP CS Fixer
Stars: ✭ 75 (+212.5%)
Mutual labels:  static-analysis, code-style
Php Cs Fixer
A tool to automatically fix PHP Coding Standards issues
Stars: ✭ 10,709 (+44520.83%)
Mutual labels:  static-analysis, code-style
Debt-Manager
A personal app to store people that owe you money or you owe money to. "Mo Money Mo Problems" 🎵 - The Notorious B.I.G. 😎
Stars: ✭ 22 (-8.33%)
Mutual labels:  checkstyle, static-analysis
Haxe Checkstyle
Haxe Checkstyle
Stars: ✭ 110 (+358.33%)
Mutual labels:  checkstyle, static-analysis
static-code-analysis-plugin
A plugin to simplify Static Code Analysis on Gradle. Not restricted to, but specially useful, in Android projects, by making sure all analysis can access the SDK classes.
Stars: ✭ 36 (+50%)
Mutual labels:  checkstyle, static-analysis
Qulice
Quality Police for Java projects
Stars: ✭ 250 (+941.67%)
Mutual labels:  checkstyle, static-analysis
Warnings Ng Plugin
Jenkins Warnings Plugin - Next Generation
Stars: ✭ 248 (+933.33%)
Mutual labels:  checkstyle, static-analysis
qulice
Quality Police for Java projects: aggregator of Checkstyle, PMD, and SpotBugs
Stars: ✭ 286 (+1091.67%)
Mutual labels:  checkstyle, static-analysis
constyble
CSS complexity linter
Stars: ✭ 92 (+283.33%)
Mutual labels:  static-analysis
mylib
Шаблон кросплатформенного CMake-проекта для языка C++ 🇬🇧 Modern CMake crossplatform project template for C++
Stars: ✭ 49 (+104.17%)
Mutual labels:  static-analysis
r2frida-book
The radare2 + frida book for Mobile Application assessment
Stars: ✭ 38 (+58.33%)
Mutual labels:  static-analysis
tiro
TIRO - A hybrid iterative deobfuscation framework for Android applications
Stars: ✭ 20 (-16.67%)
Mutual labels:  static-analysis
unotes
Unotes Visual Studio Code Extension. A markdown WYSIWYG notes editor.
Stars: ✭ 137 (+470.83%)
Mutual labels:  vscode-extension
woocommerce-stubs
WooCommerce function and class declaration stubs for static analysis.
Stars: ✭ 49 (+104.17%)
Mutual labels:  static-analysis
CKS-Exercises-Certified-Kubernetes-Security-Specialist
A set of curated exercises to help you prepare for the CKS exam
Stars: ✭ 124 (+416.67%)
Mutual labels:  static-analysis

Haxe Checkstyle for Visual Studio Code

CI Version Installs

Features

  • Runs haxe-checkstyle when opening and saving documents
  • Displays results as VS Code diagnostics
  • Supports quickfixes for a small selection of checks
  • Includes json schema definitions for both checkstyle.json and checkstyle-excludes.json
  • Uses haxe-checkstyle engine
  • Works with your existing haxe-checkstyle configuration

Configuration

A configuration key named haxecheckstyle.sourceFolders holds an array of folder names where checkstyle should run. It defaults to ["src", "Source"], which is the equivalent to passing -s <src> -s <Source> to haxe-checkstyle CLI. Checkstyle will ignore any file not included in sourceFolders.

vscode-checkstyle accepts your regular haxe-checkstyle configuration files (checkstyle.json and checkstyle-excludes.json).

Unlike the CLI version vscode-checkstyle will search a file's path for a checkstyle.json configuration that is closest to it. Searching moves upwards and stops at (but includes) your workspace root. That way you can have a library folder inside your workspace provide its own checkstyle.json (which might be different from your personal coding style).

If there is no checkstyle.json in any folders up to your workspace root, vscode-checkstyle tries to learn its location by reading key haxecheckstyle.configurationFile from your VS Code settings.

haxecheckstyle.codeSimilarityBufferSize sets a limit to how many files will be kept for CodeSimilarity check (Defaults to 100).

Quickfixes

You can apply quickfixes one at a time or by selecting a range including multiple checkstyle violations.

RedundantModifierQuickfixes

The following checks provide quickfixes:

  • Dynamic
  • EmptyPackage
  • Final
  • Indentation
  • ModifierOrder
  • RedundantModifier
  • StringLiteral
  • Trace
  • UnusedImport

JSON Schema Definitions

vscode-checkstyle comes with JSON schemas for checkstyle.json and checkstyle-excludes.json, which will help you through autocomplete and tooltips when editing both file types. e.g.:

CheckstyleSchema

Documentation

See Haxe-Checkstyle docs or use JSON Schema tooltips for documentation on checks.

Limitations

  • it doesn't see violations in your project files until you open them
  • CodeSimilarity check uses a ringbuffer to limit the number of files in similarity cache (configure via haxecheckstyle.codeSimilarityBufferSize - defaults to 100)

TODO

  • Check on all the workspace
  • And more :)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].