What's new in Read-only Indicator 3.10
- Published to Open VSX
- Adds Folder Level commands support
- Adds Workspace Trust support
Support
Read-only Indicator is an open source extension created for Visual Studio Code. While being free and open source, if you find it useful, please consider supporting it.
Read-only Indicator
It adds an area in the status bar, indicating if the file is read-only or writeable. It will be automatically updated, every time you open any file.
Features
The indicator is automatically updated. You don't need to do anything.
File Access |
Status Bar Preview |
Read-only |
|
Writeable |
|
Available commands
File Access: Change File Access
File Access: Toggle File Access
File Access: Make Read-only
File Access: Make Writeable
Available commands in Explorer view
Make Read-only
Make Writeable
Note
These commands are not available on Linux.
Available settings
Defines the position where the Status Bar indicator is located
"fileAccess.position": "left" // or "right"
Define how much information is displayed in the Status Bar indicator
"fileAccess.uiMode": "complete" // or "simple"
Hides the Status Bar indicator when the file is Writeable
"fileAccess.hideWhenWriteable": true // or false
Set what to do when the Status Bar indicator is clicked
"fileAccess.indicatorAction": "choose" // or "toggle"
Available colors
For more information about customizing colors in VSCode, see Theme Color.
- Choose the Status Bar indicator text color when the file is Read Only
"workbench.colorCustomizations": {
"fileAccess.readonlyForeground": "#ff7fc0",
}
- Choose the Status Bar indicator text color when the file is Writeable
"workbench.colorCustomizations": {
"fileAccess.writeableForeground": "#7fcc7f",
}
Contributors
Special thanks to the people that have contributed to the project:
- Riku Kanayama (@k-kuroguro) - Wrong description on Readme (see PR)
- dO.Ob -> zhaolei (@zzhaolei) - Support folder level commands to MacOS (see PR)
- Riku Kanayama (@k-kuroguro) - Typos in settings names (see PR)
- Riku Kanayama (@k-kuroguro) - Support folder level commands to change File Access (see PR)
- Riku Kanayama (@k-kuroguro) - New Command:
File Access: Toggle File Access
(see PR)
- Chris Antos (@chrisant996) - Settings to choose the colors of the Status Bar text (see PR)
- Chris Antos (@chrisant996) - Only show Status Bar indicator when Read-only (see PR)
- joshwiker14 (@joshwiker14) - Add support for MacOs and Linux (see PR)
- Tom Chapple (@TomChapple) - Allow for toggling File Access via Status Bar (see PR)
- Franklin Yu (@FranklinYu) - Reformat Readme (see PR)
Also thanks to everyone who helped opening issues with ideas and bug reports.
License
MIT © Alessandro Fragnani