xgqfrms / vscode

:cn: :rocket: Visual Studio Code & VSCode Code Snippets All in One 🎉
https://vscode.xgqfrms.xyz
MIT License
3 stars 1 forks source link

code helper bug #17

Open xgqfrms opened 5 years ago

xgqfrms commented 5 years ago

code helper bug

https://github.com/Microsoft/vscode/issues/70480#event-2204234797

$ code --status

$ code-insiders --status
xgqfrms commented 5 years ago

https://github.com/Microsoft/vscode/wiki/Performance-Issues

https://code.visualstudio.com/insiders/

xgqfrms commented 5 years ago

image image

xgqfrms commented 3 years ago
$ code --status

$ code-insiders --status
xgqfrms commented 3 years ago

vscode bug

https://github.com/xgqfrms/vscode/issues/17

$ code -s
# OR
$ code --status

[23142:0224/214152.550798:WARNING:address_sorter_posix.cc(388)] FromSockAddr failed on netmask
Version:          Code 1.52.0 (940b5f4bb5fa47866a54529ed759d95d09ee80be, 2020-12-10T22:46:53.673Z)
OS Version:       Darwin x64 19.6.0
CPUs:             Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz (8 x 2000)
Memory (System):  16.00GB (0.21GB free)
Load (avg):       2, 2, 2
VM:               0%
Screen Reader:    no
Process Argv:     -psn_0_688296 --crash-reporter-id 75aed6a2-51a3-4c3b-a058-34a906ec35e3
GPU Status:       2d_canvas:                  enabled
                  flash_3d:                   enabled
                  flash_stage3d:              enabled
                  flash_stage3d_baseline:     enabled
                  gpu_compositing:            enabled
                  metal:                      disabled_off
                  multiple_raster_threads:    enabled_on
                  oop_rasterization:          enabled
                  opengl:                     enabled_on
                  protected_video_decode:     unavailable_off
                  rasterization:              enabled
                  skia_renderer:              disabled_off_ok
                  video_decode:               enabled
                  webgl:                      enabled
                  webgl2:                     enabled

CPU %   Mem MB     PID  Process
    3       98    8602  code main
    0       82    8605     gpu-process
    0       16    8610     utility
    3       49    8641     shared-process
    0        0   23140       /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
    0      508   25697     window (readme.md — Untitled (Workspace))
    0        0   25698       /bin/zsh -l
    0        0   26122       /bin/zsh -l
    0        0   43735       /bin/zsh -l
    0       16   61316       watcherService
    0       98   61325       extensionHost
    0      295   61331         electron_node vueServerMain.js 
    0        0   61334         /private/var/folders/ps/vn8mj5ps32l6f0sgk695db3w0000gn/T/AppTranslocation/CD50BDF2-F799-434F-B9CE-9264E34CE1CA/d/Visual Studio Code.app/Contents/Frameworks/Code Helper (Renderer).app/Contents/MacOS/Code Helper (Renderer) /private/var/folders/ps/vn8mj5ps32l6f0sgk695db3w0000gn/T/AppTranslocation/CD50BDF2-F799-434F-B9CE-9264E34CE1CA/d/Visual Studio Code.app/Contents/Resources/app/extensions/json-language-features/server/dist/node/jsonServerMain --node-ipc --clientProcessId=61325
    0        0   61335         /private/var/folders/ps/vn8mj5ps32l6f0sgk695db3w0000gn/T/AppTranslocation/CD50BDF2-F799-434F-B9CE-9264E34CE1CA/d/Visual Studio Code.app/Contents/Frameworks/Code Helper (Renderer).app/Contents/MacOS/Code Helper (Renderer) /private/var/folders/ps/vn8mj5ps32l6f0sgk695db3w0000gn/T/AppTranslocation/CD50BDF2-F799-434F-B9CE-9264E34CE1CA/d/Visual Studio Code.app/Contents/Resources/app/extensions/html-language-features/server/dist/node/htmlServerMain --node-ipc --clientProcessId=61325
    0        0   61336         /private/var/folders/ps/vn8mj5ps32l6f0sgk695db3w0000gn/T/AppTranslocation/CD50BDF2-F799-434F-B9CE-9264E34CE1CA/d/Visual Studio Code.app/Contents/Frameworks/Code Helper (Renderer).app/Contents/MacOS/Code Helper (Renderer) /private/var/folders/ps/vn8mj5ps32l6f0sgk695db3w0000gn/T/AppTranslocation/CD50BDF2-F799-434F-B9CE-9264E34CE1CA/d/Visual Studio Code.app/Contents/Resources/app/extensions/css-language-features/server/dist/node/cssServerMain --node-ipc --clientProcessId=61325
    0       49   61338         electron_node server.js 
    0       16   61348         electron_node eslintServer.js 
    0       33   61958         electron_node tsserver.js 
    0      197   61959         electron_node tsserver.js 
    0       16   61967           electron_node typingsInstaller.js typesMap.js 
    0        0   61581       /bin/zsh -l

