https://github.com/dlech/vscode-chmod
Visual Studio Code Extention to Set Executable Bits
https://github.com/dlech/vscode-chmod
Last synced: 11 months ago
JSON representation
Visual Studio Code Extention to Set Executable Bits
- Host: GitHub
- URL: https://github.com/dlech/vscode-chmod
- Owner: dlech
- License: mit
- Created: 2017-04-01T04:10:12.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T15:27:17.000Z (over 3 years ago)
- Last Synced: 2024-04-14T19:53:38.165Z (about 2 years ago)
- Language: TypeScript
- Size: 226 KB
- Stars: 13
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# chmod README
This is a super-simple extension that provides commands equivalent to
`chmod +x` and `chmod -x`.
## Usage
This extension adds a context menu item for setting or clearing the executable
bits on an individual file. Which context menu depends on your operating system.
### Windows
On Windows, use the file context menu in the *Source Control Activity View*.

To clear the executable bits, hold down Alt or Shift when
right-clicking.
**NOTE:** Since Windows doesn't have the notion of POSIX file permissions, `git`
is used to add and remove the executable bits. As a side-effect, an untracked
file *must* be added to the git index in order to set the executable bits.
### macOS / Linux
On other operating systems, use the file context menu in the *Explorer Activity
View*. File system permissions are modified just as if running `chmod` in a
terminal.