All notable changes to the "laravel-pint" extension will be documented in this file.
Check Keep a Changelog for recommendations on how to structure this file.
- Fix compatibility with Laravel Herd on Windows [#62] (thanks @vikas5914)
- Pint
--dirty
option as a extension setting [#60] (thanks @tobinguyenn)
- Windows paths [#55 #57] (regression from d421f4b3c58fb2dc42c0096db084eaa06974088e, thanks @balthild)
- Pint config json schema updated to PHP CS Fixer 3.49.0
- Use relative path as Pint uses current working directory (cwd) [#50 #51] (thanks @mho22)
- Ignore VSCode excluded paths so Pint executable can be found [#46 #45] (thanks @fritz-c)
- VSCode minimum version upgraded (
1.68.0
to1.82.0
) - Pint config json schema updated to PHP CS Fixer 3.41.1
PER
preset to JSON schema and config [#41]- Fixes to JSON schema generator [#40 #42] (thanks @yaegassy)
- Issue resolving fallback to global Pint binary [#28] (thanks @jasonvarga)
- Extension published to Open VSX for VSCodium users: https://open-vsx.org/extension/open-southeners/laravel-pint
- Use global context for extension initial installation auto-config [#24]
- Custom config file path resolution (now yes, thanks to @adrum for the PR) [#23]
- Workspace files format command
laravel-pint.configPath
now is also being used by the extension's exclude paths
- More logging debug information (only enabled by setting the option
laravel-pint.enableDebugLogs
)
- Format workspace was formatting all workspaces, now it formats only current active document's workspace (otherwise it complains about it on the Output logs tab of VS Code)
- Custom config file path resolution [#22]
- File formatting triggers under the whole workspace [#21]
- Minor bug with extension version debug info getting logged
- Order of command arguments on PHP when running in Windows (thanks @serdartaylan) [#18]
- Hide status bar with others document languages
- Show disabled status bar with active files that are excluded by Laravel Pint
- Fix command execution on Windows wasn't made properly
- First extension enable pre-setting workspace language-scoped (PHP) config:
editor.formatOnSave
andlaravel-pint.enable
- Some output messages
- Support to run Laravel Pint or Laravel Sails with PHP on Windows [#18]
- Support for multi-workspace environment
- Spanish translation for extension settings
- Extension category to Formatters (now it works like a proper VS Code formatter) [#17]
- More debugging messages (can be enabled by the setting option
laravel-pint.enableDebugLogs
) - Status bar that shows extension debug output on click (still work in progress...)
- Security support for untrusted workspaces (limited functionality to just global)
- Add fallback to global Laravel Pint command whenever local binary isn't found in any workspace (supporting both Windows & Linux/Mac OS), configurable by the setting
laravel-pint.fallbackToGlobalBin
[#20]
- Major codebase refactor
- VS Code task provider for workspace formatting (in favour of the same format project command which now works with multiple workspaces)
- Regression introduced in a3b67a5ef1cb4126d5605f062861c62deda3fbf5 (#15)
- Minor changes to code style and internal fixes
- Fix psr12 preset on
pint.json
autocompletion (thanks @yaegassy)
- Format workspace files command.
- Format task provider.
- Regression on alerts when projects aren't using Laravel Pint (#1).
pint.json
JSON schema validator for validation and autocompletion.
- Laravel Sail compatibility, adding options
runInLaravelSail
(default: false) andsailExecutablePath
(default:vendor/bin/sail
).
- Make default settings all compatible with Windows paths.
- Format command visible even when extension has not been activated.
- Option
auto
for preset to leave it empty on the executable arguments.
configPath
default behaviour (out of the box) to auto align and improve user experience and extension maintenance alignment with the official Laravel Pint.
- Extension's default preset to be
laravel
as of v0.2.0 release of Laravel Pint (before waspsr-12
) (#8, thanks @zepfietje)
- Added an hi-res version of the icon (#3, thanks @caneco)
preset
,config
andformatOnSave
settings (check this for more info about presets configuration)
- Settings auto reload on save
- Alerts when executablePath setting isn't available in local project (#1)
- Initial release