Skip to content
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

Code wrapped on multiple lines with backtick ` has weird indentation behavior when formatting file #335

Open
tuokri opened this issue Jan 14, 2025 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@tuokri
Copy link

tuokri commented Jan 14, 2025

As demonstrated by this video, every time I hit the format hotkey, the wrapped lines starting with either " or ' are intended further by a single space.

Untitled.mp4

Example file:

param (
    [Parameter(mandatory = $true)]
    [string]$SteamCMDExePath
)

$Proc = Start-Process -FilePath "$SteamCMDExePath" `
    -ArgumentList "+force_install_dir", "$APP_PATH", `
    "+login", $STEAM_USERNAME, $STEAM_PASSWORD, `
    '"+app_update 480 validate"', `
    "+quit" `
    -NoNewWindow `
    -Wait `
    -PassThru

exit $Proc.ExitCode
@ForNeVeR ForNeVeR added bug Something isn't working help wanted Extra attention is needed labels Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants