anacierdem / vscode-requirejs

Provides goto definition functionality for require js modules.
MIT License
21 stars 14 forks source link

Extension Causes High CPU Usage #66

Open fatihky opened 4 years ago

fatihky commented 4 years ago

Hi, my VS Code has been using one CPU core at 100% for a few days. I finally found that your extension uses that CPU. I don't know how to solve this but I thought that reporting the issue may help.

Here is the details:

From my clipboard (VS Code copied this):

{
    "messages": [],
    "activationTimes": {
        "codeLoadingTime": 57,
        "activateCallTime": 1,
        "activateResolvedTime": 22,
        "activationReason": {
            "startup": false,
            "extensionId": {
                "value": "lici.require-js",
                "_lower": "lici.require-js"
            },
            "activationEvent": "onLanguage:javascript"
        }
    },
    "runtimeErrors": []
}
anacierdem commented 4 years ago

An example project structure to reproduce the issue would be really nice. Don't expect a quick fix though, I really don't have enough time for this repository lately.