Skip to content

SCSS intellisense stops working for second style block #430

@Christilut

Description

@Christilut

Info

  • Platform: Linux
  • Vetur version: 0.9.7
  • VSCode version: 1.16.0

Problem

Second <style lang="scss"> block in a .vue file does not have CSS intellisense.

The intellisense popup in the first block works as expected. The second shows the entire list of CSS properties starting with lots of ::moz-...

Tried vetur reinstall.

Reproducible Case

<template lang="pug">
div
</template>

<script>
export default {

}
</script>

<style lang="scss" scoped>
@import 'src/styles/variables';

div {
  background: red; // popup works here
}

</style>

<style lang="scss">

div {
  bakground: red; // popup shows but no relevant CSS options. Only the entire list of CSS properties
}

</style>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions