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: 9 months 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 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-30T14:51:08.000Z (over 3 years ago)
- Last Synced: 2024-12-31T13:30:09.355Z (over 1 year 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 extensions
Running 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+1
There are 2 global objects available - `TextView` and `Log`