Tabs & indents - PhpStorm + Laravel + Swagger

It is possible to make phpstorm + laravel + swagger PHP to make autoformat documentation or auto tabs, auto indents. When I write a doc in Swagger @SWG have a lot of nested objects so it is hard to read and edit it without auto-indents and tab. Like in normal code.

1
3 comments

No, there's no built-in features for swagger, @swg especially.

You can try https://plugins.jetbrains.com/plugin/8347-swagger-plugin 

0
Avatar
Permanently deleted user

Is there any possibilities to work with tabs and indents in comments at phpstorm ? 

0
Avatar
Permanently deleted user

If you enable Tabs in Editor | Code Style then tabs will be used instead of spaces everywhere, even in comments.

There's no way to enable tabs for comments only unfortunately.

0

Please sign in to leave a comment.