-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not detect some extensions with absolute path. #209
Comments
This is because this extension does not support the paths property from [tj]sconfig.json |
But it found the path of the ts, tsx, js and jsx files using da [tj]sconfig.json just didn't find the image. |
The search for ts, tsx, js and jsx is carried out by the built-in vs code tools. You can try adding these options to your settings.json "path-intellisense.extensionOnImport": true,
"path-intellisense.mappings": {
"@/": "${workspaceFolder}/src",
}, |
hey, I have had the same problem at the moment. Damn it images not being suggested is annoying. Have you figured out the solution? 😇🥺😏 |
Hey @piscopancer Could you provide a minimal environment where I can reproduce it?
|
Sure sir, settings.json{
"workbench.colorTheme": "One Dark Pro Flat",
"editor.fontSize": 16,
"workbench.editor.untitled.hint": "hidden",
"editor.linkedEditing": true,
"git.ignoreMissingGitWarning": true,
"liveServer.settings.donotShowInfoMsg": true,
"editor.wordWrap": "on",
"editor.tabSize": 2,
"editor.minimap.renderCharacters": false,
"editor.minimap.enabled": false,
"tabnine.experimentalAutoImports": true,
"javascript.preferences.quoteStyle": "single",
"explorer.confirmDragAndDrop": false,
"javascript.updateImportsOnFileMove.enabled": "always",
"[scss]": {
"editor.defaultFormatter": "sibiraj-s.vscode-scss-formatter"
},
"typescript.updateImportsOnFileMove.enabled": "always",
"files.associations": {
"*.script": "lua"
},
"diffEditor.codeLens": true,
"editor.fontFamily": "consolas",
"path-intellisense.autoTriggerNextSuggestion": true,
"path-intellisense.extensionOnImport": true,
"path-intellisense.autoSlashAfterDirectory": true,
"path-intellisense.mappings": {
"@/": "${workspaceRoot}/src"
},
"path-intellisense.absolutePathToWorkspace": true,
"vscode-color-picker.languages": [
"python",
"javascript",
"typescript",
],
"scss.lint.unknownAtRules": "ignore",
"editor.suggestSelection": "first",
"css.lint.unknownAtRules": "ignore",
"css.lint.unknownProperties": "ignore",
"scss.lint.duplicateProperties": "warning",
"sass.disableUnitCompletion": false,
"sass.format.convert": false,
"sass.andStared": [
"active",
"focus",
"hover",
"nth-child"
],
"scss.format.spaceAroundSelectorSeparator": true,
"rest-client.excludeHostsForProxy": [],
} link to project, up-to-date indeed. Take a look at
|
Thank you @piscopancer Could you try to add:
to your configuration? |
As you can see in the print, it detects the .ts, js, tsx and jsx extensions, but it does not detect the logo.png image.
I'm using the default installation with no config changes.
The text was updated successfully, but these errors were encountered: