Skip to content

stallpool/vscode-readonly-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vscode-readonly-extension

This is a sample extension to enable editor read-only mode

  • it is not complete read-only; it is read-only only when typing
  • it does not work for copy/paste and many other commands that change contents
  • define configuration item 'editor.readOnly' for enabling/disabling read-only mode
  • click on 'read only' button on status bar to enable/disable mode

Show read-only mode

ref:

build:
npm install
./node_modules/.bin/vsce package