Skip to content

subsets for settings editor #197415

@bbannon

Description

@bbannon

Didn't find any duplicates, but it would take a month to search them all.

On the 'control comma' settings editor screen,
it would be nice if 'user', 'workspace' and 'project folder' were subsets.

The 'user' settings should be unique to me and my computer;

  • my name and credentials
  • my theme: (light | dark), font-face, font-size, screen reader, etc.
  • where are composer, docker, php, etc. installed
    • and, by the way, ONE path for all extensions to use!
  • other things that should NOT be committed to github | bitbucket | etc

The 'workspace' settings should be common things across all my projects;

  • indent (space | tab) size
  • 80 characters per line
  • common vscode extensions: eslint, prettier, stylelint, etc.
  • dev package.json

Then 'project folder' settings specific to each project;

  • The ONLY things pushed to github repository
  • eol
  • trim whitespace
  • character set (utf-8, latin, etc)
  • Code Spell Check 'project-words.txt'
  • The fool boss wants tab indents and no lines longer than 65 characters.
  • composer for devs
  • composer for end users
  • package.json for production server
  • specific vscode extensions for devs
  • which file types should minimize to 'distro' folder

There may be some overlaps between workspace and project settings.

When I init a new project, ask which 'workspace.config' files to copy to 'project/src/', by checkbox.
Perhaps, ask which workspace files to copy to 'project/distro' folder. Or setup '.config' for these 2?

In the settings editor, instead of going through settings 3 times for user, workspace and project, have checkbox by EACH item - user, workspace, open project; that determines where settings are saved all at once. Things unique to 'user' should not allow checkboxes for workspace or project.
Maybe radio buttons would be better; workspace, open project , both?

I think I'll end there, before this becomes a novel.

Metadata

Metadata

Assignees

Labels

*caused-by-extensionIssue identified to be caused by an extension*out-of-scopePosted issue is not in scope of VS Codeinfo-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions