-
Notifications
You must be signed in to change notification settings - Fork 12
Release Notes
Dickurt edited this page Nov 29, 2016
·
3 revisions
- Added
phpformatter.arguments. Use this setting to add any arguments to the fix command, e.g.['--level=psr2']. - Deprecated
phpformatter.levelandphpformatter.fixerssettings in favor ofphpformatter.arguments. If neitherphpformatter.levelnorphpformatter.fixersare set,phpformatter.argumentswill be used.
Changed wiki links and page titles.
Removed phpformatter.onSave setting because it is now a native vscode feature.
- Migrated the code to TypeScript!
- Temp files are now the way to go by default, switching back is no longer supported. Therefore, the
phpformatter.useTempFilessetting got removed. - Deprecated
phpformatter.enableFixerLoggingsetting got removed in favor ofphpformatter.logging. - The extension is now categorized as Formatter on the Marketplace.
- Disabled onSave command until VSCode supports preSave event.
- Improved Readme.
Solved an issue where fixing a file would erase its contents.
New icon.
- Added
phpformatter.useTempFilessetting, which is on by default. This fixes a whole ranges of issues the old method had, and opens up the road other features as well. - Added
phpformatter.fixcommand. This introduces the ability to fix a file or selection by registering a custom keybinding. See Extension Commands for more info. - Added the ability to fix only the current selection. This requires
phpformatter.useTempFilesto be turned on. - Deprecated
phpformatter.enableFixerLoggingin favor ofphpformatter.logging. - Added
phpformatter.loggingsetting to replacephpformatter.enableFixerLogging. - Improved logging. Added more log messages and added two notifications.
- Added
phpformatter.notificationssetting. - The extension will now show a notification when the required settings are not set.
- The notification has a button that opens up a browser with the installation guide on the Github page.
- Added installation guide and known issue to the readme.
Added icon and more meta info in package.json. As well as the first icon!
Added working support for multiple file extensions besides .php. See phpformatter.additionalExtensions setting for more info.
All paths now support spaces (' ').
Setting phpformatter.composer to true now actually overrides the use of pharPath.
- Code improvements.
- Fixed functionality.
- Improved code readability.
- Added setting to enable fixer logging. Logs all fixer results (including errors) to the console.
- Settings are now read every time the fix function is called. Previously settings were only read during activation.
Initial commit.