savoirfairelinux / vscode-bitbake

Bitbake language support for Visual Studio Code (Forked from EugenWiens)
https://marketplace.visualstudio.com/items?itemName=yocto-project.yocto-bitbake
Other
9 stars 0 forks source link

Complete the path instead just names for include and require statements #77

Closed WilsonZiweiWang closed 10 months ago

WilsonZiweiWang commented 10 months ago

It now completes the path up to the recipe folder: image image

deribaucourt commented 10 months ago

It now completes the path up to the recipe folder: image image

In this screenshot, it would be better if the description on the left would contain the ".inc" extension.

Also but maybe that's low-priority/A4, you could list the .inc files inside the same directory before the ones that are not related.

WilsonZiweiWang commented 10 months ago

It now completes the path up to the recipe folder: image image

In this screenshot, it would be better if the description on the left would contain the ".inc" extension.

Also but maybe that's low-priority/A4, you could list the .inc files inside the same directory before the ones that are not related.

Added extension in the label and added the sort logic to prioritize the completion items that are under the same recipe folder as the current document