pucelle / vscode-css-navigation

Allowing Go to definition from HTML to CSS, or Find References from CSS to HTML.
https://marketplace.visualstudio.com/items?itemName=pucelle.vscode-css-navigation
MIT License
64 stars 8 forks source link

Not working searchAcrossWorkspaceFolders : false #28

Closed fakhamatia closed 3 years ago

fakhamatia commented 4 years ago

I set searchAcrossWorkspaceFolders False but its search in other folders in the workspace.

current path mobotix/tableMatch.php

Screenshot from 2019-10-25 11-21-32

pucelle commented 4 years ago

Hi, fakhamatia, sorry to reply you late, the searchAcrossWorkspaceFolders is false by default, so the results should not be affected by changing the option.

Can you check you mobotix directory to make sure if you have included the other directories that listed here unexpected, for example, you linked them into your mobotix directory.

Thanks.

fakhamatia commented 4 years ago

Hi @pucelle I'm sure because I renamed all folders in the workspace after that day. if I linked some folders now must not work anymore. Here a screenshot for find definition (F12) col, its search in all Bootstrap and CSS files. Screenshot from 2019-11-09 11-20-47

pucelle commented 4 years ago

Hi, @fakhamatia, I just released version 1.9.0 and add more messages to debug. Can you update the plugin and click Ctrl + Shift + U, and toggle to CSS Navigation, capture log messages (not need all, only several lines at the start would be OK) and print them here?

fakhamatia commented 4 years ago

I updated this morning. I don't have Ctrl+Shift+U you mean output tab?

[13:30:58] Client for workspace folder "html" started [13:31:04] Server for workspace folder "html" started [13:39:51] /var/www/html/HuChOp/dist/css/adminlte.css tracked [13:39:51] /var/www/html/HuChOp/dist/css/adminlte.min.css tracked [13:39:51] /var/www/html/HuChOp/dist/css/konectLogin.css tracked . . . [13:39:52] /var/www/html/VhANPR/vendor/whirl/whirl.min.css loaded [13:39:52] /var/www/html/VhANPR/vendor/bootstrap/bootstrap-rtl.css loaded [13:39:52] /var/www/html/VhANPR/vendor/simple-line-icons/css/simple-line-icons.css loaded [13:39:52] 337 files loaded in 735 ms [13:39:52] 8 definitions found, 872 ms cost

pucelle commented 4 years ago

It seems that your root workspace folder is /var/www/html, and it should be correct that if all the searched results are in the folder. If you do need to filter out some search results, Please reference to the excludeGlobPatterns and ignoreFilesBy option.