GithubHelp home page GithubHelp logo

Comments (6)

jzabroski avatar jzabroski commented on September 9, 2024 1

@kevcunnane Awesome! Thank you so much. If it becomes available I'd help write some docs on how to use it. I often find having someone new write how-to docs, and then having the experts review it, gives the best results. It produces docs written in plain terms, but then the experts can add nuances/color as they see fit.

from sqltoolsservice.

kevcunnane avatar kevcunnane commented on September 9, 2024

We don't currently publish any from this repository, but I plan to change that in order to enable reuse of the hosting service in the future. I don't have any dates for this but will let you know. As part of this work, it'd be feasible to create a nuget for other features too so will see if I can fit this in.

from sqltoolsservice.

jmezach avatar jmezach commented on September 9, 2024

I have a need for having this available as a NuGet package in order to fix rr-wfm/MSBuild.Sdk.SqlProj#23. Specifically I'm looking at the BatchParser stuff. Currently I'm using reflection with the public DacFx model, but it doesn't work on Linux because it is uppercasing the entire path. Since it is all internal I can't implement parts of it myself. But it looks like the BatchParser here might help me solve that issue.

from sqltoolsservice.

Charles-Gagnon avatar Charles-Gagnon commented on September 9, 2024

@jmezach If you just need BatchParser and not any of the specific SqlToolsService stuff - then https://www.nuget.org/packages/Microsoft.SqlServer.SqlManagementObjects/ is available to use. (This is the package that SqlToolsService consumes for all the SMO/parsing logic)

from sqltoolsservice.

jmezach avatar jmezach commented on September 9, 2024

Well, I would like to use the Parser class to parse a script so that I can collect the referenced includes from there by implementing the [ICommandHandler[(https://github.com/microsoft/sqltoolsservice/blob/main/src/Microsoft.SqlTools.ManagedBatchParser/BatchParser/ICommandHandler.cs) interface.

from sqltoolsservice.

Charles-Gagnon avatar Charles-Gagnon commented on September 9, 2024

Ah - unfortunately there aren't any current plans to go forward with publishing an official package for this but this is under an MIT license so you're free to copy and modify the source as long as you include that license in your project.

from sqltoolsservice.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.