|
Name | Type | Default | Description |
---|---|---|---|
Profile Status: Alignment | String (enum) | "Left" | Set the position on the status bar. Values are : "Left" and "Right". |
Current Limitations
The Extension API does not have an event to indicate that the profile of the workspace has changed. Most but not all scenarios are covered by this extension because typically when you switch to another profile, the workspace is reloaded which triggers the extension to update the status bar item. The scenarios that are not covered are:
- If you create a new, empty profile when running the command
Profiles: Create Profile
with the default settings, the profiles changes but VS Code is not reloaded; - If you have the same workspace open in 2 VS Code instances and switch profile in one. The profile is not updated in the other instance.
If you would like the VS Code team to provide API support for this feature, you can leave a review in the VS Code Marketplace, and I raise another issue.
Contributions
You are welcome to raise an issue. Since this as an experiment, I will not be doing much more with this.
You can consult the FAQ section for some common issues that you may encounter.
FAQ
Why isn't it appearing in the Status Bar?
Perhaps, this extension is not included in your current profile. Run the command Profiles: Show contents...
to check.
The item may have been forced out (not enough room), or it is hidden/disabled! Right-clicking on the status bar shows a complete list of status bar items, and shows if they are enabled or not. You can disable other items if the status bar is crowded.
Does this extension support multi-root workspaces?
Nope.
Does this support remote or Windows Subsystem for Linux (WSL)?
This extension looks in the local file system for the global state in a file called storage.json. This may not be available when you are working remotely, or in WSL. I do not use VS Code in this way, so I do not know how it is exactly! If you have a suggestion to support these environments, let me know.