Thanks for an awesome plugin!
When working with files of different types, for instance in Webpack when importing/requiring .html, .js and .scss files, it'd be nice to remove some extensions, while having others remain through the settings file, similar to how the relativePath.ignore setting works (possibly with include/exclude capabilities?).
Example from code:
const template = require('./app.template.html') // ./app.template.html
const helper = require('./app.helper') // ./app.helper.js
Example settings:
{
"relativePath.ignore": [
"**/node_modules/**",
"**/*.dll",
"**/obj/**",
"**/objd/**",
"**/dist/**"
],
"relativePath.removeLeadingDot": true,
"relativePath.removeExtension": false,
"relativePath.removeExtensions": [
".js",
".jsx"
],
...
}
Thanks for an awesome plugin!
When working with files of different types, for instance in Webpack when importing/requiring
.html,.jsand.scssfiles, it'd be nice to remove some extensions, while having others remain through the settings file, similar to how therelativePath.ignoresetting works (possibly with include/exclude capabilities?).Example from code:
Example settings:
{ "relativePath.ignore": [ "**/node_modules/**", "**/*.dll", "**/obj/**", "**/objd/**", "**/dist/**" ], "relativePath.removeLeadingDot": true, "relativePath.removeExtension": false, "relativePath.removeExtensions": [ ".js", ".jsx" ], ... }