Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nosami/scripting
A Visual Studio for Mac extension that allows creating VSMac extensions using script files
https://github.com/nosami/scripting
Last synced: about 15 hours ago
JSON representation
A Visual Studio for Mac extension that allows creating VSMac extensions using script files
- Host: GitHub
- URL: https://github.com/nosami/scripting
- Owner: nosami
- License: mit
- Created: 2022-09-30T14:50:24.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-30T14:51:08.000Z (over 2 years ago)
- Last Synced: 2024-11-08T09:51:29.443Z (about 2 months ago)
- Language: C#
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Scripting
An extension that makes it easy to run csx files as VSMac extensionsRunning the Scripting project should launch a new instance of VSMac with the addin loaded.
If this doesn't work the first time, try running
```sh
dotnet msbuild *.csproj /t:InstallAddin
```This will generate the mpack file in the bin folder as well as attempt to load it into VSMac.
# Usage
Drop csx files in ~/vsmacscripts and name them 0-script1.csx 1-myscript.csx etc
and run them from inside vsmac with ctrl+shift+0 and ctrl+shift+1There are 2 global objects available - `TextView` and `Log`