Open tjx666 opened 1 year ago
I want map src/index.ts -> dist/index.js:
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)
I want map src/index.ts -> dist/index.js:
settings:
log: