Comments (4)
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.
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.
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.
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)
- Couldn't connect on 127.0.0.1:6000 with VSCode 1.82.0 HOT 25
- Using external builder - Can I use port 6000 for cache
- Building Cache.... Forever HOT 1
- `Type not found` when using HaxeFlixel HOT 3
- Automatic build when debugging hashlink with hot reload
- Type not found : FileSystem HOT 3
- Auto-detect cache build failure after switching Haxe versions HOT 9
- Extra field generation
- Cannot generate all missing fields for interfaces or abstract classes HOT 1
- @:structInit hover does not have doc comments
- Compilation in progress feedback HOT 21
- @:structInit required fields generation
- Signature help points one parameter behind HOT 2
- Code action to convert local vars to class fields HOT 2
- Action "add missing field" adds the field after another field's documentation. HOT 2
- Terminal output looks awful when compiling through server HOT 4
- Setting breakpoint in flixel.graphics.FlxGraphic causes the program to crash. HOT 2
- [ENHANCEMENT] Implement support for logpoints and hit count breakpoints
- Hover Hints and Code Generation not working HOT 4
- IntelliSense not working when I put `import js.Browser;` in Haxe code HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vshaxe.