Closed wowqhb closed 2 days ago
disabling terminal.integrated.shellIntegration.enabled
will fix this for you. seems your right prompt is conflicting with our shell integration startup script
The problem remains.
~/.config/Code/User/settings.json
{
"editor.inlineSuggest.enabled": true,
"debug.internalConsoleOptions": "openOnSessionStart",
"git.autofetch": true,
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features",
"editor.formatOnSave": true
},
"editor.stablePeek": true,
"go.toolsManagement.autoUpdate": true,
"editor.unicodeHighlight.ambiguousCharacters": false,
"editor.unicodeHighlight.nonBasicASCII": false,
"git.suggestSmartCommit": false,
"editor.guides.bracketPairs": true,
"editor.guides.bracketPairsHorizontal": true,
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features",
"editor.formatOnSave": true
},
"workbench.editor.wrapTabs": true,
"go.useLanguageServer": true,
"[go]": {
"editor.insertSpaces": true,
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit",
"source.fixAll": "explicit"
},
"editor.suggest.snippetsPreventQuickSuggestions": false,
"editor.defaultFormatter": "golang.go",
"editor.snippetSuggestions": "bottom"
},
"git.confirmSync": false,
"go.trace.server": "verbose",
"go.languageServerFlags": [
"-remote=auto",
"-logfile=auto",
"-debug=:0",
"-rpc.trace"
],
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit",
"source.fixAll": "explicit"
},
"explorer.confirmDelete": false,
"go.inlayHints.functionTypeParameters": true,
"[javascript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"git.ignoreRebaseWarning": true,
"editor.foldingMaximumRegions": 65000,
"gopls": {
"ui.completion.usePlaceholders": true,
"formatting.gofumpt": true
},
"editor.unicodeHighlight.invisibleCharacters": false,
"[vue]": {
"editor.defaultFormatter": "Vue.volar",
"editor.formatOnSave": true
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
},
"editor.renderWhitespace": "all",
"diffEditor.ignoreTrimWhitespace": false,
"workbench.tree.renderIndentGuides": "always",
"editor.minimap.showSlider": "always",
"files.insertFinalNewline": true,
"files.simpleDialog.enable": true,
"workbench.view.alwaysShowHeaderActions": true,
"window.dialogStyle": "custom",
"window.titleBarStyle": "custom",
"window.commandCenter": true,
"window.doubleClickIconToClose": true,
"window.openFoldersInNewWindow": "on",
"git.openRepositoryInParentFolders": "always",
"workbench.editorAssociations": {
"*.lnk": "default",
"*.vsix": "default"
},
"editor.minimap.maxColumn": 80,
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true,
"todo-tree.tree.flat": true,
"todo-tree.tree.showCountsInTree": true,
"editor.linkedEditing": true,
"security.workspace.trust.untrustedFiles": "open",
"editor.fontFamily": "'FiraCode Nerd Font', 'Droid Sans Mono', monospace",
"editor.fontLigatures": true,
"todo-tree.highlights.useColourScheme": true,
"todo-tree.regex.regexCaseSensitive": false,
"todo-tree.regex.regex": "(//|#|<!--|;|/\\*|^|^[ \\t]*(-|\\d+.))\\s*($TAGS)[,,;;::\\s]",
"markdown-preview-enhanced.previewTheme": "github-light.css",
"editor.wordWrap": "on",
"diffEditor.maxComputationTime": 0,
"[sql]": {
"editor.defaultFormatter": "inferrinizzard.prettier-sql-vscode"
},
"workbench.editor.empty.hint": "hidden",
"window.menuBarVisibility": "compact",
"workbench.startupEditor": "none",
"workbench.preferredDarkColorTheme": "Default Dark+",
"gitlens.currentLine.format": "${ author, }${agoOrDate}${' via 'pullRequest}${ 🔖 message|50?}",
"gitlens.defaultDateFormat": "YYYY-MM-DD HH:mm:ss dddd",
"gitlens.defaultDateShortFormat": "YYYY-MM-DD",
"gitlens.defaultTimeFormat": "HH:mm:ss",
"gitlens.graph.dimMergeCommits": true,
"gitlens.graph.layout": "editor",
"[yaml]": {
"editor.formatOnSave": true
},
"[shellscript]": {
"editor.formatOnSave": true
},
"redhat.telemetry.enabled": false,
"workbench.iconTheme": "catppuccin-perfect-dark",
"glassit.alpha": 235,
"terminal.integrated.shellIntegration.enabled": false
}
system font: FiraCode Nerd Font
does this also reproduce in an external terminal?
does this also reproduce in an external terminal?
It's all working fine, only in vscode there's a problem
does resizing the terminal help?
does resizing the terminal help?
Resetting the size of the terminal works, but after executing the 'exit' command and opening the terminal again, the problem is still there and does not become normal after resetting it once.
You can install a virtual machine with Ubuntu 20.04 desktop version, and then install vscode for testing, no special settings are needed to reproduce. Note: The installation system is "Simplified Chinese"(简体中文).
In addition, vscode installed by snap does not support "Sogou Input Method" (based on fcitx), the input method can be downloaded from https://shurufa.sogou.com/linux, vscode installed by deb installer supports Sogou Input Method.
I took the time to install a virtual machine and tested it, and the simulation results were normal, which was strange. No specific reason can be found.
My machine also has a new system installed in the last few days, the same system as the VM. The VM works fine, the host machine does not.
does resizing the terminal help?
Please provide all the paths related to vscode, including installation paths and configuration file paths.
Try manually deleting all files and then reinstalling to eliminate junk file interference.
maybe related #225052
Don't dwell on it, it's not a big problem, just make do
By the way, have you ever reproduced the problem in your test environment in the same environment?
The VM environment, which I tested myself, cannot be reproduced.
maybe related #225052
Disable or change to 0, problem persists
@wowqhb Do you know how to disable or change to 0 the scrollbar width in the terminal?
The old version has been installed, this version is normal.
Version: 1.89.1 Submit: dc96b837cf6bb4af9cd736aa3af08cf8279f7685 Date: 2024-05-07T05:16:23.416Z Browsers: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.89.1 Chrome/120.0.6099.291 Electron/28.2.8 Safari/537.36
Problems that cannot be solved don't need to be paid attention to anymore. After all, they don't affect usage!
Does this issue occur when all extensions are disabled?: Yes
The bug I mentioned last time was not solved, so I switched to a bash environment this time, and the problem is still there.
The last bug mentioned: vs code terminal(zsh) : Timestamps do not fit on the right side #221526