WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

vscode vue(official) extension always jump when ctrl + S to save single vue template file #5842

@horseslee

Description

@horseslee

Vue - Official extension or vue-tsc version

Vue - Official

VSCode version

1.106.3

Vue version

3.5.24

TypeScript version

5.8.0

System Info

package.json dependencies

"dependencies": {
    "@alova/adapter-uniapp": "^2.0.14",
    "@alova/shared": "^1.3.1",
    "@dcloudio/uni-app": "3.0.0-4070620250821001",
    "@dcloudio/uni-app-harmony": "3.0.0-4070620250821001",
    "@dcloudio/uni-app-plus": "3.0.0-4070620250821001",
    "@dcloudio/uni-components": "3.0.0-4070620250821001",
    "@dcloudio/uni-h5": "3.0.0-4070620250821001",
    "@dcloudio/uni-mp-alipay": "3.0.0-4070620250821001",
    "@dcloudio/uni-mp-baidu": "3.0.0-4070620250821001",
    "@dcloudio/uni-mp-harmony": "3.0.0-4070620250821001",
    "@dcloudio/uni-mp-jd": "3.0.0-4070620250821001",
    "@dcloudio/uni-mp-kuaishou": "3.0.0-4070620250821001",
    "@dcloudio/uni-mp-lark": "3.0.0-4070620250821001",
    "@dcloudio/uni-mp-qq": "3.0.0-4070620250821001",
    "@dcloudio/uni-mp-toutiao": "3.0.0-4070620250821001",
    "@dcloudio/uni-mp-weixin": "3.0.0-4070620250821001",
    "@dcloudio/uni-mp-xhs": "3.0.0-4070620250821001",
    "@dcloudio/uni-quickapp-webview": "3.0.0-4070620250821001",
    "abortcontroller-polyfill": "^1.7.8",
    "alova": "^3.3.3",
    "dayjs": "1.11.10",
    "decimal.js": "^10.6.0",
    "js-cookie": "^3.0.5",
    "nanoid": "^5.1.6",
    "pinia": "2.0.36",
    "pinia-plugin-persistedstate": "3.2.1",
    "vue": "^3.5.24",
    "vue-i18n": "11.1.12",
    "vue-router": "4.6.3",
    "z-paging": "2.8.7"
  },
  "devDependencies": {
    "@commitlint/cli": "^19.8.1",
    "@commitlint/config-conventional": "^19.8.1",
    "@dcloudio/types": "^3.4.8",
    "@dcloudio/uni-automator": "3.0.0-4070620250821001",
    "@dcloudio/uni-cli-shared": "3.0.0-4070620250821001",
    "@dcloudio/uni-stacktracey": "3.0.0-4070620250821001",
    "@dcloudio/vite-plugin-uni": "3.0.0-4070620250821001",
    "@esbuild/darwin-arm64": "0.20.2",
    "@esbuild/darwin-x64": "0.20.2",
    "@iconify-json/carbon": "^1.2.4",
    "@iconify/utils": "^3.0.2",
    "@rollup/rollup-darwin-x64": "^4.28.0",
    "@types/node": "^20.17.9",
    "@uni-helper/eslint-config": "0.5.0",
    "@uni-helper/plugin-uni": "0.1.0",
    "@uni-helper/uni-env": "0.1.8",
    "@uni-helper/uni-types": "1.0.0-alpha.6",
    "@uni-helper/unocss-preset-uni": "0.2.11",
    "@uni-helper/vite-plugin-uni-components": "0.2.3",
    "@uni-helper/vite-plugin-uni-layouts": "0.1.11",
    "@uni-helper/vite-plugin-uni-manifest": "0.2.8",
    "@uni-helper/vite-plugin-uni-pages": "0.3.19",
    "@uni-helper/vite-plugin-uni-platform": "0.0.5",
    "@uni-ku/bundle-optimizer": "v1.3.15-beta.2",
    "@uni-ku/root": "1.4.1",
    "@unocss/eslint-plugin": "^66.2.3",
    "@unocss/preset-legacy-compat": "66.0.0",
    "@vue/runtime-core": "^3.5.24",
    "@vue/tsconfig": "^0.8.1",
    "autoprefixer": "^10.4.20",
    "cross-env": "^10.0.0",
    "eslint": "^9.31.0",
    "eslint-plugin-format": "^1.0.1",
    "lint-staged": "^15.2.10",
    "miniprogram-api-typings": "^4.1.0",
    "openapi-ts-request": "^1.10.0",
    "postcss": "^8.4.49",
    "postcss-html": "^1.8.0",
    "postcss-scss": "^4.0.9",
    "rollup-plugin-visualizer": "^6.0.3",
    "sass": "1.77.8",
    "std-env": "^3.9.0",
    "typescript": "~5.8.0",
    "unocss": "66.0.0",
    "unplugin-auto-import": "^20.0.0",
    "vite": "5.2.8",
    "vite-plugin-restart": "^1.0.0",
    "vue-tsc": "^3.1.4"
  },

Steps to reproduce

Solve it

What is expected?

Solve it

What is actually happening?

When i pasted on line xxx, then ctrl + s to save the code, the file view will jump xxx ± n , the cursor is keep stay on line xxx

Link to minimal reproduction

No response

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions