Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: Add definition on hover for variables defined by BitBake #5

Merged
merged 3 commits into from
Sep 26, 2023

Conversation

idillon-sfl
Copy link
Member

No description provided.

@idillon-sfl
Copy link
Member Author

Note this is not intended to be perfect yet.

The context of the text is not yet taken into account. For example, the definition of the variable LAYERDIR will be displayed on testlayerdir. It will also show the definition of a variable if it is placed into a comment or anywhere it is not expected.

The formatting of the definitions will also need improvements.

}
}
const variablesNames = Object.keys(this._variablesInfos)
// Sort from longuest to shortest in order to make the regex greedy
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo: longuest -> longest

@idillon-sfl idillon-sfl merged commit 056083e into staging Sep 26, 2023
@idillon-sfl idillon-sfl deleted the Add-hover branch September 26, 2023 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants