Skip to content

Format Document does not honor indentation using tabs #175

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
morganwdavis opened this issue Nov 8, 2017 · 4 comments
Closed

Format Document does not honor indentation using tabs #175

morganwdavis opened this issue Nov 8, 2017 · 4 comments

Comments

@morganwdavis
Copy link

With this extension, Format Document rebuilds the whole source file using fixed 4-character spaces, replacing tabs if that is the VSCode preferred settings.

@jens1o
Copy link
Contributor

jens1o commented Nov 8, 2017

Ehm. Format Document will be removed with the next version, because of the reason you provided(and others)

See felixfbecker/php-language-server#501

@felixfbecker
Copy link
Owner

felixfbecker commented Nov 8, 2017

Also a duplicate of felixfbecker/php-language-server#343

@morganwdavis
Copy link
Author

Oh... sorry. And cool. Is there a recommended alternative extension to get "Format Document" support for PHP?

@felixfbecker
Copy link
Owner

phpcs will give you the exact same formatting this extension had.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants