Skip to content

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

@jrmejiaa

Description

@jrmejiaa

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions