Open mikebronner opened 5 years ago
Is this what you are looking for? https://marketplace.visualstudio.com/items?itemName=Sophisticode.php-formatter
@robindrost No, I was referring to this article: https://mspoweruser.com/visual-studio-code-can-now-indent-code-automagically/ (Sorry I didn't post the link originally, I couldn't find it at the time.)
Developers of the so-called language extensions for Visual Studio Code can also add indentation rules to their extensions which will allow users to take advantage of this feature for another language like Python or Swift.
VSCode seems to rely on language providers to specify indentation rules. I've been having problems with indentation when pasting, and it appears not to behave as expected. Is this something that could be added to Intelephense? I would love to see configurable options, such as PSR1, PSR2, etc. standards.
Or if this has been implemented already, which file in the package specifies these rules? I would like to help improve them, if that would help. Thanks :)