【问题标题】:vscode not working with javascript since the latest update自最新更新以来,vscode 无法使用 javascript
【发布时间】:2019-12-22 23:36:31
【问题描述】:

所以自最新更新以来,所有 javascript 功能都无法正常工作。

  • 在我所有的 js 项目中。 (是的,只有 js)
  • 没有智能感知,没有建议,甚至没有谈论“跳转到声明”,基本上是一个带颜色的记事本。

我已尝试删除可能会干扰的扩展程序。重新安装打字稿npm i -g tsd

在vscode Insider上也是一样的。 即使我运行code . --disable-extensions 也没有任何效果。

$ code --status->

Version:          Code 1.41.0 (9579eda04fdb3a9bba2750f15193e5fafe16b959, 2019-12-11T17:58:38.338Z)
OS Version:       Darwin x64 17.7.0
CPUs:             Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz (8 x 2200)
Memory (System):  16.00GB (0.06GB free)
Load (avg):       3, 4, 4
VM:               0%
Screen Reader:    no
Process Argv:     /Users/pirate/websites/tipigo-spark
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:             disabled_off
                  protected_video_decode:        unavailable_off
                  rasterization:                 enabled
                  skia_renderer:                 disabled_off
                  surface_control:               disabled_off
                  surface_synchronization:       enabled_on
                  video_decode:                  enabled
                  viz_display_compositor:        enabled_on
                  viz_hit_test_surface_layer:    disabled_off
                  webgl:                         enabled
                  webgl2:                        enabled

CPU %   Mem MB     PID  Process
    3       82    8075  code main
    0       49    8076     gpu-process
    0      164    8079     window (add_to_dev.py — tipigo-spark)
    0      131    8082       extensionHost
    0       66    8103         electron_node server.js 
    0      328    8158         /Users/pirate/.vscode/extensions/ms-python.python-2019.11.50794/languageServer.0.5.10/Microsoft.Python.LanguageServer
    0        0    8083       /bin/bash -l
    0       33    8084       watcherService
    0       33    8119       searchService
    0       66    8099     shared-process
    0        0    8376       /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=

Workspace Stats: 
|  Window (add_to_dev.py — tipigo-spark)
|    Folder (tipigo-spark): 37 files
|      File types: py(15) sh(4) pyc(2) cred(1) txt(1) text(1) zip(1)
|                  code-workspace(1) json(1)
|      Conf files: settings.json(1)

【问题讨论】:

    标签: visual-studio-code


    【解决方案1】:

    您并不孤单,请尝试通过安装 JavaScript and TypeScript Nightly 扩展来升级您的工作区以使用 typescript@next

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多