Skip to content

3F/SobaScript.Z.VS

Repository files navigation

Components for work with Visual Studio through SobaScript. Extensible Modular Scripting Programming Language.

-- #SobaScript

https://github.com/3F/SobaScript

Build status release-src License NuGet package Tests

Build history

License

Licensed under the MIT License

Copyright (c) 2014-2019  Denis Kuzmin < x-3F@outlook.com > GitHub/3F

[ ☕ Donate ]

SobaScript.Z.VS contributors: https://github.com/3F/SobaScript.Z.VS/graphs/contributors

Provides at least the following

DTEComponent

For work with EnvDTE

#[DTE exec: Build.SolutionPlatforms(x86)] 
#[DTE exec: Build.SolutionConfigurations(Debug_Exclude_Plugins_All)]
#[DTE exec: Build.Cancel]
...
string #[DTE events.LastCommand.Guid]
object #[DTE events.LastCommand.CustomOut]
object #[DTE events.LastCommand.CustomIn]

OwpComponent

For work with Output Window Pane.

#[OWP item("My Item").activate = true]
#[OWP item("My Item").write(true): mixed data]
#[OWP item("My Item").clear = true]
#[OWP item("My Item").delete = true]
string #[OWP out.Warnings]
integer #[OWP out.Warnings.Count]

List #[OWP out.Warnings.Codes]
C4702,4505,..
string #[OWP out.Errors]
Integer #[OWP out.Errors.Count]

List #[OWP out.Errors.Codes]
C4702,C4505,..

BuildComponent

Managing of build process at runtime.

#[(#[Build projects.find("ZenLib").IsBuildable]) {
    ...
}]

#[Build projects.find("ZenLib").IsBuildable = false]
#[(#[Build projects.find("ZenLib").IsDeployable]) {
    ...
}]

#[Build projects.find("ZenLib").IsDeployable= false]
enum #[Build type]
void cancel = boolean
#[Build solution.current.First.path]
#[Build solution.path("D:\tmp\app.sln").First.guid]
List #[Build solution.path(string sln).GuidList]
{73919171-44B6-4536-B892-F1FCA653887C},{4262A1DC-768F-43CC-85F5-A4ED9CD034CC},
{A7BF1F9C-F18D-423E-9354-859DC3CFAFD4}, ...
#[Build solution.path("D:\tmp\vsSolutionBuildEvent.sln")
        .projectBy("{97F0E2FF-42DB-4506-856D-8694DD99F827}").name]

About

Components for work with Visual Studio through SobaScript. Extensible Modular Scripting Programming Language.

Resources

License

Stars

Watchers

Forks

Packages

No packages published