|
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 VS Code 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 give a 👍 (thumbs up) on the feature request for adding a profile change event.
Contribute
Contributions are welcome. If you find a bug, please raise an issue. You can consult the FAQ section for some common issues that you may encounter.
My time is limited for PRs, please raise an issue to discuss first please.
Appreciate
You can show your appreciation by:
- Buying me a coffee or sponsoring me. This will offer me encouragement to continue with this project and others. It can provide a path to dedicating more time to open-source in the future.
- Starring the repo 🌟, and leaving a review. This will help other people find this.
Thank you! 🙏
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?
No, I do not use them!
If you would like support added, raise an issue to request the feature.
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.