This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
init: | |
- git config --global core.autocrlf input | |
build_script: | |
- cmd: build.cmd BuildApp | |
- cmd: build.cmd IntegrationTests | |
test: off |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
nuget "install" "xunit.runner.console" "-OutputDirectory" "tools" "-ExcludeVersion" | |
nuget "install" "FAKE.Core" "-OutputDirectory" "tools" "-ExcludeVersion" | |
nuget restore | |
:Build | |
SET TARGET="Default" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#r @"tools/FAKE.Core/tools/FakeLib.dll" | |
open Fake | |
open System | |
let authors = ["Sdl Community"] | |
//project details | |
let projectName = "GroupShareKit" | |
let projectDescription="A GroupShare API client library for .NET" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Get the editor | |
var editorController = SdlTradosStudio.Application.GetController<EditorController>(); | |
if (editorController == null) return; | |
if (editorController.ActiveDocument == null) return; | |
//get the active segment pair from the current active document in the editor | |
var activeSegmentPair = editorController.ActiveDocument.ActiveSegmentPair; | |
if (activeSegmentPair == null) return; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var studio = new Studio(); | |
var studioVersion = studio.GetStudioVersion(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Sdl.Core.Globalization; | |
using Sdl.ProjectAutomation.Core; | |
using Sdl.ProjectAutomation.FileBased; | |
using System; | |
using System.IO; | |
using System.Linq; | |
namespace GS.ProjectAnalysisTest | |
{ | |
class Program |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Sdl.Desktop.IntegrationApi; | |
using Sdl.Desktop.IntegrationApi.Extensions; | |
using Sdl.TranslationStudioAutomation.IntegrationApi; | |
using System; | |
using System.Text; | |
using System.Windows.Forms; | |
namespace CurrentSelectionSample.RibbonAction | |
{ | |
[Action(Id = "SelectionSample", Name = "Test Me", Icon = "CursorIcon")] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Linq; | |
using System.Text; | |
using System.Windows.Forms; | |
using NotificationsSample.EventAggregator; | |
using Newtonsoft.Json; | |
using Sdl.Desktop.IntegrationApi; | |
using Sdl.Desktop.IntegrationApi.Extensions; | |
using Sdl.Desktop.IntegrationApi.Interfaces; | |
using Sdl.ProjectAutomation.FileBased.Events; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// choose either `'stable'` for receiving highly polished, | |
// or `'canary'` for less polished but more frequent updates | |
updateChannel: 'stable', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[TellMeProvider] | |
public class QuickInfoTellMeProvider : ITellMeProvider | |
{ | |
public string Name => "QuickInfo tell me provider"; | |
public AbstractTellMeAction[] ProviderActions => new QuickInfoTellMeAction[] | |
{ | |
new QuickInfoTellMeAction | |
{ | |
Keywords = new string[] { "quick", "info", "quickinfo" } |