-3

Description

I always get annoyed by the first page of vscode with the following cli.js file on my windows 11 Operation System:

C:\Users\Kasmir\AppData\Local\Programs\Microsoft VS Code\resources\app\out\cli.js

enter image descripteeeion here

How to reproduce:

  1. press "Win+R";
  2. input code, and press "Enter";
  3. the figure above appeared.

It looks like some restore image, is that possible to debug the reason, and avoid this file happened what I do the above two steps? I only want a blank one/ welcome page.

Edited:

settings.json

{
    "latex-workshop.latex.autoBuild.run": "never",
    "latex-workshop.showContextMenu": true,
    // "latex-workshop.view.outline.numbers.enabled": false,
    "latex-workshop.intellisense.package.enabled": true,
    "latex-workshop.intellisense.package.unusual": true,
    "latex-workshop.message.error.show": false,
    "latex-workshop.message.warning.show": false,
    "latex-workshop.intellisense.unimathsymbols.enabled": true,
    "latex-workshop.latex.tools": [
        {
            "name": "xelatex",
            "command": "xelatex",
            "args": [
                "-synctex=1",
                "-interaction=nonstopmode",
                "-file-line-error",
                "%DOC_EXT%"
            ]
        },
        {
            "name": "xelatex-shell-escape",
            "command": "xelatex",
            "args": [
                "-synctex=1",
                "-interaction=nonstopmode",
                "-file-line-error",
                "-shell-escape",
                "%DOC_EXT%"
            ]
        },
        {
            "name": "pdflatex",
            "command": "pdflatex",
            "args": [
                "-synctex=1",
                "-interaction=nonstopmode",
                "-file-line-error",
                "%DOC_EXT%"
            ]
        },
        {
            "name": "pdflatex-shell-escape",
            "command": "pdflatex",
            "args": [
                "-synctex=1",
                "-interaction=nonstopmode",
                "-file-line-error",
                "-shell-escape",
                "%DOC_EXT%"
            ]
        },
        {
            "name": "lualatex",
            "command": "lualatex",
            "args": [
                "-synctex=1",
                "-interaction=nonstopmode",
                "-file-line-error",
                "%DOC_EXT%"
            ]
        },
        {
            "name": "context",
            "command": "context",
            "args": [
                "%DOC_EXT%"
            ]
        },
        {
            "name": "bibtex",
            "command": "bibtex",
            "args": [
                "%DOCFILE%"
            ]
        },
        {
            "name": "biber",
            "command": "biber",
            "args": [
                "%DOCFILE%"
            ]
        },
        {
            "name": "latexmkpdf",
            "command": "latexmk",
            "args": [
                "-synctex=1",
                "-interaction=nonstopmode",
                "-halt-on-error",
                "-file-line-error",
                "-pdf",
                "%DOC_EXT%"
            ]
        },
        {
            "name": "latexmkxe",
            "command": "latexmk",
            "args": [
                "-synctex=1",
                "-interaction=nonstopmode",
                "-halt-on-error",
                "-file-line-error",
                "-pdfxe",
                "%DOC_EXT%"
            ]
        },
        {
            "name": "latexmklua",
            "command": "latexmk",
            "args": [
                "-synctex=1",
                "-interaction=nonstopmode",
                "-halt-on-error",
                "-file-line-error",
                "-pdflua",
                "%DOC_EXT%"
            ]
        },
        {
            "name": "latexmkxe-shell-escape",
            "command": "latexmk",
            "args": [
                "-synctex=1",
                "-interaction=nonstopmode",
                "-halt-on-error",
                "-file-line-error",
                "-pdfxe",
                "--shell-escape",
                "%DOC_EXT%"
            ]
        },
        {
            "name": "latexmklua-shell-escape",
            "command": "latexmk",
            "args": [
                "-synctex=1",
                "-interaction=nonstopmode",
                "-halt-on-error",
                "-file-line-error",
                "-pdflua",
                "--shell-escape",
                "%DOC_EXT%"
            ]
        },
        {
            "name": "latexmk-SmallClean",
            "command": "latexmk",
            "args": [
                "-c"
            ]
        },
        {
            "name": "latexmk-FullClean",
            "command": "latexmk",
            "args": [
                "-C"
            ]
        },
        {
            "name": "musixflx",
            "command": "musixflx",
            "args": [
                "%DOCFILE%.mx1"
            ]
        },
    ],
    "latex-workshop.latex.recipes": [
        {
            "name": "latexmkxe",
            "tools": [
                "latexmkxe"
            ]
        },
        // {
        //     "name": "latexmkxe-shell-escape",
        //     "tools": [
        //         "latexmkxe-shell-escape"
        //     ]
        // },
        {
            "name": "latexmklua",
            "tools": [
                "latexmklua"
            ]
        },
        // {
        //     "name": "latexmklua-shell-escape",
        //     "tools": [
        //         "latexmklua-shell-escape"
        //     ]
        // },
        {
            "name": "latexmkpdf",
            "tools": [
                "latexmkpdf"
            ]
        },
        {
            "name": "latexmk-clean",
            "tools": [
                "latexmk-SmallClean"
            ]
        },
        {
            "name": "latexmk-Clean",
            "tools": [
                "latexmk-FullClean"
            ]
        },
        {
            "name": "musixtex",
            "tools": [
                "pdflatex",
                "musixflx",
                "pdflatex"
            ]
        },
        {
            "name": "XeLaTeX",
            "tools": [
                "xelatex",
            ]
        },
        // {
        //     "name": "XeLaTeX*2",
        //     "tools": [
        //         "xelatex",
        //         "xelatex",
        //     ]
        // },
        {
            "name": "LuaLaTeX",
            "tools": [
                "lualatex",
            ]
        },
        // {
        //     "name": "XeLaTeX-shell-escape",
        //     "tools": [
        //         "xelatex-shell-escape",
        //     ]
        // },
        {
            "name": "PDFLaTeX",
            "tools": [
                "pdflatex",
            ]
        },
        {
            "name": "ConTeXt",
            "tools": [
                "context",
            ]
        },
        // {
        //     "name": "PDFLaTeX-shell-escape",
        //     "tools": [
        //         "pdflatex-shell-escape",
        //     ]
        // },
        // {
        //     "name": "BibTeX",
        //     "tools": [
        //         "bibtex",
        //     ]
        // },
        // {
        //     "name": "Biber",
        //     "tools": [
        //         "biber",
        //     ]
        // },
        // {
        //     "name": "XeLaTeX -> BibTeX -> XeLaTeX*2",
        //     "tools": [
        //         "xelatex",
        //         "bibtex",
        //         "xelatex",
        //         "xelatex",
        //     ]
        // },
        // {
        //     "name": "XeLaTeX -> Biber -> XeLaTeX*2",
        //     "tools": [
        //         "xelatex",
        //         "biber",
        //         "xelatex",
        //         "xelatex",
        //     ]
        // },
        // {
        //     "name": "XeLaTeX-shell-escape -> BibTeX -> XeLaTeX*2",
        //     "tools": [
        //         "xelatex-shell-escape",
        //         "bibtex",
        //         "xelatex-shell-escape",
        //         "xelatex-shell-escape",
        //     ]
        // },
        // {
        //     "name": "XeLaTeX-shell-escape -> Biber -> XeLaTeX*2",
        //     "tools": [
        //         "xelatex-shell-escape",
        //         "biber",
        //         "xelatex-shell-escape",
        //         "xelatex-shell-escape",
        //     ]
        // },
        // {
        //     "name": "XeLaTeX-shell-escape -> BibTeX -> XeLaTeX*2",
        //     "tools": [
        //         "xelatex-shell-escape",
        //         "bibtex",
        //         "xelatex-shell-escape",
        //         "xelatex-shell-escape",
        //     ]
        // },
    ],
    "latex-workshop.latex.clean.fileTypes": [
        "*.aux",
        "*.bbl",
        "*.blg",
        "*.idx",
        "*.ind",
        "*.lof",
        "*.lot",
        "*.out",
        "*.toc",
        "*.acn",
        "*.acr",
        "*.alg",
        "*.glg",
        "*.glo",
        "*.gls",
        "*.ist",
        "*.fls",
        "*.log",
        "*.xdv",
        "*.nav",
        "*.snm",
        "*.fdb_latexmk"
    ],
    "latex-workshop.latex.autoClean.run": "onFailed",
    "latex-workshop.latex.recipe.default": "lastUsed",
    "latex-workshop.view.pdf.internal.synctex.keybinding": "double-click",
    "latex-workshop.message.badbox.show": "none",
    "files.autoSave": "afterDelay",
    "extensions.autoCheckUpdates": false,
    "update.mode": "none",
    "backgroundCover.autoStatus": true,
    "backgroundCover.randomImageFolder": "e:\\Pictures\\vsc-wallpaper",
    "backgroundCover.imagePath": "e:\\Pictures\\vsc-wallpaper\\vsc-bg-187.png",
    "editor.wordWrap": "on",
    "typescript.suggest.paths": false,
    "javascript.suggest.paths": false,
    "security.workspace.trust.untrustedFiles": "open",
    // //创建vscode超可爱背景
    // "vscode_custom_css.imports": [
    //     "file:///C:/Users/Kasmir/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/vscode-custom.css"
    // ],
    "workbench.iconTheme": "material-icon-theme",
    "explorer.confirmDelete": false,
    "explorer.confirmDragAndDrop": false,
    "editor.fontFamily": "'Cascadia Code',\"霞鹜文楷等宽\",Consolas,'Courier New',monospace",
    "editor.fontLigatures": true,
    "jupyter.askForKernelRestart": false,
    "terminal.integrated.fontWeightBold": 800,
    "notebook.lineNumbers": "on",
    "makefile.configureOnOpen": true,
    "workbench.colorCustomizations": {
        "editorCursor.foreground": "#8DB6CD",
        "terminalCursor.foreground": "#C8A2C8",
        // https://stackoverflow.com/a/48610661/21352765
        // "editorError.foreground":   "#00000000",
        "editorWarning.foreground": "#00000000",
        // "editorInfo.foreground":    "#00000000",
        // "editorError.foreground":   "#ff000088",
        // "editorWarning.foreground": "#ffe60033",
        // "editorInfo.foreground":    "#00ff0088"
    },
    "terminal.integrated.profiles.windows": {
        "PowerShell": {
            "source": "PowerShell",
            "icon": "terminal-powershell"
        },
        "Command Prompt": {
            "path": [
                "${env:windir}\\Sysnative\\cmd.exe",
                "${env:windir}\\System32\\cmd.exe"
            ],
            "args": [],
            "icon": "terminal-cmd"
        },
        "Git Bash": {
            "source": "Git Bash"
        },
        "Windows PowerShell": {
            "path": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe"
        }
    },
    "terminal.integrated.defaultProfile.windows": "Windows PowerShell",
    "workbench.list.smoothScrolling": true,
    "terminal.integrated.smoothScrolling": true,
    "editor.cursorSmoothCaretAnimation": "on",
    "editor.cursorBlinking": "smooth",
    "jupyter.interactiveWindow.textEditor.executeSelection": true,// by Hucci "interactiveWindow"
    "terminal.integrated.fontFamily": "'MesloLGS Nerd Font Mono',霞鹜文楷,'Cascadia Code',Consolas,'Courier New',monospace",
    "git.confirmSync": false,
    "workbench.editorAssociations": {
        "{git,gitlens}:/**/*.{md,csv,svg}": "default",
    },
    "git.enableSmartCommit": true,
    "editor.scrollbar.ignoreHorizontalScrollbarInContentHeight": true,
    "editor.smoothScrolling": true,
    "editor.stickyScroll.enabled": false,
    "tinymist.formatterMode": "typstyle",
    "[latex]": {
        "editor.defaultFormatter": "James-Yu.latex-workshop"
    },
    "terminal.integrated.mouseWheelZoom": true,
    "editor.unicodeHighlight.nonBasicASCII": false,
    "terminal.integrated.rescaleOverlappingGlyphs": true,
    "code-runner.executorMap": {
        "python": "python -u -X utf8",
    },
    "[markdown]": {
        "editor.defaultFormatter": "yzhang.markdown-all-in-one"
    },
    "vscode-hanzi-counter.template.tooltipTemplateName": "zh-hans",
    "git.openRepositoryInParentFolders": "never",
    "workbench.colorTheme": "One Dark Pro Darker",
    "files.associations": {
        "*.cjson": "jsonc",
        "*.wxss": "css",
        "*.wxs": "javascript",
        "*.ins": "latex",
        "*.def": "latex",
        "*.toc": "latex"
    },
    "emmet.includeLanguages": {
        "wxml": "html"
    },
    "minapp-vscode.disableAutoConfig": true,
    "terminal.integrated.suggest.enabled": true,
    "[typst]": {
        "editor.wordSeparators": "`~!@#$%^&*()=+[{]}\\|;:'\",.<>/?"
    },
    "[typst-code]": {
        "editor.wordSeparators": "`~!@#$%^&*()=+[{]}\\|;:'\",.<>/?"
    },
    "terminal.integrated.cursorBlinking": true,
    "terminal.integrated.commandsToSkipShell": [
        "matlab.interrupt"
    ],
    "terminal.integrated.fontLigatures.enabled": true,
    "python.createEnvironment.trigger": "off",
    "editor.mouseWheelZoom": true,
    "window.zoomPerWindow": false,
    "python.analysis.extraPaths": [
        ".\\.venv",
        ".\\.venv\\Scripts",
        ".\\.venv\\Lib\\site-packages",
        "C:\\Users\\Kasmir\\AppData\\Local\\Programs\\Python\\Python312",
        "C:\\Users\\Kasmir\\AppData\\Local\\Programs\\Python\\Python312\\Scripts",
        "C:\\Users\\Kasmir\\AppData\\Local\\Programs\\Python\\Python312\\Lib\\site-packages",
    ],
    "svg.preview.mode": "img",
    "r.lsp.diagnostics": false,
    "Lingma.cloudModelAutoTriggerGenerateLength": "medium",
    "editor.detectIndentation": false,
    "outline.collapseItems": "alwaysCollapse",
    "files.autoGuessEncoding": true,
    "workbench.editor.empty.hint": "hidden",
    "github.copilot.nextEditSuggestions.enabled": true,
    "terminal.integrated.fontSize": 13,
    "editor.unicodeHighlight.ambiguousCharacters": false,
    "roo-cline.allowedCommands": [
        "git log",
        "git diff",
        "git show"
    ],
    "roo-cline.deniedCommands": [],
    "git.useEditorAsCommitInput": false,
    "window.zoomLevel": 2,
    "terminal.integrated.stickyScroll.enabled": false,
    "chat.mcp.serverSampling": {
        "Global in Code: context7": {
            "allowedModels": [
                "copilot/gpt-5-mini",
                "copilot/auto",
                "copilot/claude-haiku-4.5",
                "copilot/claude-sonnet-4",
                "copilot/claude-sonnet-4.5",
                "copilot/gemini-2.5-pro",
                "copilot/gpt-4.1",
                "copilot/gpt-4o",
                "copilot/gpt-5",
                "copilot/gpt-5-codex",
                "copilot/gpt-5.1",
                "copilot/gpt-5.1-codex",
                "copilot/gpt-5.1-codex-mini",
                "copilot/grok-code-fast-1",
                "copilot/oswe-vscode-secondary"
            ]
        }
    },
    "window.restoreWindows": "none", //https://github.com/REditorSupport/vscode-R/discussions/1385
}

My config of workbench.startupEditor is the default value, welcomePage, and I have set "window.restoreWindows": "none", however the case still happened.

2
  • 2
    after reading your settings i believe you could have an issue with the extension "code runner" please uninstall it and try again if not i can only imagine you put vscode to execute .js files so you will have to change that file association Commented 2 days ago
  • @EgonStetmann. I have uninstalled "code runner", and "reload" the code, but the case remains the same. Commented yesterday

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.