vscode-bitbake icon indicating copy to clipboard operation
vscode-bitbake copied to clipboard

Bitbake-LSP server 'fails' with OVERRIDE variable and other behaviors

Open jrmejiaa opened this issue 1 year ago • 1 comments

Dear devs,

While using this amazing extension, I found out that are certain cases where the LSP seems to fail to highlight the information correctly. I will attach some photos so that you see what I mean, otherwise I do not see how you can see it (Let me know if there is a better way).

Case 1 The variable OVERRIDES seems to have a particular behavior when using inside of a local.conf or recipe. As soon as I write that particular variable, the next three (or four) lines are no longer correctly recognize. This happens only with this variable as far as I know. code code_1

Case 2 When you break some long variables like for example in this case, this will damage the highlight of the whole file. I am not sure exactly why, because for example the SRC_URI normally has that behavior and I do not have any problem in that case code_2

Case 3 This case is maybe not that important, but the highlight of shell script has this issue where the then is not recognize as a keyword. code_4

Thanks again for your time.

Sincerely,

Jairo M

jrmejiaa avatar Nov 26 '24 16:11 jrmejiaa

Thank you for taking the time to report the bugs (and thank you for the kind words ☺️). We hope to come up with fixes very soon!

idillon-sfl avatar Nov 29 '24 02:11 idillon-sfl