typescript-tools.nvim icon indicating copy to clipboard operation
typescript-tools.nvim copied to clipboard

It uses too much ram when opening JS files

Open VesperQuartz opened this issue 1 year ago • 2 comments

This only happens when i open Javascript files and not typescript. This is a project with a single Javascript file and no node_module, so why eating so much Ram? screenshot_2024-03-31T17:24:38

This is my config

require("typescript-tools").setup({
  settings = {
    code_lens = "all",
  },
})

VesperQuartz avatar Mar 31 '24 16:03 VesperQuartz

The README already tell you that CodeLens is a experimental feature, even in VSCode is experimental, because it might hit performance of server.

gmr458 avatar Apr 21 '24 21:04 gmr458

The README already tell you that CodeLens is a experimental feature, even in VSCode is experimental, because it might hit performance of server.

That was not the problem. The problem was that i didn't include a jsconfig file

VesperQuartz avatar Apr 28 '24 02:04 VesperQuartz