vscode-autofilename icon indicating copy to clipboard operation
vscode-autofilename copied to clipboard

Add option to supress file extension

Open jsumners opened this issue 7 years ago • 1 comments

It would be fantastic if this extension had an option to suppress filename extensions upon completion.

Instead of completing to:

const foo = require('./lib/foo.js')

Complete to:

const foo = require('./lib/foo')

jsumners avatar Jul 10 '17 12:07 jsumners

@Jerry-Hong It seems that the "autofilename.extensions.trim" setting was intended to solve this, but it does not seem to be working for me. I have it setup like this:

"autofilename.extensions.trim": ["js"]

But it does not strip off the .js from the auto completed file

duro avatar Aug 29 '17 00:08 duro