Giter Site home page Giter Site logo

Comments (7)

Gama11 avatar Gama11 commented on September 24, 2024 1

Not really, the current assumption is that things can't be out of sync. ;)

from hxcpp-debugger.

Gama11 avatar Gama11 commented on September 24, 2024

The reason is simply so the lib and the extension can't get out of sync, and we don't have to worry about releasing them separately.

So Kha can't use Haxelibs at all? If so, couldn't you just add the <User>/.vscode/extensions/vshaxe.hxcpp-debugger-<version>/hxcpp-debug-server directory as a classpath?

from hxcpp-debugger.

sh-dave avatar sh-dave commented on September 24, 2024

It can use it, but i don't do it and have all my project dependencies versioned via submodules. But i'll just link this repo instead and manually include the extensions classpath and inject the required macro. (This would have been done automatically by khamake when you project.addLibrary() something, as it parses haxelib.json and extraParams.hxml.)

from hxcpp-debugger.

Gama11 avatar Gama11 commented on September 24, 2024

I think having it as a submodule wouldn't have the usually desired effect (reproducibility) anyway. It doesn't really allow you to lock things down to specific versions here, since the hxcpp-debug-server lib depends on the extension (which will at some point auto-update itself out of sync with the submodule, unless you disable auto-updates).
And even if you included the extension iteslf as a submodule too, it technically depends on a specific version of VSCode... ;)

from hxcpp-debugger.

sh-dave avatar sh-dave commented on September 24, 2024

Oh ok thanks for the info, didn't knew how this all plays together.

I'm still going with the linked submodule for now, as i remembered that khamake should be able to deal with relative paths, so i can just add project.addLibrary('libs/hxcpp-debugger/hxcpp-debug-server'); without all that manual handling.

Is there any versioning checking going on so that the extension or lib know they don't fit together, and i should update my submodule pointer (or maybe even if the vscode version is unsupported)?

from hxcpp-debugger.

sh-dave avatar sh-dave commented on September 24, 2024

But won't that fail when the extension updates and the user doesn't install the latest library now as well 🤔

from hxcpp-debugger.

Gama11 avatar Gama11 commented on September 24, 2024

The extension automatically updates it when needed.

from hxcpp-debugger.

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.