-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
- VSCode Version: 1.28.2 (User Setup)
- OS Version: Windows 10 (1803)
Steps to Reproduce:
- Create new file and set type to Shell Script
- Enter the following text
`#!/bin/bash
#Set any Commandline Arguments passed
for ARGUMENT in "$@"
do
KEY=$(echo $ARGUMENT | cut -f1 -d=)
VALUE=$(echo $ARGUMENT | cut -f2 -d=)
case "$KEY" in
CertThumbPrint)
CertThumbPrint=${VALUE} ;;
UserName)
UserName=${VALUE} ;;
Password)
Password=${VALUE} ;;
RemoteServer)
RemoteServer=${VALUE} ;;
Port)
Port=${VALUE} ;;
Depot)
Depot=${VALUE} ;;
Version)
Version=${VALUE} ;;
* )
esac
done`
-
Save the file with .sh extension
-
Press Enter on ANY line and observe the change, which what I see is this
`# !/bin/bash
#Set any Commandline Arguments passed
for ARGUMENT in "$@"
do
KEY = $(echo $ARGUMENT | cut - f1 - d = )
VALUE = $(echo $ARGUMENT | cut - f2 - d = )
case "$KEY" in
CertThumbPrint)
CertThumbPrint = $
{VALUE}; ;
UserName)
UserName = $
{VALUE}; ;
Password)
Password = $
{VALUE}; ;
RemoteServer)
RemoteServer = $
{VALUE}; ;
Port)
Port = $
{VALUE}; ;
Depot)
Depot = $
{VALUE}; ;
Version)
Version = $
{VALUE}; ; * )
esac
done
`
I have been able to isolate it to this one extension by painstakingly going one by one through each and every extension until this was the one that enabling it caused the issue, disabling it fixed the issue.
Metadata
Metadata
Assignees
Labels
No labels