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 definitions for embedded languages #38

Merged

Conversation

idillon-sfl
Copy link
Member

Note some definitions do not work properly, such as the ones for the utils and contains parts of bb.utils.contains. These are the sames the same for which hover is deffective.

I tried something in order to handle d and e. I am not sure this is the desired behavior. Please tell me what you think of it.

@idillon-sfl idillon-sfl force-pushed the add-embedded-definitions branch from 393e86d to 256ccde Compare January 2, 2024 22:48
Copy link
Member

@deribaucourt deribaucourt left a comment

Choose a reason for hiding this comment

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

The newest patchset does not seem to work on my setup.
Any time I hover onto embedded functions, nothing happens except the problems tab flashes some errors very quickly. Looks like the embedded document gets properly handled but immediately disabled.

@idillon-sfl idillon-sfl force-pushed the add-embedded-definitions branch from 256ccde to be6a417 Compare January 3, 2024 16:08
deribaucourt
deribaucourt previously approved these changes Jan 3, 2024
Copy link
Member

@deribaucourt deribaucourt left a comment

Choose a reason for hiding this comment

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

Doesn't work inside functions, but that's expected with dynamic Python typing.

@idillon-sfl
Copy link
Member Author

definition.test.ts and command-wrapper.test.ts were both opening meta-fixtures/definition.bb. For reasons that are not well understood, it was making the tests fail. Now they both open a different file.

@idillon-sfl idillon-sfl merged commit 92accaf into yoctoproject:staging Jan 4, 2024
1 check passed
@idillon-sfl idillon-sfl deleted the add-embedded-definitions branch January 4, 2024 13:39
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