1

Closed

Studio Shell 1.2 SSMS - Not Recognizing the " ` " tick for line continuation.

description

The expected behaviour when using the " " tick is to accept to run the script continuing on the next line, and still this is a oneliner. Current in StudioShell, if you leave the tick out it will work but this is wrong.

For example, the following oneliner will execute in PowerShell console:

PS> $TestString

= ` "Test Continuation";

if you try this on StudioShell, it breaks (see attached image).

By the way, I can't highlight to copy the text of the screen... I will logged this one in.

:)

file attachments

Closed Feb 3 at 11:43 PM by beefarino
cleanup of fixed items

comments

beefarino wrote Feb 13, 2012 at 11:57 AM

This is actually the same problem reported in [workitem:25]. One the console supports multi-line input this will work.

MaxTrinidad wrote Feb 13, 2012 at 12:31 PM

How Multi-line input works in StudioShell?? If I can use the following samples gives me errors:
§ C:\Users\Max.Trinidad.ISO>dir ! Incomplete string token.
§ C:\Users\Max.Trinidad.ISO>dir |
! An empty pipe element is not allowed.
§ C:\Users\Max.Trinidad.ISO>

In either (of the above) cases, the normal PS console will give you the ">>" to continue typing on the next line.

Example from PS "Old School" Console
PS [38] > dir

*.zip ` -recurse
Just a feedback, I know you can fix it.
:)

MaxTrinidad wrote Feb 13, 2012 at 12:40 PM

You are right!! I can still use the normal Ctrl-C/Crtl-V. Confirmed!!

It's all good!
:)

beefarino wrote Jun 25, 2012 at 3:46 PM

addressed in the 1.3 release - multi-line statements are now supported in the console.