vscode-file-peek icon indicating copy to clipboard operation
vscode-file-peek copied to clipboard

support import with systemjs/plugin-text

Open sebasgavi opened this issue 8 years ago • 4 comments

Hi

tried to use your extension when importing as text with the text plugin from systemjs, didn't work

import templateText from './my-template.html!text';

@Component({
  selector: 'my-component',
  template: templateText
})

I solved it with a quick replace potential_fname.replace(/!\w*/,"") it just removes that !text at the end of the name so it can find it in the files

thanks for the extension! really helpful

sebasgavi avatar Mar 12 '16 05:03 sebasgavi

@vagyriag Could you submit a pull with the change. Sounds like a great improvement.

abierbaum avatar Mar 23 '16 15:03 abierbaum

done

sebasgavi avatar Mar 23 '16 16:03 sebasgavi

I didn't see a pull request for this one. Did you submit it?

abierbaum avatar Jun 01 '16 18:06 abierbaum

@vagyriag Just checking again. Did you submit a pull for this?

abierbaum avatar Apr 03 '17 16:04 abierbaum