aurelia / vscode-extension

An extension for the VS Code editor that provides Intellisense capabilities to your Aurelia project.
MIT License
112 stars 25 forks source link

Can we get rid of file reading for rename `findAllBindableAttributeRegions` #184

Open hiaux0 opened 2 years ago

hiaux0 commented 2 years ago

server\src\core\regions\findSpecificRegion.ts

      const uri = pathToFileURL(path).toString();
      const content = fs.readFileSync(path, 'utf-8');
      const document = TextDocument.create(uri, 'html', 0, content);