Skip to content

Not processing string functions correctly #2016

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

Closed
ckmscott opened this issue Jun 6, 2019 · 3 comments
Closed

Not processing string functions correctly #2016

ckmscott opened this issue Jun 6, 2019 · 3 comments

Comments

@ckmscott
Copy link

ckmscott commented Jun 6, 2019

Issue Type: Bug

I am trying to concatenate a long, muti-line string using the Powersheel extension. The functionality I am trying to use is:

$String = "Hello"`
+ "World"`
+ "And Goodbye"

When I process this in VSC, I get an "Incomplete Item Token" error. When I process this same command in Powershell ISE it works.

Extension version: 2019.5.0
VS Code version: Code 1.35.0 (553cfb2c2205db5f15f3ee8395bbd5cf066d357d, 2019-06-04T01:17:12.481Z)
OS version: Windows_NT x64 10.0.18362

System Info
Item Value
CPUs Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz (4 x 2494)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 7.82GB (1.62GB free)
Process Argv
Screen Reader no
VM 0%
@rjmholt
Copy link
Contributor

rjmholt commented Jun 7, 2019

Hi @ckmscott, thanks for opening an issue.

How are you invoking this?

If it's by highlighting it and running in the Integrated Console (e.g. with F8), that's tracked by #569.

We've been investing in PSReadLine to bring this feature to the PowerShell extension, and it's currently available in the PowerShell Preview extension.

@ckmscott
Copy link
Author

ckmscott commented Jun 7, 2019 via email

@rjmholt
Copy link
Contributor

rjmholt commented Jun 7, 2019

Thanks @ckmscott!

@rjmholt rjmholt closed this as completed Jun 7, 2019
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

2 participants