microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.27k stars 28.57k forks source link

latest 1.75.0-insider update show error #168830

Closed ctf0 closed 1 year ago

ctf0 commented 1 year ago

Does this issue occur when all extensions are disabled?: Yes

Version: 1.75.0-insider
Commit: 250a8f36c93721830b0ef2e39dc065d6944d9912
Date: 2022-12-12T05:36:38.306Z
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Darwin arm64 21.6.0
Sandboxed: Yes

error keeps repeating

Error

  ERR Cannot read properties of undefined (reading 'length'): TypeError: Cannot read properties of undefined (reading 'length')
    at new ee (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:11:8173)
    at b.p (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:668:80410)
    at b.prepareRender (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:668:79018)
    at y.prepareRender (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:548:30251)
    at U.I (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:671:100981)
    at vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:671:100346
    at H (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:671:102829)
    at U.G (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:671:100335)
    at U.v (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:671:98445)
    at Object.getLineWidth (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:671:99198)
    at f.getLineWidth (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:667:59069)
    at s.u (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:668:6082)
    at s.o (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:668:4944)
    at s.g (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:668:2023)
    at s.createMouseTarget (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:668:1459)
    at C.p (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:668:13637)
    at C.u (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:668:13972)
    at vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:668:11399
    at HTMLDivElement.<anonymous> (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:665:40200)
bpasero commented 1 year ago

@alexdima maybe from one of your PRs?

alexdima commented 1 year ago

Deminified using https://github.com/alexdima/vscode-stack-beautifier

ERR Cannot read properties of undefined (reading 'length'): TypeError: Cannot read properties of undefined (reading 'length')
  at ./base/common/arrays.ts:755:20
  at ./editor/browser/viewParts/indentGuides/indentGuides.ts:208:36
  at ./editor/browser/viewParts/indentGuides/indentGuides.ts:121:23
  at ./editor/browser/view/viewOverlays.ts:133:18
  at ./editor/browser/view.ts:417:12
  at ./editor/browser/view.ts:364:29
  at func (./editor/browser/view.ts:553:9)
  at safeInvokeNoArg (./editor/browser/view.ts:364:2)
  at ./editor/browser/view.ts:230:7
  at ./editor/browser/view.ts:272:9
  at ./editor/browser/controller/mouseTarget.ts:345:16
  at ./editor/browser/controller/mouseTarget.ts:787:24
  at ./editor/browser/controller/mouseTarget.ts:727:29
  at ./editor/browser/controller/mouseTarget.ts:549:40
  at ./editor/browser/controller/mouseTarget.ts:497:32
  at ./editor/browser/controller/mouseHandler.ts:250:16
  at ./editor/browser/controller/mouseHandler.ts:282:16
  at ./editor/browser/controller/mouseHandler.ts:91:8
  at callback (./editor/browser/editorDom.ts:182:63)

alexdima commented 1 year ago

@ctf0 This doesn't reproduce for me. It could be something triggered by the specific file you're opening combined with your specific settings. Could you please share with us the problematic file?

ctf0 commented 1 year ago

not really, its happening with any file i open, even the user settings.json

demo

ctf0 commented 1 year ago

i re-downloaded the app from https://code.visualstudio.com/insiders/# and it gives the same error

Version: 1.75.0-insider
Commit: 250a8f36c93721830b0ef2e39dc065d6944d9912
Date: 2022-12-12T05:36:38.306Z
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Darwin arm64 21.6.0
Sandboxed: Yes
alexdima commented 1 year ago

@ctf0 Could you please share your settings?

ctf0 commented 1 year ago

its kinda long

``` { // @sync-ignore "terminal.integrated.env.osx": { "FIG_NEW_SESSION": "1" }, "[markdown]": { "editor.quickSuggestions": { "comments": "on", "strings": "on", "other": "on" }, "files.trimTrailingWhitespace": false, "editor.hover.delay": 100, "editor.wordWrap": "off", }, "[yaml]": { "editor.formatOnSave": true }, "[typescript]": { "editor.formatOnSave": true }, "[json]": { "editor.wordWrap": "off", "editor.formatOnSave": true, "separators.enabledSymbols": [] }, "[jsonc]": { "editor.formatOnSave": true, "separators.enabledSymbols": [], "foldOnOpen.targets": [ "Level2" ], }, "[blade]": { "editor.defaultFormatter": "shufo.vscode-blade-formatter", "editor.formatOnSave": true, "editor.wordWrap": "off", }, "[html]": { "editor.wordWrap": "off", }, "[scss]": { "editor.formatOnSave": true, "editor.defaultFormatter": "vscode.css-language-features", "separators.enabledSymbols": [] }, "[css]": { "separators.enabledSymbols": [] }, "git.ignoreMissingGitWarning": true, "files.associations": { ".env": "env", ".env.*": "env", "*.config": "xml", "*.xml": "xml", ".php-cs-fixer": "php", "*.module": "php", "tslint.json": "jsonc", ".prettydiffrc": "jsonc", ".babelrc": "jsonc", ".posthtmlrc": "json", ".htmlhintrc": "json", "*.neon": "yaml", "*.iss": "pascal", "*.babel": "javascript", ".dcignore": "properties", "known_hosts": "ssh_config", "symfony.lock": "json", "mysql-*.dump": "sql", "*.bttpreset": "jsonc", ".phpunit.result.cache": "json", ".gitignore": "ignore", ".gitattributes": "ignore" }, "editor.lineHeight": 37, "editor.showFoldingControls": "always", "editor.cursorWidth": 4, "editor.fontLigatures": "'ss01', 'ss03', 'ss04', 'ss05'", "editor.formatOnType": true, "files.eol": "\n", "files.trimFinalNewlines": true, "files.insertFinalNewline": true, "workbench.commandPalette.preserveInput": true, "files.hotExit": "onExitAndWindowClose", "workbench.tree.indent": 20, "css.validate": false, "less.validate": false, "scss.validate": false, "editor.fastScrollSensitivity": 10, "editor.fontFamily": "FiraCode-Retina", "emmet.includeLanguages": { "blade": "html", "vue": "html", "plaintext": "html", "edge": "html", "markdown": "html" }, "editor.tabCompletion": "on", "editor.quickSuggestions": { "other": true, "comments": true, "strings": true }, "files.trimTrailingWhitespace": true, "emmet.excludeLanguages": [ "php" ], "window.title": "${dirty}${activeEditorMedium}${separator}${rootName}", "search.exclude": { "_ide_*": true, "**/.idea": true, "**/out": true, "**/build": true, "**/cache": true, "**/.history": true, "**/dist": true, "**/log": true, "**/node_modules": true, "**/public": true, "**/storage": true, "**/stubs": true, "**/vendor": true, "**/vendor-bin": true, }, "editor.wordSeparators": "`~!%^&*()=+\"[{]}\\|;:,\\'.<>/@?", "javascript.suggest.completeFunctionCalls": true, "typescript.suggest.completeFunctionCalls": true, "git.enableSmartCommit": true, "extensionUpdateReporter.lastCheckedVersions": { "93akkord.output-link-to-file": "0.0.17", "abierbaum.vscode-file-peek": "1.0.1", "adiessl.vscode-backtix": "2.1.0", "adrianwilczynski.toggle-hidden": "1.0.2", "akiko.coffee-break": "0.2.0", "AlanZhang.open-symlink-source": "0.0.1", "albert.TabOut": "0.2.2", "alefragnani.copy-word": "3.9.0", "alefragnani.numbered-bookmarks": "8.3.1", "alefragnani.project-manager": "12.7.0", "alefragnani.separators": "2.4.1", "amiralizadeh9480.laravel-extra-intellisense": "0.6.2", "Andreabbondanza.ignoregit": "1.0.1", "antfu.goto-alias": "0.1.0", "anweber.reveal-button": "1.1.1", "bcanzanella.openmatchingfiles": "0.5.2", "be5invis.vscode-custom-css": "7.1.0", "bierner.comment-tagged-templates": "0.3.1", "bierner.emojisense": "0.9.1", "bierner.folder-source-actions": "0.2.1", "bierner.lit-html": "1.11.1", "bierner.markdown-checkbox": "0.4.0", "bierner.markdown-emoji": "0.3.0", "bierner.markdown-preview-github-styles": "1.0.1", "bmalehorn.shell-syntax": "1.0.3", "bmewburn.vscode-intelephense-client": "1.8.2", "bradlc.vscode-tailwindcss": "0.9.1", "bragov4ik.change-case-of-symbol": "1.0.1", "brainfit.split-lines": "1.0.2", "calestialgem.pink-moon-theme": "0.1.2", "caponetto.vscode-diff-viewer": "1.3.2", "Cardinal90.multi-cursor-case-preserve": "1.0.5", "chekweitan.compare-view": "0.10.0", "chrisdias.vscode-opennewinstance": "0.0.12", "christian-kohler.npm-intellisense": "1.4.3", "cpylua.language-postcss": "1.1.0", "ctf0.activitybar-separator": "0.0.1", "ctf0.auto-comment-next-line": "0.1.1", "ctf0.auto-expand-on-enter": "0.2.0", "ctf0.auto-posthtml-utils": "0.0.3", "ctf0.auto-set-syntax": "0.0.6", "ctf0.auto-surround": "0.0.9", "ctf0.blade-linter": "0.0.7", "ctf0.blank-line-organizer": "0.1.3", "ctf0.clear-storage": "0.0.1", "ctf0.close-files": "0.1.1", "ctf0.close-tabs-to-the-left": "0.0.3", "ctf0.command-autolink": "0.0.3", "ctf0.duplicate-selection-or-line": "0.0.6", "ctf0.env-symbol-provider": "0.0.3", "ctf0.file-shortcut": "0.2.2", "ctf0.goto-package": "0.2.5", "ctf0.jump-to-last-cursor": "0.0.1", "ctf0.laravel-goto-config": "0.4.0", "ctf0.laravel-goto-controller": "0.4.1", "ctf0.laravel-goto-env": "0.4.2", "ctf0.laravel-goto-lang": "0.4.5", "ctf0.laravel-goto-path": "0.1.5", "ctf0.laravel-goto-view": "0.5.5", "ctf0.macros": "0.1.0", "ctf0.makefile-symbol-provider": "0.0.3", "ctf0.markdown-enhancers": "0.0.6", "ctf0.package-managers-context-menu": "0.0.2", "ctf0.php-array-symbols": "0.0.3", "ctf0.php-class-imports-folding": "0.0.1", "ctf0.php-namespace-resolver": "0.2.0", "ctf0.problems-fix-runner": "0.0.9", "ctf0.remember-restore-cursor": "0.0.4", "ctf0.replace-pesky-characters": "0.1.1", "ctf0.revealextfolder": "0.0.3", "ctf0.revealfileinfolder": "0.0.3", "ctf0.seti-ux": "0.1.5", "ctf0.smart-delete": "0.1.3", "ctf0.smart-unindent": "0.0.5", "ctf0.symbol-masks-new": "0.0.5", "ctf0.vscode-file-browser": "0.0.2", "ctf0.vscode-terminal-themes": "0.1.1", "dakara.dakara-foldplus": "1.5.2", "dakara.transformer": "1.12.1", "DanishSarwar.reverse-search": "2.0.2", "DavidAnson.vscode-markdownlint": "0.48.1", "dbaeumer.vscode-eslint": "2.2.6", "DeepKolos.change-color": "0.0.1", "DEVSENSE.composer-php-vscode": "1.25.11537", "DomiR.regreplace": "1.3.1", "eamodio.gitlens": "13.1.1", "EdgardMessias.clipboard-manager": "1.4.2", "emeraldwalk.RunOnSave": "0.2.0", "Equinusocio.moxer-icons": "5.9.7", "erickriva.git-watch-vscode-rename": "1.0.0", "ErnstStavroBlofeld.php-types": "1.1.0", "evondev.indent-rainbow-palettes": "0.0.18", "fabiospampinato.vscode-commands": "1.4.3", "fabiospampinato.vscode-open-multiple-files": "1.4.0", "fabiospampinato.vscode-search-open-all-results": "1.0.3", "fabiospampinato.vscode-terminals": "1.14.0", "formulahendry.auto-rename-tag": "0.1.10", "formulahendry.code-runner": "0.11.8", "foxundermoon.shell-format": "7.2.2", "GitHub.remotehub": "0.49.2022120801", "gurumukhi.selected-lines-count": "1.4.0", "hibe.hjump": "1.0.1", "hjdarnel.change-case": "1.0.2", "hollowtree.vue-snippets": "1.0.4", "hoovercj.vscode-settings-cycler": "1.0.1", "HTMLHint.vscode-htmlhint": "1.0.4", "idanp.smartmulticursor": "0.0.4", "idleberg.applescript": "0.21.2", "iocave.monkey-patch": "0.1.23", "ionutvmi.path-autocomplete": "1.22.1", "IronGeek.vscode-env": "0.1.0", "JannisX11.batch-rename-extension": "0.0.6", "jaschen.json-parse": "0.1.0", "jeff-hykin.better-dockerfile-syntax": "1.0.2", "jeff-hykin.better-js-syntax": "0.0.2", "jeff-hykin.better-jsonc-syntax": "0.0.1", "jeff-hykin.better-shellscript-syntax": "1.1.0", "jep-a.lua-plus": "1.1.1", "JozefChmelar.compare": "0.0.3", "kaleidoscope-app.vscode-ksdiff": "1.0.2", "karunamurti.haml": "1.4.1", "kisstkondoros.typelens": "1.9.6", "ldez.ignore-files": "0.1.0", "lehni.vscode-fix-checksums": "1.1.0", "limejuly.vscode-yaml-block-highlight": "0.0.1", "lukaserat.npm-scripts": "1.0.0", "lusingander.vscode-preview-json": "0.1.0", "maciejdems.terminal-sync": "2.2.0", "mariorodeghiero.vue-theme": "2.0.2", "MartinaTorce.beautiful-theme": "0.2.0", "mblet.highlight-regex": "0.4.1", "mechatroner.rainbow-csv": "3.5.0", "medo64.highlight-ip": "1.3.16", "melishev.feather-vscode": "1.0.1", "mhutchie.git-graph": "1.30.0", "miguelsolorio.fluent-icons": "0.0.18", "miguelsolorio.symbols": "0.0.7", "moalamri.inline-fold": "0.1.10", "morrislaptop.vscode-open-in-git-tower": "0.6.0", "mrmlnc.vscode-csscomb": "5.3.2", "mrmlnc.vscode-scss": "0.10.0", "ms-azuretools.vscode-docker": "1.23.1", "ms-dotnettools.vscode-dotnet-runtime": "1.6.0", "ms-python.isort": "2022.8.0", "ms-python.python": "2022.20.0", "ms-python.vscode-pylance": "2022.12.20", "ms-vscode-remote.remote-containers": "0.267.0", "ms-vscode-remote.remote-ssh": "0.94.0", "ms-vscode-remote.remote-ssh-edit": "0.84.0", "naoray.laravel-goto-components": "1.2.0", "NathanEdwards.grimoire": "0.1.0", "naumovs.color-highlight": "2.5.0", "neptunedesign.vs-sequential-number": "1.1.0", "oderwat.indent-rainbow": "8.3.1", "onecentlin.laravel-blade": "1.32.0", "onecentlin.laravel5-snippets": "1.15.0", "philsinatra.nested-comments": "3.0.4", "phoenisx.cssvar": "2.5.0", "phplasma.csv-to-table": "1.4.0", "pomber.git-file-history": "1.0.1", "prantlf.fold-on-open": "1.1.0", "quanzaiyu.vscode-json-enhanced": "1.1.2", "RandomFractalsInc.snippets-viewer": "1.12.0", "redhat.vscode-xml": "0.23.2022120903", "redhat.vscode-yaml": "1.11.10112022", "ronvanderheijden.phpdoc-generator": "1.1.1", "ryu1kn.extension-update-reporter": "1.2.0", "sandcastle.vscode-open": "0.1.0", "satiromarra.phpstorm-parameter-hints-for-vscode": "1.0.2", "Shan.code-settings-sync": "3.4.3", "Shinotatwu-DS.file-tree-generator": "1.1.1", "shufo.vscode-blade-formatter": "0.20.3", "sidneys1.gitconfig": "2.0.1", "SimonSiefke.svg-preview": "2.8.3", "sleistner.vscode-fileutils": "3.5.0", "stackbreak.comment-divider": "0.4.0", "streetsidesoftware.code-spell-checker": "2.12.0", "streetsidesoftware.code-spell-checker-french": "0.2.3", "streetsidesoftware.code-spell-checker-german": "2.1.0", "stylelint.vscode-stylelint": "1.2.3", "syler.sass-indented": "1.8.23", "TakumiI.markdowntable": "0.10.2", "truman.autocomplate-shell": "0.1.1", "trybick.terminal-zoom": "1.7.1", "usernamehw.errorlens": "3.6.0", "v4run.transpose": "0.0.6", "Vue.volar": "1.0.13", "wiredforge.cursor-index": "0.1.0", "withfig.fig": "0.0.7", "xinkaiwang.deletehere": "0.0.1", "xynny.rosepink": "0.0.1", "xyz.local-history": "1.8.1", "yamatsum.vscode-nonicons": "0.0.13", "yo1dog.cursor-align": "1.1.0", "yzhang.markdown-all-in-one": "3.5.0" }, "git.autoStash": true, "workbench.list.defaultFindMode": "filter", "workbench.view.alwaysShowHeaderActions": true, "window.newWindowDimensions": "offset", "cSpell.showStatus": false, "clipboard-manager.onlyWindowFocused": false, "intelephense.format.enable": false, "intelephense.files.exclude": [ "**/.svn/**", "**/.hg/**", "**/CVS/**", "**/.DS_Store", "**/node_modules/**", "**/bower_components/**", "**/vendor/**/{Test,test,Tests,tests}/**", ], "namespaceResolver.exclude": "**/node_modules|**/.history|**/var", "css.lint.duplicateProperties": "error", "scss.lint.duplicateProperties": "error", "less.lint.duplicateProperties": "error", "editor.renderLineHighlight": "all", "csscomb.formatOnSave": true, "settings.cycle": [ { "id": "openEditors", "overrideWorkspaceSettings": false, "values": [ { "explorer.openEditors.visible": 0 }, { "explorer.openEditors.visible": 100 } ] }, { "id": "hideGutter", "overrideWorkspaceSettings": false, "values": [ { "editor.glyphMargin": false, "editor.folding": false }, { "editor.glyphMargin": true, "editor.folding": true } ] }, ], "explorer.openEditors.visible": 0, "editor.minimap.renderCharacters": false, "workbench.settings.enableNaturalLanguageSearch": false, "php.validate.run": "onType", "clipboard-manager.preview": false, "errorLens.enabledDiagnosticLevels": [ "warning", "error" ], "clipboard-manager.snippet.enabled": false, "files.exclude": { ".git": false, ".phpstorm.*": false, "**/.history": false, "**/.idea": false, "**/.styleci*": false, "**/.vscode": false, "**/*lock*": false, "**/out": false, "**/var": false, "**/vendor": false }, "terminal.integrated.commandsToSkipShell": [ "workbench.action.toggleSidebarVisibility", "notifications.hideList", "notifications.hideToasts", "workbench.action.increaseViewSize", "workbench.action.decreaseViewSize", "clipboard-manager.editor.pickAndPaste" ], "terminal.integrated.enableBell": true, "terminal.integrated.copyOnSelection": true, "terminal.integrated.cursorBlinking": true, "terminal.integrated.scrollback": 100000, // @sync os=mac "terminal.integrated.fontFamily": "MesloLGS-NF-Regular", "editor.codeActionsOnSave": { "source.autoFix": true, "source.fixAll": true, "source.fixAll.tslint": true, "source.organizeImports": true, "source.addMissingImports": true, }, "git.postCommitCommand": "push", "git.showPushSuccessNotification": true, "errorLens.exclude": [], "sync.forceUpload": true, "comment-divider.mainHeaderTransform": "uppercase", "comment-divider.subheaderTransform": "titlecase", "markdownlint.config": { "MD004": false, "MD014": false, "MD007": { "indent": 4 }, "MD025": false, "MD026": false, "MD033": false, "MD034": false, "MD037": false, "MD041": false, "MD047": false }, "editor.suggestSelection": "recentlyUsedByPrefix", "editor.roundedSelection": false, "terminal.external.osxExec": "iTerm.app", "editor.mouseWheelScrollSensitivity": 5, "markdown.links.openLocation": "beside", "editor.renderWhitespace": "boundary", "terminal.integrated.rightClickBehavior": "copyPaste", "task.autoDetect": "off", "color-highlight.matchWords": true, "terminals.sortTerminals": true, "autoSetSyntax.syntaxMapping": [ { "first_line_pattern": "tell", "languageId": "applescript" }, { "first_line_pattern": "|", "languageId": "csv (pipe)" } ], "cSpell.ignorePaths": [ "**/package-lock.json", "**/node_modules/**", "**/vscode-extension/**", "**/.git/objects/**", "**/.vscode", "**/vendor/**", "**/.history/**" ], "git.decorations.enabled": true, "debug.onTaskErrors": "debugAnyway", "zenMode.hideTabs": false, "zenMode.fullScreen": false, "zenMode.hideActivityBar": false, "zenMode.hideStatusBar": false, "editor.suggest.insertMode": "replace", "debug.showBreakpointsInOverviewRuler": true, "blankLine.languageIds": [ "*" ], "smartDelete.keepOneSpace": false, "search.globalFindClipboard": true, "editor.renderControlCharacters": true, "editor.smoothScrolling": true, "workbench.editor.revealIfOpen": true, "debug.openDebug": "neverOpen", "comment-divider.subheaderAlign": "left", "terminals.autokill": true, "editor.minimap.showSlider": "always", "workbench.tree.renderIndentGuides": "always", "editor.detectIndentation": false, "problemsFixRunner.list": [ "cSpell", "peskyCharacters" ], "editor.lineNumbers": "on", "editor.glyphMargin": true, "editor.folding": true, "problemsFixRunner.exclude": [ "^Add.*(user|folder|workspace) dictionary$", "pesky.*all$" ], "color-highlight.languages": [ "*", "!txt", "!markdown", "!php", "!blade", "!shellscript", ], "editor.suggest.localityBonus": true, "editor.wordBasedSuggestions": true, "editor.find.globalFindClipboard": true, "files.saveConflictResolution": "overwriteFileOnDisk", "path-autocomplete.transformations": [ { "type": "replace", "parameters": [ "^_", "" ], "when": { "fileName": "\\.scss$" } } ], "workbench.iconTheme": "symbols", "terminal.integrated.fontSize": 14, "files.restoreUndoStack": false, "autoSurround.list": [ "/", "*", "=", "-", "+", ".", "~", "`", "%", "#", "^", "\\", "'", "\"", " " ], "terminal.integrated.fontWeightBold": "400", "timeline.pageOnScroll": true, "typescript.workspaceSymbols.scope": "currentProject", "auto-rename-tag.activationOnLanguage": [ "html", "xml", "vue", "blade", "markdown", ], "markdown.preview.scrollEditorWithPreview": false, "autoSurround.oneSideSurround": { "left": [ "_", "$" ], "right": [] }, "files.watcherExclude": { "**/.history/**": true, "**/.vscode/**": true, "**/var/**": true, "**/vendor/**": true }, "diffEditor.codeLens": true, "remote.SSH.enableDynamicForwarding": false, "editor.acceptSuggestionOnCommitCharacter": false, "editor.autoClosingBrackets": "always", "problemsFixRunner.menuListType": "quickfix", "editor.snippetSuggestions": "top", "intelephense.references.exclude": [ "**/.history/**", "**/vendor/**", "**/node_modules/**" ], "git.ignoreLimitWarning": true, "workbench.editor.labelFormat": "medium", "extensions.ignoreRecommendations": true, "gistpad.scratchNotes.show": false, "html.format.templating": true, "html.format.wrapAttributes": "force-aligned", "html.format.indentInnerHtml": true, "html.format.indentHandlebars": true, "html.format.wrapLineLength": 0, "diffEditor.renderIndicators": false, "diffEditor.renderSideBySide": true, "bladeLinter.newLineAfterDirectiveEnd": [ "endpush", "endfor", "endphp", "else" ], "bladeLinter.ternaryOperator": [ "[", "(", "$" ], "search.seedWithNearestWord": true, "editor.wordWrap": "on", "editor.wrappingStrategy": "advanced", "fileShortcut.OpenInNewGroup": false, "emmet.triggerExpansionOnTab": true, "gitlens.statusBar.enabled": false, "gitlens.blame.ignoreWhitespace": true, "gitlens.views.stashes.files.compact": false, "fileShortcut.sort": "alpha", "git-graph.showStatusBarItem": false, "emmet.showSuggestionsAsSnippets": true, "emojisense.languages": { "markdown": true, "plaintext": true, "json": true, "scminput": true }, "bladeLinter.surroundDotWithSpace": [], "editor.codeLensFontFamily": "FiraCode-Retina", "editor.wordBasedSuggestionsMode": "allDocuments", "laravelGotoController.routeMethods": [ "route", "action", "Route::has", "Route::is", "tenant_route", "redirToIndex", "redirect" ], "bladeLinter.ignoreFiles": [ "layout", "header" ], "gitlens.gitCommands.skipConfirmations": [ "fetch:command", "stash-push:command", "switch:command", "push:command" ], "scm.providerCountBadge": "auto", "git.detectSubmodulesLimit": 100, "git.autorefresh": true, "git.autoRepositoryDetection": "subFolders", "git.countBadge": "tracked", "git.openAfterClone": "whenNoFolderOpen", "git.useCommitInputAsStashMessage": true, "git.allowForcePush": true, "scm.alwaysShowRepositories": true, "scm.repositories.visible": 0, "git.confirmSync": false, "search.useReplacePreview": false, "search.showLineNumbers": true, "notebook.outline.showCodeCells": true, "gitlens.menus": { "editor": false, "editorGroup": { "blame": true, "compare": false }, "editorTab": false, "explorer": false, "scm": { "graph": true, "authors": true }, "scmRepositoryInline": { "graph": true }, "scmRepository": { "authors": true, "graph": false }, "scmGroupInline": { "stash": true }, "scmGroup": { "compare": true, "openClose": true, "stash": true }, "scmItemInline": {}, "scmItem": { "clipboard": true, "compare": true, "history": true, "remote": false, "stash": true } }, "editor.minimap.enabled": false, "laravelGotoPath.list": { "base_path": "/", "app_path": "/app", "config_path": "/config", "database_path": "/database", "public_path": "/public", "resource_path": "/resources", "storage_path": "/storage", "mix": "/public", "asset": "/public", "global_asset": "/public", "secure_asset": "/public", "@mix": "/public", "file_put_contents": "/", "file_get_contents": "/", }, "editor.unfoldOnClickAfterEndOfLine": true, "workbench.tree.expandMode": "singleClick", "path-autocomplete.triggerOutsideStrings": true, "workbench.editor.splitSizing": "split", "editor.autoIndent": "advanced", "debug.saveBeforeStart": "nonUntitledEditorsInActiveGroup", "debug.allowBreakpointsEverywhere": true, "markdown.preview.breaks": true, "vscode_custom_css.statusbar": false, "bladeLinter.spaceBeforeDirectiveCondition": [ "if", "elseif", "push", "for", "foreach", "pushonce" ], "svgPreview.autoOpen": false, "terminalThemes.style": "Non (remove all terminal styling)", "search.sortOrder": "countDescending", "terminal.integrated.enablePersistentSessions": false, "terminal.integrated.useWslProfiles": false, "keyboard.touchbar.ignored": [ "workbench.action.debug.start", "workbench.action.debug.run", "workbench.action.navigateForward", "workbench.action.navigateBack" ], "security.workspace.trust.untrustedFiles": "open", "editor.linkedEditing": true, "security.workspace.trust.emptyWindow": true, "markdown.preview.typographer": true, "gitlens.views.repositories.showIncomingActivity": true, "cSpell.experimental.enableRegexpView": true, "code-runner.clearPreviousOutput": true, "code-runner.enableAppInsights": false, "code-runner.showRunCommandInEditorContextMenu": false, "code-runner.showRunCommandInExplorerContextMenu": false, "security.workspace.trust.enabled": false, "security.workspace.trust.startupPrompt": "never", "editor.padding.bottom": 500, "editor.find.addExtraSpaceOnTop": false, "editor.scrollBeyondLastLine": false, "redhat.telemetry.enabled": false, "workbench.editorAssociations": { "git-rebase-todo": "default" }, "bladeFormatter.format.wrapAttributes": "force-aligned", "errorLens.enabled": true, "telemetry.telemetryLevel": "error", "git.autofetch": true, "projectManager.filterOnFullPath": true, "intelephense.rename.exclude": [ "**/vendor/**", "**/.history/**", "**/var/**" ], "intelephense.rename.namespaceMode": "all", "numberedBookmarks.saveBookmarksInProject": true, "xml.codeLens.enabled": true, "intelephense.files.maxSize": 10000000, "gitlens.advanced.externalDiffTool": "Kaleidoscope", "gitlens.advanced.externalDirectoryDiffTool": "Kaleidoscope", "gitlens.codeLens.authors.enabled": false, "gitlens.codeLens.recentChange.enabled": false, "laravelGotoEnv.envFiles": [ ".env", ".env.local", ".env._local", ".env.test", ".env.testing", ".env.example", ], "typelens.noreferences": "no references", "git-graph.referenceLabels.alignment": "Branches (on the left) & Tags (on the right)", "git-graph.dialog.general.referenceInputSpaceSubstitution": "Hyphen", "file_peek.activeLanguages": [ "typescript", "javascript", "python", "php" ], "file_peek.searchFileExtensions": [ ".js", ".ts", ".html", ".css", ".scss", ".php" ], "gitlens.fileAnnotations.command": null, "git.closeDiffOnOperation": true, "gitlens.currentLine.enabled": false, "typelens.decorateunused": false, "typelens.skiplanguages": [ "csharp", "jsonc", "typescript", "javascript" ], "terminal.integrated.tabs.enabled": false, "commandAutolink.queries": [ { "linkFilePattern": "**/*{.yml,pecl}", "linkPattern": "[\/]?((dev-ops|opt)[^\\s]+\\.[^\\s]{2,})", "linkCommand": "workbench.action.quickOpen", "linkText": "Go To File" }, { "linkFilePattern": "**/*.json", "linkPattern": "([\/]?Users[^\\s]+\\.[^\\s]{2,15})(?=['\"])", "linkCommand": "workbench.action.quickOpen", "linkText": "Go To File" }, { "linkFilePattern": "**/*.php", "linkPattern": "(?<=__DIR__.*?['\"])[^\\s]+\\.[^\\s\/]{2,}(?=['\"])", "linkCommand": "workbench.action.quickOpen", "linkText": "Go To File" }, { "linkFilePattern": "*", "linkPattern": "(vendor|node_modules).*(?=['\"])", "linkCommand": "workbench.action.quickOpen", "linkText": "Go To File" }, ], "explorer.sortOrder": "foldersNestsFiles", "workbench.editor.wrapTabs": false, "errorLens.messageTemplate": "$message ($source)", "php.validate.enable": false, "namespaceResolver.autoSort": false, "intelephense.phpdoc.textFormat": "text", "php.format.codeStyle": "Off", "php.problems.scope": "opened", "php.problems.exclude": { "vendor/*": true, }, "workbench.editor.closeOnFileDelete": true, "workbench.editor.untitled.hint": "hidden", "projectManager.showParentFolderInfoOnDuplicates": true, "search.searchEditor.reusePriorSearchConfiguration": true, "phpParameterHint.borderRadius": 2, "phpParameterHint.saveDelay": 150, "phpParameterHint.collapseTypeWhenEqual": true, "csv-to-table.upperCaseHeader": true, "intelephense.phpdoc.returnVoid": false, "git-graph.openToTheRepoOfTheActiveTextEditorDocument": true, "npm-intellisense.showBuildInLibs": true, "npm-intellisense.scanDevDependencies": true, "npm-intellisense.packageSubfoldersIntellisense": true, "editor.bracketPairColorization.enabled": true, "local-history.daysLimit": 14, "local-history.treeLocation": "localHistory", "local-history.saveDelay": 1, "local-history.maxDisplay": 20, "terminal.integrated.cursorStyle": "line", "terminal.integrated.cursorWidth": 4, "workbench.editor.enablePreviewFromCodeNavigation": true, "editor.scrollBeyondLastColumn": 15, "editor.cursorBlinking": "smooth", "editor.gotoLocation.alternativeReferenceCommand": "editor.action.goToImplementation", "editor.gotoLocation.alternativeImplementationCommand": "editor.action.revealDeclaration", "testing.automaticallyOpenPeekView": "failureAnywhere", "testing.autoRun.mode": "rerun", "testing.openTesting": "neverOpen", "cSpell.fixSpellingWithRenameProvider": true, "cSpell.showAutocompleteSuggestions": true, "workbench.settings.useSplitJSON": false, "testing.automaticallyOpenPeekViewDuringAutoRun": true, "scm.diffDecorationsGutterPattern": { "added": true }, "scm.diffDecorationsGutterWidth": 5, "scm.diffDecorationsIgnoreTrimWhitespace": "inherit", "workbench.sideBar.location": "right", "phpGettersSetters.generatePHPDoc": false, "php.suggest.basic": false, "snippets.viewer.sortSnippetsByName": true, "phpParameterHint.collapseHintsWhenEqual": true, "phpParameterHint.hintOnlyVisibleRanges": true, "editor.stickyTabStops": true, "terminal.integrated.tabs.focusMode": "singleClick", "editor.bracketPairColorization.independentColorPoolPerBracketType": true, "color-highlight.matchRgbWithNoFunction": true, "workbench.editor.autoLockGroups": { "workbench.editorinputs.searchEditorInput": true, }, "errorLens.gutterIconSize": "auto", "gitlens.views.contributors.showAllBranches": true, "editor.fontSize": 15, "debug.autoExpandLazyVariables": true, "debug.console.acceptSuggestionOnEnter": "on", "debug.showSubSessionsInToolBar": true, "debug.terminal.clearBeforeReusing": true, "xml.symbols.maxItemsComputed": 2000, "search.searchEditor.defaultNumberOfContextLines": null, "search.useIgnoreFiles": false, "debug.showInStatusBar": "never", "debug.console.closeOnEnd": true, "explorer.autoReveal": "focusNoScroll", "markdown.extension.list.indentationSize": "inherit", "markdown.extension.tableFormatter.enabled": false, "laravelGotoView.createViewIfNotFound": false, "scm.alwaysShowActions": true, "scm.defaultViewMode": "tree", "editor.autoClosingDelete": "never", "remote.SSH.connectTimeout": 120, "editor.parameterHints.cycle": true, "projectManager.groupList": true, "merge-conflict.autoNavigateNextConflict.enabled": true, "cSpell.showCommandsInEditorContextMenu": false, "cSpell.suggestionNumChanges": 5, "cSpell.language": "en,fr,de", "editor.suggest.preview": true, "workbench.editor.enablePreview": false, "bladeFormatter.format.sortTailwindcssClasses": true, "autoCommentNextLine.list": [ { "char": "//", "languages": [ "php", "javascript", "typescript", "jsonc", "scss", "sass", "json", "vue", "markdown", "javascriptreact", "typescriptreact" ] }, { "char": "#", "languages": [ "python", "ruby" ] } ], "inlineFold.supportedLanguages": [ "html", "svelte", "vue", "blade", ], "laravelGotoView.codeLensText": "$(loading~spin) files with similar call (#)", "inlineFold.regex": "(?<=(class|style|(?!\\w)d)=\")(.{26,})(?=\")", "inlineFold.regexGroup": "2", "inlineFold.maskColor": "#ffd200", "inlineFold.maskChar": " ◦◦◦ ", "intelephense.environment.documentRoot": "public/index.php", "projectManager.ignoreProjectsWithinProjects": true, "editor.cursorSurroundingLines": 3, "rainbow_csv.csv_lint_detect_trailing_spaces": true, "code-runner.ignoreSelection": true, "problems.defaultViewMode": "table", "terminal.integrated.minimumContrastRatio": 1, "markdown.validate.enabled": true, "markdown.validate.fileLinks.enabled": "error", "markdown.experimental.editor.pasteLinks.enabled": true, "editor.experimental.pasteActions.enabled": true, "git.mergeEditor": false, "gitlens.views.fileHistory.files.layout": "tree", "cSpell.enableFiletypes": [ "!jsonc" ], "indentRainbow.colors": [ "rgba(115, 93, 120,0.15)", "rgba(179, 146, 172,0.15)", "rgba(209, 179, 196, 0.15)", "rgba(232, 194, 202,0.15)", "rgba(247, 209, 205,0.15)", "rgba(247, 209, 205,0.1)", "rgba(247, 209, 205,0.05)", "rgba(247, 209, 205,0.025)" ], "diffEditor.ignoreTrimWhitespace": false, "explorer.compactFolders": false, "indentRainbow.ignoreLinePatterns": [ "/[ \t]+(\\*)?(\\/([/*])?)?/g", ], "gitlens.views.commits.files.layout": "tree", "gitlens.views.repositories.files.layout": "tree", "gitlens.views.branches.files.layout": "tree", "gitlens.views.remotes.files.layout": "tree", "gitlens.views.tags.files.layout": "tree", "gitlens.views.contributors.files.layout": "tree", "gitlens.views.searchAndCompare.files.layout": "tree", "gitlens.views.searchAndCompare.files.compact": false, "gitlens.views.commits.files.compact": false, "gitlens.views.repositories.files.compact": false, "gitlens.views.fileHistory.files.compact": false, "gitlens.views.branches.files.compact": false, "gitlens.views.remotes.files.compact": false, "gitlens.views.tags.files.compact": false, "gitlens.views.worktrees.files.compact": false, "gitlens.views.contributors.files.compact": false, "copyWord.useOriginalCopyBehavior": true, "intelephense.telemetry.enabled": false, "dotnetAcquisitionExtension.enableTelemetry": false, "editor.accessibilitySupport": "off", "workbench.panel.defaultLocation": "right", "markdown.extension.completion.respectVscodeSearchExclude": false, "snippets.viewer.focusOnActiveEditorSnippets": true, "python.linting.pylintEnabled": true, "python.formatting.provider": "black", "python.linting.lintOnSave": false, "bladeFormatter.format.noPhpSyntaxCheck": true, "bladeFormatter.misc.dontShowNewVersionMessage": true, "bladeFormatter.format.noMultipleEmptyLines": true, "autoPosthtml.selfClosingTags": [ "x-auth-session-status", "x-text-input", "x-input-error", "x-input-label", ], "bladeFormatter.format.wrapLineLength": 500, "sync.gist": "becedc0bd7926f62ffc4183d5e779d36", "editor.stickyScroll.maxLineCount": 3, "gitlens.views.stashes.files.layout": "tree", "gitlens.views.worktrees.files.layout": "tree", "laravelGotoLang.defaultPath": "/lang", "editor.unicodeHighlight.includeComments": true, "editor.inlayHints.padding": true, "quick-file-browser.labelIgnoredFiles": true, "phpParameterHint.margin": 4, "phpParameterHint.verticalPadding": 3, "symbolMasks.masks": [ { "language": [ "jsonc", "lua" ], "patterns": [ { "pattern": "(?)", // kbd "regexFlag": "g", "decorations": [ { "backgroundColor": "#292c3180" } ] }, { "regex": "((?<=`)(?![`| ]).*?(?=[`]))", // short code block "regexFlag": "g", "decorations": [ { "backgroundColor": "#0064ff20" } ] }, { "regex": "((?<=( +)?`{3}\\w+\\s)(.|\\s)*?(?=\\s( +)?`{3}))", // code block "regexFlag": "g", "decorations": [ { "isWholeLine": true, "backgroundColor": "#4F6D8C10" } ] }, { "regex": "((?!\\!)(?<=\\[).*?(?=\\]))", // link "regexFlag": "g", "decorations": [ { "backgroundColor": "#fda20020" } ] }, { "regex": "(>.*)", // quote "regexFlag": "g", "decorations": [ { "backgroundColor": "#4F6D8C10" } ] }, { "regex": "(?<=\\|)(.*)(?=\\|)", // table "regexFlag": "g", "decorations": [ { "backgroundColor": "#4F6D8C10" } ] } ] }, { "languageIds": [ "php", "blade", ], "regexes": [ { "regex": "(\\$this)", // $this "regexFlag": "g", "decorations": [ { "backgroundColor": "#6288A130" } ] }, { "regex": "(dd\\()", "regexFlag": "g", "decorations": [ { "color": "#d94e4e", "backgroundColor": "#d94e4e50", "isWholeLine": true, "overviewRulerColor": "#ffffff" } ] }, ] }, { "languageIds": [ "javascript", "typescript", "vue" ], "regexes": [ { "regex": "(this)", // this "regexFlag": "g", "decorations": [ { "backgroundColor": "#6288A130" } ] }, { "regex": "(console\\.log\\()", // console.log "regexFlag": "g", "decorations": [ { "color": "#ffffff", "backgroundColor": "#ffffff50", "isWholeLine": true, "overviewRulerColor": "#ffffff" } ] }, { "regex": "(console\\.error\\()", // console.error "regexFlag": "g", "decorations": [ { "color": "#d94e4e", "backgroundColor": "#d94e4e50", "isWholeLine": true, "overviewRulerColor": "#ffffff" } ] }, { "regex": "(console\\.warn\\()", // console.warn "regexFlag": "g", "decorations": [ { "color": "#eed792", "backgroundColor": "#eed79250", "isWholeLine": true, "overviewRulerColor": "#ffffff" } ] }, { "regex": "(console\\.count\\()", // console.count "regexFlag": "g", "decorations": [ { "color": "#6c6cc4", "backgroundColor": "#6c6cc450", "isWholeLine": true, "overviewRulerColor": "#ffffff" } ] }, ] }, { "languageIds": [ "blade", "html", "vue-html" ], "regexes": [ { "regex": "(id(?=\\=))", // id "regexFlag": "g", "decorations": [ { "color": "#cf3be9", "backgroundColor": "#cf3be920", } ] }, ] } ], "markdownEnhancers.decorationSupport": true, "markdownEnhancers.linkStyles": { "backgroundColor": "#fda20020", "css": "padding: 3px 0" }, "editor.foldingImportsByDefault": true, "notebook.showFoldingControls": "always", "notebook.markup.fontSize": 14, "gitlens.defaultGravatarsStyle": "monsterid", "notebook.cellToolbarVisibility": "hover", "notebook.consolidatedRunButton": true, "snippets.viewer.combineLanguageSnippets": true, "snippets.viewer.showOnlyActiveEditorLanguageSnippets": true, "autoSurround.ignoreSurroundIfFirst": false, "remoteHub.commitDirectlyWarning": "off", "typelens.showReferencesForProperties": false, "intelephense.environment.includePaths": [ "vendor" ], "javascript.referencesCodeLens.enabled": true, "typescript.implementationsCodeLens.enabled": true, "typescript.referencesCodeLens.enabled": true, "typescript.referencesCodeLens.showOnAllFunctions": true, "javascript.referencesCodeLens.showOnAllFunctions": true, "workbench.editor.limit.excludeDirty": true, "typescript.updateImportsOnFileMove.enabled": "always", "javascript.updateImportsOnFileMove.enabled": "always", "tabout.charactersToTabOutFrom": [ { "open": "[", "close": "]" }, { "open": "{", "close": "}" }, { "open": "(", "close": ")" }, { "open": "`", "close": "`" }, { "open": "'", "close": "'" }, { "open": "\"", "close": "\"" }, { "open": "=", "close": "=" }, { "open": ">", "close": ">" }, { "open": "<", "close": "<" }, { "open": ".", "close": "." }, { "open": ",", "close": "," }, { "open": ":", "close": ":" } ], } ```
bambooom commented 1 year ago

