Git Product home page Git Product logo

Comments (4)

nadako avatar nadako commented on June 2, 2024 1

Alright, I've implemented the haxe.displayServerArguments setting for easy debugging (just set it to ["-v"]), so I'm gonna close this one.

As for your actual issue, this looks very much like a problem in Haxe itself, so the report (with reproducible example if possible) should go there. I think I also had some issue with similar error messages when switching between different completion arguments without restarting Haxe server, so it definitely has some problems. vshaxe will try to workaround these by just restarting haxe server when configuration changes (vshaxe/haxe-languageserver#10), but the actual cause should be fixed in Haxe itself.

from vshaxe.

nadako avatar nadako commented on June 2, 2024

Try adding -v as the first argument here https://github.com/vshaxe/haxe-languageserver/blob/master/src/haxeLanguageServer/HaxeServer.hx#L28

Then recompile the server and look at the "vshaxe" output channel in the output panel at the bottom.

We really should make that configurable.

from vshaxe.

Simn avatar Simn commented on June 2, 2024

Yes, maybe a displayServerArgs config entry would be a good idea. I'm not sure what would be useful other than -v, but you never know.

from vshaxe.

kevinresol avatar kevinresol commented on June 2, 2024
Processing Arguments [--cwd,/Users/kevin/Codes/mongo,mongo.hxml,-D,display-details,--no-output,--display,/Users/kevin/Codes/mongo/src/mongo/Database.hx@554,-D,display-stdin]
Defines bson=0.1.0,buddy=1.4.1,dce=std,debug=1,display-details=1,display-stdin=1,display=1,display_details=1,display_stdin=1,haxe3=1,haxe_ver=3.3,hxnodejs=4.0.8,jquery_ver=11203,js-es5=1,js=1,js_es5=1,js_es=5,minject=2.0.0-rc.1,mongo=0.0.0,nodejs=1,promhx=1.0.21,source-header=Generated by Haxe 3.3.0 (git build development @ 18faa39),tink_core=1.0.0-rc.12,tink_io=0.2.0,tink_macro=0.7.1,tink_streams=0.0.1,tink_tcp=0.1.0,tink_url=0.0.4,true=1
Using signature d070d7126911848b0f8e737d8685233d
> /Users/kevin/Codes/mongo/src/mongo/Database.hx:12: characters 2-7 : Module mongo.Options does not define type DropDatabaseOptions
> /Users/kevin/Codes/mongo/src/mongo/Database.hx:13: lines 13-40 : Defined in this class
> /Users/kevin/Codes/mongo/src/mongo/Database.hx:12: characters 2-7 : Module mongo.protocol.Message does not define type ReplyDropDatabase
> /Users/kevin/Codes/mongo/src/mongo/Database.hx:13: lines 13-40 : Defined in this class
> /Users/kevin/Codes/mongo/src/mongo/Database.hx:12: characters 2-7 : Module mongo.Options does not define type IsMasterOptions
> /Users/kevin/Codes/mongo/src/mongo/Database.hx:13: lines 13-40 : Defined in this class
> /Users/kevin/Codes/mongo/src/mongo/Database.hx:12: characters 2-7 : Module mongo.protocol.Message does not define type ReplyDropDatabase
Stats = 1 files, 301 classes, 1195 methods, 3 macros
Time spent : 0.520s

I see this response, there is no completion response there. How could I tell the reason?

Hm... this is strange, because those compilation error does not exist when I do a normal (non-display) compilation

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.