Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extension crash with cpu100% #52

Open
tjx666 opened this issue Apr 12, 2023 · 0 comments
Open

extension crash with cpu100% #52

tjx666 opened this issue Apr 12, 2023 · 0 comments
Labels
feature New feature or request triage Needs to be looked at

Comments

@tjx666
Copy link

tjx666 commented Apr 12, 2023

image

I want map src/index.ts -> dist/index.js:

image

settings:

{
    "findrelated.applyWorkspaceRulesets": ["ts"],
    "findrelated.outputLevel": "verbose",
    "findrelated.workspaceRulesets": [
        {
            "name": "ts",
            "rules": [
                {
                    "pattern": "(.*?)\\/([^/]+?)\\/src\\/([^/]+?)\\.ts$",
                    "locators": ["$1/$2/dist/$3.js"]
                }
            ]
        }
    ],
}

log:

[2023-04-12 06:24:08:555] Rule(aspnet).match(tools/rollup-components/src/index.ts)=false — (.*)\.(?:aspx|ascx|asax|ashx|asmx)$
[2023-04-12 06:24:08:555] Rule(aspnet).match(tools/rollup-components/src/index.ts)=false — (.*)\.(aspx|ascx|asax|ashx|asmx)(\.designer)?(\.cs)$
[2023-04-12 06:24:08:555] Rule(aspnet-mvc).match(tools/rollup-components/src/index.ts)=false — (.*)/views/(.*?)(?:/.*)?\.cshtml$
[2023-04-12 06:24:08:555] Rule(aspnet-mvc).match(tools/rollup-components/src/index.ts)=false — (.*)/controllers/(.*)/?(.*)controller\.cs$
[2023-04-12 06:24:08:555] Rule(aurelia).match(tools/rollup-components/src/index.ts)=false — (.*)\.html$
[2023-04-12 06:24:08:555] Rule(aurelia).match(tools/rollup-components/src/index.ts)=true — (.*)\.(?:ts|js)$
[2023-04-12 06:24:08:555] Rule(c/c++).match(tools/rollup-components/src/index.ts)=false — (.*)\.(?:c|cpp)$
[2023-04-12 06:24:08:555] Rule(c/c++).match(tools/rollup-components/src/index.ts)=false — (.*)\.h$
[2023-04-12 06:24:08:555] Rule(csharp).match(tools/rollup-components/src/index.ts)=false — (.*)\.(?:cs|resx|settings)$
[2023-04-12 06:24:08:555] Rule(csharp).match(tools/rollup-components/src/index.ts)=false — (.*)\.designer\.cs$
[2023-04-12 06:24:08:556] Rule(minified).match(tools/rollup-components/src/index.ts)=false — (.*?)(\.min)?\.(js|css)(?:\.map)?$
[2023-04-12 06:24:08:556] Rule(xaml).match(tools/rollup-components/src/index.ts)=false — (.*)\.xaml$
[2023-04-12 06:24:08:556] Rule(xaml).match(tools/rollup-components/src/index.ts)=false — (.*)\.xaml\.cs$
[2023-04-12 06:24:08:556] Rule(ts).match(tools/rollup-components/src/index.ts)=true — (.*?)\/([^/]+?)\/src\/([^/]+?)\.ts$
[2023-04-12 06:24:08:556] Rule(aurelia).provideRelated(tools/rollup-components/src/index.ts, /Users/yutengjing/code/xxx) — globPattern=tools/rollup-components/src/index.html
[2023-04-12 06:24:08:556] RulesProvider.findFiles(tools/rollup-components/src/index.html, undefined)
[2023-04-12 06:24:08:556] Rule(ts).provideRelated(tools/rollup-components/src/index.ts, /Users/yutengjing/code/xxx) — globPattern=tools/rollup-components/dist/index.js
[2023-04-12 06:24:08:556] RulesProvider.findFiles(tools/rollup-components/dist/index.js, undefined)

@tjx666 tjx666 added feature New feature or request triage Needs to be looked at labels Apr 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request triage Needs to be looked at
Projects
None yet
Development

No branches or pull requests

1 participant