microsoft / vscode-remote-release

Visual Studio Code Remote Development: Open any folder in WSL, in a Docker container, or on a remote machine using SSH and take advantage of VS Code's full feature set.
https://aka.ms/vscode-remote
Other
3.66k stars 286 forks source link

Calling `code-insiders` from WSL creates a `.vscode-insiders` file in $PWD #539

Closed virgilwashere closed 5 years ago

virgilwashere commented 5 years ago

Issue Type: Bug

Calling code-insiders from WSL opens the target file, but also creates a .vscode-insiders file.

$ code-insiders LICENSE.md

Editor takes focus and opens with 2 new tabs. .vscode-insiders is focussed tab, and buffer looks like it has contents of LICENSE.md. If I change focus to another edit tab, and return, buffer is empty.

Tried again with another file, and tried to save immediately. Created a .vscode-insiders with no data.

VS Code version: Code - Insiders 1.35.0-insider (e9c50663154c369a06355ce752b447af5b580dc3, 2019-05-30T05:19:53.372Z) OS version: Windows_NT x64 10.0.18362 Remote OS version: Linux x64 4.4.0-18362-Microsoft Remote OS version: Linux x64 4.4.0-18362-Microsoft Remote OS version: Linux x64 4.4.0-18362-Microsoft

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz (4 x 1696)| |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)|11.45GB (1.43GB free)| |Process Argv|| |Screen Reader|no| |VM|0%| |Item|Value| |---|---| |Remote|WSL| |OS|Linux x64 4.4.0-18362-Microsoft| |CPUs| Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz (4 x 1701)| |Memory (System)|11.45GB (1.43GB free)| |VM|0%| |Item|Value| |---|---| |Remote|WSL| |OS|Linux x64 4.4.0-18362-Microsoft| |CPUs| Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz (4 x 1701)| |Memory (System)|11.45GB (1.43GB free)| |VM|0%| |Item|Value| |---|---| |Remote|WSL| |OS|Linux x64 4.4.0-18362-Microsoft| |CPUs| Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz (4 x 1701)| |Memory (System)|11.45GB (1.43GB free)| |VM|0%|
Extensions (121) Extension|Author (truncated)|Version ---|---|--- file-templates-manager|3ax|1.5.0 Bookmarks|ale|10.4.4 project-manager|ale|10.5.2 aws-toolkit-vscode|ama|0.1.2 conflict-squeezer|ang|1.0.1 gitstash|art|2.1.1 markdown-checkbox|bie|0.1.3 markdown-emoji|bie|0.0.9 markdown-footnotes|bie|0.0.7 markdown-mermaid|bie|1.1.4 markdown-preview-github-styles|bie|0.1.6 markdown-yaml-preamble|bie|0.0.4 better-toml|bun|0.3.2 better-phpunit|cal|1.4.0 npm-intellisense|chr|1.3.0 path-intellisense|chr|1.4.2 vscode-devtools-for-chrome|cod|0.0.5 transformer|dak|1.6.0 markdown-table-prettify|dar|2.4.0 vscode-markdownlint|Dav|0.26.0 vscode-dash|dee|2.1.0 vscode-faker|dee|1.3.0 docs-markdown|doc|0.2.5 docs-preview|doc|0.3.19 docs-yaml|doc|0.2.1 githistory|don|0.4.6 xml|Dot|2.4.0 vscode-pandoc|Dou|0.0.8 gitlens|eam|9.8.1 vscode-html-css|ecm|0.2.0 EditorConfig|Edi|0.13.0 vscode-npm-script|eg2|0.3.7 php-debug|fel|1.13.0 php-intellisense|fel|2.3.10 vsc-travis-ci-status|fel|1.1.0 code-runner|for|0.9.9 shell-format|fox|4.0.11 vscode-pull-request-github|Git|0.7.0 mdmath|goe|2.3.9 todo-tree|Gru|0.0.132 gitattributes|has|0.4.1 rest-client|hum|0.21.3 composer|ika|0.7.1 path-autocomplete|ion|1.13.3 mdhelper|jos|0.0.11 vscode-jmespath|jos|0.0.6 vscode-insertdatestring|jsy|2.2.4 vscode-commitizen|Kni|0.8.2 vscode-format-context-menu|lac|1.0.4 the-travis-client|Lak|0.0.9 git-indicators|lam|2.1.1 restructuredtext|lex|109.0.0 vscode-smart-column-indenter|lmc|0.0.13 bash-ide-vscode|mad|1.3.3 markdown-shortcuts|mdi|0.11.0 vscode-deploy-reloaded|mkl|0.87.2 vscode-extensions-pack-builder|mrl|0.1.3 python|ms-|2019.5.17517 Go|ms-|0.10.2 powershell|ms-|2019.5.0 sqltools|mtx|0.19.3 color-highlight|nau|2.3.0 live-server-preview|neg|0.1.4 php-docblocker|nei|1.8.0 gremlins|nho|0.14.3 indent-rainbow|ode|7.4.0 jenkins|p1c|0.1.0 vscode-gitignore-generator|pio|1.0.1 toggle|reb|0.0.1 vscode-xml|red|0.6.0 vscode-yaml|red|0.4.1 vscode-sort-json|ric|1.13.0 bash-debug|rog|0.3.5 partial-diff|ryu|1.4.0 multi-command|ryu|1.3.0 yo|sam|0.9.3 trailing-spaces|sha|0.3.1 markdown-preview-enhanced|shd|0.4.0 git-autoconfig|shy|0.0.1 vscode-fileutils|sle|2.14.4 code-spell-checker|str|1.7.12 shellcheck|tim|0.6.0 vscode-status-bar-format-toggle|tom|1.5.0 selectline-statusbar|tom|0.0.2 lorem-ipsum|Tyr|1.2.0 shell-launcher|Tyr|0.3.0 better-align|wwm|1.1.6 markdown-pdf|yza|1.2.0 markdown-all-in-one|yzh|2.3.1 project-tree|zhu|0.2.6 html-snippets|abu|0.2.1 vscode-browser-preview|auc|0.5.9 bat-snippets|bat|0.2.0 color-info|bie|0.5.1 emojisense|bie|0.5.1 bracket-pair-colorizer-2|Coe|0.0.28 vscode-zonefile|Com|0.0.4 vscode-gitignore-syntax|dun|0.1.2 LogFileHighlighter|emi|2.5.0 rightclick-git|Eve|1.0.0 file-icons|fil|1.0.17 aws-sdk-snippets|frh|1.0.0 nginx-log-highlighter|jak|1.1.0 bats|jet|0.1.3 dotenv|mik|1.0.1 remote-containers|ms-|0.57.0 remote-ssh|ms-|0.37.0 remote-ssh-edit|ms-|0.37.0 remote-ssh-explorer|ms-|0.37.0 remote-wsl|ms-|0.36.0 vscode-remote-extensionpack|ms-|0.14.0 material-icon-theme|PKi|3.8.0 shellman|Rem|4.3.1 jinjahtml|sam|0.10.3 gitconfig|sid|2.0.0 open-in-browser|tec|2.0.0 vscode-gitmoji-snippets|thi|3.2.0 highlight-matching-tag|vin|0.9.2 vscode-icons|vsc|8.7.0 vscode-nginx|wil|0.7.1 JavaScriptSnippets|xab|1.7.2 (14 theme extensions excluded)
aeschli commented 5 years ago

Fixed with ms-vscode-remote.remote-wsl@0.37.0