Giter Site home page Giter Site logo

Comments (3)

AlexHaxe avatar AlexHaxe commented on September 21, 2024

Haxe languageserver requires a .hxml file to know what classpaths, libraries and target to use when offering completion or other compiler services. lime projects use a project.xml file (because they need additional build options).
in VSCode lime extension bridges the gap, for other editors you will need to provide a .hxml file to make it work.

you might be able to point it to the .hxml file generated when building a lime project (e.g. <output>/<target>/haxe/debug.hxml). but that requires at least one lime build <target> and of course locks you into that specific target (for completion and compiler services).
switching to a different target is a click on a status bar text in VSCode, but without lime extension you will have to modify your LSP settings (I don't know if sublime allows per project LSP settings, so you might have to change your global settings everytime you change targets).

from vshaxe.

tophattom avatar tophattom commented on September 21, 2024

Thanks for the info! I'll have to try out the debug.hxml you mentioned.

Can you describe how the Lime extension bridges the gap? I was wondering if something similar could be developed for Sublime. Or better yet, extend the Hate language server to maybe call lime to generate required configuration.

from vshaxe.

AlexHaxe avatar AlexHaxe commented on September 21, 2024

Can you describe how the Lime extension bridges the gap? I was wondering if something similar could be developed for Sublime.

see https://github.com/openfl/lime-vscode-extension

Or better yet, extend the Haxe language server to maybe call lime to generate required configuration.

I think that's a bit beyond the scope of Haxe languageserver.

from vshaxe.

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.