I think I got the same problem. I can't see the cursor blink. Here is another error I've got when I open a file: Screen Shot 2022-12-12 at 16 44 56

yamachu commented 1 year ago

Line numbers and cursors do not seem to appear in a new file created with CTRL+N. It seems that some files are displayed and some are not.

golimpio commented 1 year ago

I'm also experiencing the same issue, but not for all files: all html files have this issue and some ts files will trigger the issue as well. So far, other types are opening fine.

alexdima commented 1 year ago

@yamachu @golimpio Could you please also share your settings?

yamachu commented 1 year ago

@alexdima https://gist.github.com/yamachu/c2243e23f8df3191a461e2a2409330e7 This is my settings.json

alexdima commented 1 year ago

To reproduce:

As a workaround, you can configure "editor.guides.bracketPairs": false to unblock yourselves. We've frozen the build and looking into a fix.

jonjia commented 1 year ago

To reproduce:

  • configure "editor.guides.bracketPairs": true
  • scroll to the end of a file such that the last line is visible

As a workaround, you can configure "editor.guides.bracketPairs": false to unblock yourselves. We've frozen the build and looking into a fix.

works for me, thank you

sanket-bhalerao commented 1 year ago

@hediet @alexdima is there any way this fix could be released early? currently, the vscode insiders build is unusable due to this.

vscode stable release does not feel like home to me :D

sanket-bhalerao commented 1 year ago

"editor.guides.bracketPairs": false

this did not work for me :(

alexdima commented 1 year ago

@hediet @alexdima is there any way this fix could be released early? currently, the vscode insiders build is unusable due to this.

Yes, a new insiders build is scheduled to be released as soon as it finishes. You can try disabling indent guides completely or using the stable version for the next couple of hours.

We're sorry for the breakage and appreciate that you're helping to improve vscode by using the Insiders build ❤️ !

golimpio commented 1 year ago

New release fixed it, thanks!

Version: 1.75.0-insider Commit: d7b1e2a1c892511a125e4ceb9758ec8ddf907775 Date: 2022-12-12T12:42:54.079Z