Is to possible to get VSCode to format mixed html/php code on Windows VSCode v0.7.1?
是否有可能让VSCode在Windows VSCode v0.7.1上格式化混合的html / php代码?
1 个解决方案
#1
8
As of v0.7.10, not yet. It only works for some languages. Once there's more integration for PHP, the shortcut will be Alt + Shift + F (⌥⇧F on Mac).
截至v0.7.10,尚未。它仅适用于某些语言。一旦有更多的PHP集成,快捷方式将是Alt + Shift + F(在Mac上为⌥⇧F)。
Update 2016-05-30: Visual Studio Code has pretty awesome PHP support now. What it lacks is covered by extensions. A quick search reveals at least three (1, 2, 3) that claim to support PHP formatting. They mostly seem to use the standard shortcut of Alt + Shift + F on Windows/Linux, with varying shortcuts on Mac. If you're on Mac, give ⌥⇧F a try.
更新2016-05-30:Visual Studio Code现在提供了非常棒的PHP支持。扩展涵盖了它所缺乏的内容。快速搜索显示至少有三个(1,2,3)声称支持PHP格式化。他们大多似乎在Windows / Linux上使用Alt + Shift + F的标准快捷方式,在Mac上使用不同的快捷方式。如果您使用的是Mac,请尝试使用⌥⇧F。
#1
8
As of v0.7.10, not yet. It only works for some languages. Once there's more integration for PHP, the shortcut will be Alt + Shift + F (⌥⇧F on Mac).
截至v0.7.10,尚未。它仅适用于某些语言。一旦有更多的PHP集成,快捷方式将是Alt + Shift + F(在Mac上为⌥⇧F)。
Update 2016-05-30: Visual Studio Code has pretty awesome PHP support now. What it lacks is covered by extensions. A quick search reveals at least three (1, 2, 3) that claim to support PHP formatting. They mostly seem to use the standard shortcut of Alt + Shift + F on Windows/Linux, with varying shortcuts on Mac. If you're on Mac, give ⌥⇧F a try.
更新2016-05-30:Visual Studio Code现在提供了非常棒的PHP支持。扩展涵盖了它所缺乏的内容。快速搜索显示至少有三个(1,2,3)声称支持PHP格式化。他们大多似乎在Windows / Linux上使用Alt + Shift + F的标准快捷方式,在Mac上使用不同的快捷方式。如果您使用的是Mac,请尝试使用⌥⇧F。