WebTemplateStudio icon indicating copy to clipboard operation
WebTemplateStudio copied to clipboard

Pin README by default in VSCode after opening project

Open amrrsharaff opened this issue 6 years ago • 6 comments

amrrsharaff avatar Apr 23 '19 17:04 amrrsharaff

Removing from build milestone, we're not shipping with a .VSCode for initial release

dandua98 avatar Apr 23 '19 22:04 dandua98

@amrrsharaff @dandua98 How were you guys planning on implementing this?

After investigating a bit, I found these:

  1. We could try generating .vscode folder with this setting "workbench.startupEditor": "readme", in settings.json, but it seems that this specific workspace setting cannot override the user setting. No other setting seemed suitable
  2. I looked into the VSCode commands API, it supports opening a folder or a file in a new window, but there is no way open a folder in a new window AND then open a file in that window

Just wondering if you guys had better ideas

jsondoo avatar Aug 09 '19 05:08 jsondoo

Seems perfectly fine to go with ‘workbench.startupEditor’ to me. Most users would rarely override that setting anyway and if they did, you probably don’t wanna get in their way and force your workflow on them

dandua98 avatar Aug 09 '19 05:08 dandua98

This is still the biggest user pain point that hasn't been addressed for the post-generated code experience!

xtinah-w avatar Aug 14 '19 19:08 xtinah-w

I thought of a way to do this. Although the explorer tree-view by default remains unfocused so I feel like it wouldn't help too much. If the user opens the file explorer in vscode manually they would see their project is there (The readme would open automatically).

SahilTara avatar Aug 15 '19 02:08 SahilTara