genericptr / pascal-language-server

LSP server implementation for Pascal
GNU General Public License v3.0
49 stars 12 forks source link

Compile error #79

Closed chunqian closed 1 year ago

chunqian commented 1 year ago

Compile with Makefile, I found error:

/Users/tim/Downloads/.env/pascal/pascal-language-server/src/serverprotocol/PasLS.General.pas(445,24) Error: (5038) identifier idents no member "SortMethodForCompletion"
/Users/tim/Downloads/.env/pascal/pascal-language-server/src/serverprotocol/PasLS.General.pas(445,49) Error: (5000) Identifier not found "icsScopedAlphabetic"
PasLS.General.pas(541) Fatal: (10026) There were 2 errors compiling module, stopping
Fatal: (1018) Compilation aborted
make[1]: *** [main.ppu] Error 1
make: *** [build-pasls] Error 2
genericptr commented 1 year ago

@mvancanneyt Maybe a regression from the last PR? BTW, are you getting notifications on this repo? Sorry but I haven't had time to test your recent changes extensively so it's very possible things slip through.

mvancanneyt commented 1 year ago

You need the latest trunk version of Lazarus to compile this.

They changed the interface of the codetools :cry:

chunqian commented 1 year ago

@genericptr @mvancanneyt With the latest trunk version of Lazarus, Compile OK. But pasls can't works, before the last PR, it works well.

mvancanneyt commented 1 year ago

Strange, because I tested it and it worked OK here. Can you please describe the error you get ?

chunqian commented 1 year ago

@mvancanneyt I think the problem is ApplySettings procedure not used.

image

Fix it.

image