Open jmhodges opened 2 years ago
Running code foo.txt when foo.txt doesn't exist should open a tab in vscode, insert the license, and leave the tab open.
code foo.txt
Running code foo.txt when foo.txt doesn't exist opens the tab, inserts the license into the buffer, then closes the tab immediately after.
Runtime environment
bazelbuild.vscode-bazel-0.5.0
bungcip.better-toml-0.3.2
cstrap.python-snippets-0.1.1
dbaeumer.vscode-eslint-2.2.2
eamodio.gitlens-11.7.0
editorconfig.editorconfig-0.16.4
foxundermoon.shell-format-7.2.2
fwcd.kotlin-0.2.23
github.codespaces-1.4.4
github.copilot-1.7.4608
github.vscode-pull-request-github-0.34.3
golang.go-0.30.0
hashicorp.terraform-2.18.0
hyzeta.vscode-theme-github-light-7.14.2
leizongmin.node-module-intellisense-1.5.0
lextudio.restructuredtext-168.0.0
ms-azuretools.vscode-docker-1.18.0
ms-kubernetes-tools.vscode-kubernetes-tools-1.3.6
ms-python.python-2021.12.1559732655
ms-python.vscode-pylance-2022.1.1
ms-toolsai.jupyter-2021.11.1001550889
ms-toolsai.jupyter-keymap-1.0.0
ms-toolsai.jupyter-renderers-1.0.4
ms-vscode-remote.remote-containers-0.209.6
ms-vscode.vscode-typescript-tslint-plugin-1.3.3
ms-vsliveshare.vsliveshare-1.0.5242
polypus74.trusty-rusty-snippets-0.0.5
redhat.fabric8-analytics-0.3.5
redhat.java-1.2.0
redhat.vscode-xml-0.18.2
redhat.vscode-yaml-1.3.0
rust-lang.rust-0.7.8
scala-lang.scala-0.5.5
shardulm94.trailing-spaces-0.3.1
sidneys1.gitconfig-2.0.1
stkb.rewrap-1.16.0
timonwong.shellcheck-0.18.3
tonybaloney.vscode-pets-1.9.3
trond-snekvik.simple-rst-1.5.1
tshino.kb-macro-0.9.0
visualstudioexptteam.vscodeintellicode-1.2.15
vmsynkov.colonize-2.2.2
vscjava.vscode-gradle-3.9.0
vscjava.vscode-java-debug-0.37.0
vscjava.vscode-java-dependency-0.18.9
vscjava.vscode-java-pack-0.20.0
vscjava.vscode-java-test-0.33.1
vscjava.vscode-maven-0.34.2
yaozheng.vscode-pde-0.6.0
ymotongpoo.licenser-1.7.1
zxh404.vscode-proto3-0.5.5
Behaviors
Expected behavior
Running
code foo.txt
when foo.txt doesn't exist should open a tab in vscode, insert the license, and leave the tab open.Actual behavior
Running
code foo.txt
when foo.txt doesn't exist opens the tab, inserts the license into the buffer, then closes the tab immediately after.Steps to reproduce the issue
code foo.txt
from the command line with foo.txt not existing