hubspot-cms-vscode
hubspot-cms-vscode copied to clipboard
[public bug report] Issue in path autocomplete for module blocks with parent paths
Describe the bug
I also cannot get path autocompletion for module blocks path in my template to work in parent directories... If I type {% module "button" path=" I will get my current folder files as suggestions, but as soon as I type ../ to go towards my modules folder, the autocompletion stops to work.
I get a lint warning "unable to find module ../../modules/button" but the module is showing as expected in my demo page using the template.
(My starting point is a header partial, thus going up from partials -> templates -> src and then down into modules -> button.module.)
https://github.com/HubSpot/hubspot-cms-vscode/pull/146#issuecomment-1741752285
Expected behavior
Screenshots
** Environment Versions: **
- VSCode Version: [e.g. 1.74.0] (Instructions on finding this here: https://code.visualstudio.com/docs/supporting/FAQ#_how-do-i-find-the-version)
- HubSpot VSCode Extension version: [e.g. v1.0.0] (Instructions on finding this here: https://code.visualstudio.com/docs/editor/extension-marketplace)
- OS: [e.g. iOS, Windows 10]
Additional context Add any other context about the problem here.