openmindlab / sfcc-dts

High quality Salesforce Commerce Cloud (sfcc) type definitions
MIT License
21 stars 1 forks source link

Suggestions are not shown in VSCode #10

Open daniel-delatorre-xplore opened 2 years ago

daniel-delatorre-xplore commented 2 years ago

I executed the command. sfcc-dts-setup from the root directory from my sfcc project and the tsconfig.json file has been generated with all the compilerOptions but I still do not see any suggestion when for example I try to get the suggestions from require('dw/system/Site'). I also enabled the "TypeScript: Select TypeScript version but without success.

guiquintelas commented 11 months ago

This is a really old issue, but for anyone still having trouble with it. I was able to solve it by transforming the generated tsconfig file into a jsconfig file.