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: Extract Yocto tasks from docs and use them in suggestions #31

Merged
merged 1 commit into from
Oct 25, 2023

Conversation

WilsonZiweiWang
Copy link
Collaborator

It stores a source file for Yocto tasks for extraction every time the server is initialized. The extracted tasks are formatted to completion items.

Tests are updated accordingly.

@WilsonZiweiWang WilsonZiweiWang self-assigned this Oct 20, 2023
@WilsonZiweiWang WilsonZiweiWang changed the title Feature 10095 improve code completion Feat: Extract Yocto tasks from docs and use them as snippets Oct 20, 2023
@WilsonZiweiWang WilsonZiweiWang changed the title Feat: Extract Yocto tasks from docs and use them as snippets Feat: Extract Yocto tasks from docs and use them in suggestions Oct 20, 2023
@WilsonZiweiWang WilsonZiweiWang added the enhancement New feature or request label Oct 20, 2023
@WilsonZiweiWang
Copy link
Collaborator Author

Sample result:
image

@WilsonZiweiWang WilsonZiweiWang force-pushed the Feature-10095-Improve-code-completion branch from f286c40 to 8831027 Compare October 20, 2023 19:37
server/src/BitBakeDocScanner.ts Outdated Show resolved Hide resolved
server/src/BitBakeDocScanner.ts Show resolved Hide resolved
@deribaucourt
Copy link
Member

Great feature! Some comments on implementation.

@WilsonZiweiWang WilsonZiweiWang force-pushed the Feature-10095-Improve-code-completion branch from 8831027 to 43aeb44 Compare October 23, 2023 15:36
It stores a source file for yocto tasks for extraction everytime
the server is initialized. The extracted tasks are formatted to
completion items
@WilsonZiweiWang WilsonZiweiWang force-pushed the Feature-10095-Improve-code-completion branch from 43aeb44 to dfce3ae Compare October 24, 2023 15:13
@WilsonZiweiWang WilsonZiweiWang merged commit 6077ec5 into staging Oct 25, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants