Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
if you change the type of your .vue files to coffeescript, this extension will now extract the `<script lang="coffee"/>` section internally and provide autocomplete for it. Doesn't work with vetur/volar anymore then, though, because only one can be active at the same time. For current status on integrating both together, follow vuejs/language-tools#3200
- Loading branch information
Showing
7 changed files
with
74 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"files.associations": { | ||
"*.something-else-than-coffee": "coffeescript" | ||
"*.something-else-than-coffee": "coffeescript", | ||
"*.vue": "coffeescript" | ||
}, | ||
"coffeesense.dev.logLevel": "DEBUG" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<template lang="pug"> | ||
div.markdown.column(v-drop="on_drop") | ||
.fakeinput(role="button") | ||
| 123 | ||
</template> | ||
|
||
<template> | ||
<div></div> | ||
</template> | ||
|
||
<scrIPT lang="COFFEESCRipt" > | ||
# @ts-check | ||
vue_success_var = 123 | ||
vue_success_var = '123' | ||
</script> | ||
<style> | ||
document { | ||
display: none; | ||
} | ||
</style> |