Sevavietl / vscode-php-files

5 stars 3 forks source link

Feature Request / expose php-unparser options #1

Open ichiriac opened 6 years ago

ichiriac commented 6 years ago

Hi @Sevavietl,

I like your library, I'm using it :smile:, but on my project I need to have namespaces with brackets because I want to merge core classes under a single concatenated file ...

I would like to be able to configure some php-unparser options from .php-files.json in order to define forceNamespaceBrackets but it could be useful to be able to configure other options.

Sevavietl commented 6 years ago

Thank you for the idea! I was thinking about adding all the options of php-writer to the extension settings, but, yes, it is better to use it per project.

Or, even better, allowing to override them per project, but default to global.