Skip to content

picopicos/easy-coding-standard-vscode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Easy Coding Standard for VS Code

Visual Studio Marketplace Last Updated VS Marketplace version VS Marketplace downloads Rating CI (test) License

English | 日本語

Features

Native support for Formatting API. Automatically runs formatter on save.

Getting Started

  1. Open Command Palette (Ctrl+Shift+P/Shift+⌘+P)
  2. Choose Preferences: Open Workspace Settings (JSON)
  3. Add the following configuration
{
  "[php]": {
    "editor.formatOnSave": true,
    "editor.defaultFormatter": "picopico.easy-coding-standard"
  }
}

You can automatically format document on save. If you need to format document manually, press Shift+Ctrl+F/Shift+⌘+F.

Configuration

Setting Default Description
easy-coding-standard.enabled true Enable/disable Easy Coding Standard extension
easy-coding-standard.executablePath vendor/bin/ecs Path to the ECS executable
easy-coding-standard.configPath ecs.php Path to the ECS configuration file (ecs.php). If empty, will search for ecs.php in the workspace.
easy-coding-standard.memoryLimit "" Memory limit for the ECS process
easy-coding-standard.xdebug false Enable Xdebug for ECS
easy-coding-standard.timeout 30000 Timeout for ECS command execution in milliseconds
easy-coding-standard.extraArgs [] Extra arguments for ECS

Contributing

Contributions are welcome! Please feel free to submit issues and pull requests.

License

MIT

About

Easy Coding Standard extension for VSCode

Resources

License

Contributing

Stars

Watchers

Forks

Contributors