Skip to content

how to config "vue.complete.casing.props" like vscode #63

@aizigao

Description

@aizigao

in vscode I has config

    "vue.complete.casing.props": "autoCamel",
    "vue.complete.casing.tags": "autoPascal",

I has tried to config

{
  "lsp": {
    "vue": {
      "initialization_options": {
        "typescript": {
          "tsdk": "node_modules/typescript/lib"
        },
        // 1 - try config like vscode
        "vue.complete.casing.tags": "autoPascal",
        "vue.complete.casing.props": "autoCamel",
        
        // 2. try config which copy from vue-tools new code mentions
        "vue.suggest.propNameCasing": "preferCamelCase",
        
        // 3. use nested config
        "vue": {
          "hybridMode": false,
          "complete.casing.tags": "autoPascal",
          "complete.casing.props": "autoCamel",
          "vue.complete.casing.tags": "autoPascal",
          "vue.complete.casing.props": "autoCamel",
          "suggest.propNameCasing": "preferCamelCase",
          
          "suggest": {
            "propNameCasing": "preferCamelCase"
          },
          
          "complete": {
            "casing": {
              "tags": "autoPascal",
              "props": "camel"
            }
          }
        }
      }
    },
}

and also try to switch commit e1b8c8d which work with vue-language-sever@3, but no one works

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions