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

Reformat code Error #5

Closed
stoyanovd opened this issue Sep 26, 2018 · 1 comment
Closed

Reformat code Error #5

stoyanovd opened this issue Sep 26, 2018 · 1 comment
Assignees
Milestone

Comments

@stoyanovd
Copy link

stoyanovd commented Sep 26, 2018

Reformat code command (Ctrl-Alt-L) for this code
$d = new-object System.Data.Datatable
change it to
$d = new-object System.Data. Datatable
which breaks code.

(I make it through PyCharm, if it is important, for the file with .ps1 extension)

@ant-druha ant-druha self-assigned this Sep 26, 2018
@ajruckman
Copy link

Similar issue:
$tsFiles = (Get-ChildItem -Path $Path -Filter *.ts)
gets reformatted to
$tsFiles = (Get-ChildItem -Path $Path -Filter * .ts)
(a space is added after the asterisk, which is invalid).

@ant-druha ant-druha added this to the 2.0.0 milestone Dec 6, 2018
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