https://github.com/stillat/statamic-urls
A Visual Studio Code extension for Statamic URLs
https://github.com/stillat/statamic-urls
Last synced: 3 months ago
JSON representation
A Visual Studio Code extension for Statamic URLs
- Host: GitHub
- URL: https://github.com/stillat/statamic-urls
- Owner: Stillat
- Created: 2018-04-29T21:24:14.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-29T21:33:09.000Z (about 7 years ago)
- Last Synced: 2025-01-28T21:39:14.017Z (4 months ago)
- Language: JavaScript
- Size: 33.2 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# StatamiC URLs
Provides incredibly simple Statamic collection utility commands when editing Statamic collection files.
## Known Limitations
* Currently, this extension only works with Statamic collections.
## Features
Within the Command Pallete, the following features are available:
* Copy Statamic Slug: Copies the Statamic collection URL for the current open document to the clipboard.
* Copy Statmaic Slug and Title: Copies the Statamic collection Title and URL for the current open document in Markdown format to the clipboard
* View Statamic Page in Browser: Appends the URL for the Statamic Collection URL, based on the current open document, and the configured Statamic base URL, and opens it in the browser.## Extension Settings
The `View Statamic Page in Browser` functionality requires that you configure your workspace settings similar to the following:
```json
{
"statamic.url": "https://stillat.com/"
}
```Just replace `https://stillat.com/` with your websites base URL. You can ommit the final `/` if you'd like, it will be removed automatically if it's included.