Workspace Stats: 
|  Window (readme.md — Untitled (Workspace))
|    Folder (gitlab-projects): 7152 files
|      File types: vue(2167) js(1537) png(1108) css(173) nvue(59) scss(47)
|                  md(40) jsx(39) html(37) json(30)
|      Conf files: package.json(13) webpack.config.js(5) settings.json(1)
|                  tsconfig.json(1)
➜  ~ 
xgqfrms commented 3 years ago
$ code -h
Visual Studio Code 1.52.0

Usage: code [options][paths...]

To read from stdin, append '-' (e.g. 'ps aux | grep code | code -')

Options
  -d --diff <file> <file>           Compare two files with each other.
  -a --add <folder>                 Add folder(s) to the last active window.
  -g --goto <file:line[:character]> Open a file at the path on the specified
                                    line and character position.
  -n --new-window                   Force to open a new window.
  -r --reuse-window                 Force to open a file or folder in an
                                    already opened window.
  -w --wait                         Wait for the files to be closed before
                                    returning.
  --locale <locale>                 The locale to use (e.g. en-US or zh-TW).
  --user-data-dir <dir>             Specifies the directory that user data is
                                    kept in. Can be used to open multiple
                                    distinct instances of Code.
  -h --help                         Print usage.

Extensions Management
  --extensions-dir <dir>
      Set the root path for extensions.
  --list-extensions
      List the installed extensions.
  --show-versions
      Show versions of installed extensions, when using --list-extension.
  --category
      Filters installed extensions by provided category, when using --list-extension.
  --install-extension <extension-id[@version] | path-to-vsix>
      Installs or updates the extension. The identifier of an extension is always `${publisher}.${name}`. Use `--force` argument to update to latest version. To install a specific version provide `@${version}`. For example: 'vscode.csharp@1.2.3'.
  --uninstall-extension <extension-id>
      Uninstalls an extension.
  --enable-proposed-api <extension-id>
      Enables proposed API features for extensions. Can receive one or more extension IDs to enable individually.

Troubleshooting
  -v --version                       Print version.
  --verbose                          Print verbose output (implies --wait).
  --log <level>                      Log level to use. Default is 'info'.
                                     Allowed values are 'critical', 'error',
                                     'warn', 'info', 'debug', 'trace', 'off'.
  -s --status                        Print process usage and diagnostics
                                     information.
  --prof-startup                     Run CPU profiler during startup
  --disable-extensions               Disable all installed extensions.
  --disable-extension <extension-id> Disable an extension.
  --sync <on> <off>                  Turn sync on or off
  --inspect-extensions <port>        Allow debugging and profiling of
                                     extensions. Check the developer tools for
                                     the connection URI.
  --inspect-brk-extensions <port>    Allow debugging and profiling of
                                     extensions with the extension host being
                                     paused after start. Check the developer
                                     tools for the connection URI.
  --disable-gpu                      Disable GPU hardware acceleration.
  --max-memory                       Max memory size for a window (in Mbytes).
  --telemetry                        Shows all telemetry events which VS code
                                     collects.

➜  ~ 
xgqfrms commented 3 years ago

https://github.com/Microsoft/vscode/wiki/Performance-Issues

$ code --disable-extensions
xgqfrms commented 3 years ago

insiders

Download Visual Studio Code Insiders

预览版

https://code.visualstudio.com/insiders/

image