vsc-base icon indicating copy to clipboard operation
vsc-base copied to clipboard

feat(vsc-organize-imports): Support for Vue files

Open mesqueeb opened this issue 5 years ago • 2 comments

I'd love support for Vue files! for vsc-organize-imports

mesqueeb avatar Jul 05 '20 23:07 mesqueeb

The functionality behind this extension uses typescript and its js flow analytics. I dont know much about Vue. Is't it just ts/js files ? (That should work already) Or does it use some other extension like .vue ? (That can be fix easily if its only the extension thats the problem)

alfnielsen avatar Jul 06 '20 04:07 alfnielsen

@alfnielsen Yes, a Vue file has a .vue extension and has 3 tags:

<template></template>
<style></style>
<script></script>

The script in a Vue file can be either lang="js" or lang="ts" and that's where all the js/ts imports are made as well.

mesqueeb avatar Jul 06 '20 05:07 mesqueeb