-
Notifications
You must be signed in to change notification settings - Fork 2
Github connector
tomdam edited this page Jun 17, 2020
·
1 revision
Github connector is a SPCoder module that can be used to connect to a specific Github repository and to show the file structure in SPCoder's Explorerview. You can only read content from github with this connector.
You can connect to a Github repository by entering the repo url to Explorerview address field, choosing the Github connector and clicking the Connect button.
The other way to connect to a Github repository is by calling the main.Connect
method:
main.Connect("https://github.com/tomdam/spcoder", "Github repo");
main.Connect("https://github.com/dotnet/roslyn", "Github repo");
SPCoder Explorerview shows the context menu when an item is clicked with right mouse button. When you right-click on an item added by Github connector, the following menu actions are available:
- Files
- Open - downloads the file and displays its content in SPCoder code editor
- Copy link - copies the link to file to clipboard
- Subfolders
- Open in browser - opens the github page for the folder in browser
- Copy link - copies the link to file to clipboard