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

Different output with cmd and vscode #25

Open
KUGA2 opened this issue May 22, 2019 · 0 comments
Open

Different output with cmd and vscode #25

KUGA2 opened this issue May 22, 2019 · 0 comments

Comments

@KUGA2
Copy link

KUGA2 commented May 22, 2019

Input file:

int f1()
{
   return 0;
}
// two empty lines


int f2()
{
   return 0;
}
// one empty line

int f3()
{
   return 0;
}

SHIFT+ALT+F:

int f1()
{
   return 0;
}
// two empty lines

int f2()
{
   return 0;
}
// one empty line

int f3()
{
   return 0;
}

astyle f.cpp:

int f1()
{
    return 0;
}
// two empty lines


int f2()
{
    return 0;
}
// one empty line

int f3()
{
    return 0;
}

There is no astyle config file.
Differences are:

  • Tab size (ok, i think the 3 spaces tabs come from the vscode settings)
  • Empty Line removed. Where does this come from?

VSCode About:
Version: 1.33.1 (system setup)
Commit: 51b0b28134d51361cf996d2f0a1c698247aeabd8
Date: 2019-04-11T08:27:14.102Z
Electron: 3.1.6
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Windows_NT x64 10.0.16299

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

1 participant