-
Notifications
You must be signed in to change notification settings - Fork 11
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.level
andphpformatter.fixers
settings in favor ofphpformatter.arguments
. If neitherphpformatter.level
norphpformatter.fixers
are set,phpformatter.arguments
will 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.useTempFiles
setting got removed. - Deprecated
phpformatter.enableFixerLogging
setting 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.useTempFiles
setting, 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.fix
command. 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.useTempFiles
to be turned on. - Deprecated
phpformatter.enableFixerLogging
in favor ofphpformatter.logging
. - Added
phpformatter.logging
setting to replacephpformatter.enableFixerLogging
. - Improved logging. Added more log messages and added two notifications.
- Added
phpformatter.notifications
setting. - 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.