- edited description
.sfdx/tools/sobjects folder should be ignored by default?
Probably a bit of a niche case, but I opened the folder in VS Code and ran the Refresh Object Definitions command.
This adds .cls files inside .sfdx/tools/sobjects
(among other things like lightning component .ts files) which then appears to get picked up by the index (ignoring the definitions in the symbol table zip - ctrl click goes to these files).
This causes symbol resolving to ‘forget’ things are descendants of SObject:
Resolved by marking the folder as excluded, but perhaps useful to do this by default
Comments (5)
-
reporter -
repo owner Thanks for filing, Xander. I just helped another user debug this issue earlier in the week and was already planning to do this work. It's always best to have an issue in the issue tracker to record progress, though.
-
repo owner Issue
#1376was marked as a duplicate of this issue. -
repo owner Fix submitted for inclusion in the next build.
-
repo owner - changed status to resolved
Delivered in 2.0.7.7. IC now shows a module validation error when there's a
.sfdx/tools/sobjects
folder that's not an exclusion itself or under an exclusion, and it adds that folder as an exclusion for the user. - Log in to comment