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

PowerShell extention doesn't handle multi-line commands #2244

Closed
GaryNease opened this issue Oct 17, 2019 · 2 comments
Closed

PowerShell extention doesn't handle multi-line commands #2244

GaryNease opened this issue Oct 17, 2019 · 2 comments
Labels
Resolution-Duplicate Will close automatically.

Comments

@GaryNease
Copy link

Issue Type: Bug

The following works in ISE etc but not in this product:
foreach ($assembly in $smoarray) {
$assembly = [Reflection.Assembly]::LoadWithPartialName($assembly)
}
... returns "Missing closing '}' in statement block or type definition."

Adding backticks to escape the linefeed also doesn't work, returns:
"Incomplete string token."

Extension version: 2019.9.0
VS Code version: Code 1.39.2 (6ab598523be7a800d7f3eb4d92d7ab9a66069390, 2019-10-15T15:35:18.241Z)
OS version: Windows_NT x64 10.0.17763

System Info
Item Value
CPUs Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz (4 x 3193)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_deferred_display_list: disabled_off
skia_renderer: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 15.91GB (3.42GB free)
Process Argv
Screen Reader no
VM 0%
@ghost ghost added the Needs: Triage Maintainer attention needed! label Oct 17, 2019
@rjmholt
Copy link
Contributor

rjmholt commented Oct 18, 2019

Thanks for opening an issue @GaryNease.

This is a duplicate of #1278, and is addressed by #535.

That issue is closed because this works in the powershell-preview extension, and is planned to come to the stable extension in the coming months.

@rjmholt rjmholt added Resolution-Duplicate Will close automatically. and removed Needs: Triage Maintainer attention needed! labels Oct 18, 2019
@ghost
Copy link

ghost commented Oct 19, 2019

This issue has been marked as duplicate and has not had any activity for 1 day. It has been closed for housekeeping purposes.

@ghost ghost closed this as completed Oct 19, 2019
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution-Duplicate Will close automatically.
Projects
None yet
Development

No branches or pull requests

2 participants