Git Product home page Git Product logo

Comments (11)

kevinresol avatar kevinresol commented on June 8, 2024 1

Basically you don't need to edit settings.json manually.

Just follow the framework notes, i.e. generate the hxml with the command haxelib run lime display linux > completion.hxml. Then Cmd+Shift+P on code and type init haxe. Then things should work already.

It worked on my project.

from vshaxe.

Gama11 avatar Gama11 commented on June 8, 2024

Did you select a .hxml file for completion? https://github.com/vshaxe/vshaxe#framework-notes

Are you using Haxe 3.3.0-rc1 or higher?

from vshaxe.

hopewise avatar hopewise commented on June 8, 2024

I didn't select .hxml file for completion, actually my project has no .hxml file
Yes, I am using haxe 3.3.0-rc1

from vshaxe.

Gama11 avatar Gama11 commented on June 8, 2024

That's why I linked to the framework notes section, it describes how you can get Lime to generate one.

Alternatively, you can also use one of the .hxml files Lime generates on build, for instance Export/flash/haxe/debug.hxml.

from vshaxe.

hopewise avatar hopewise commented on June 8, 2024

So, once I have .hxml file, completion, and goto definition will just work?

from vshaxe.

Gama11 avatar Gama11 commented on June 8, 2024

Once you add it to haxe.displayConfigurations, yes: https://github.com/vshaxe/vshaxe#configuration

from vshaxe.

hopewise avatar hopewise commented on June 8, 2024

Thanks, I also found this useful link to edit the settings.json that I didn't know about: https://code.visualstudio.com/docs/customization/userandworkspace

from vshaxe.

Gama11 avatar Gama11 commented on June 8, 2024

Have you managed to get completion to work? Can this be closed?

from vshaxe.

hopewise avatar hopewise commented on June 8, 2024

I have updated the settings.json that is at the user level, and I've took a debug.hxml from Export/flash/haxe/debug.hxml but I've noticed that the autocomplete will list every thing, not restricted to the class members it self.. I am not sure as I didn't have the time, I will check again..

from vshaxe.

trsh avatar trsh commented on June 8, 2024

Same for me.

from vshaxe.

Gama11 avatar Gama11 commented on June 8, 2024

Closing this, since it was probably just a configuration issue.

#18 should make setup with OpenFL a bit less painful in the future.

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.