Add the ability to rename / move SourceFiles
See original GitHub issueWould be nice to be able to rename or move a SourceFile
to a different directory.
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
to move files and rename if needed - TechNet - Microsoft
PSIsContainer)} # verify if the list of source files is empty if ($files -ne ... How can I add a sequential number right...
Read more >Move and rename file with double extension using MSBuild
Starting with MSBuild 4.0 we can use String Item Functions, for example Replace: <ItemGroup> <RenameFile Include="Main\App.*" ...
Read more >How To Move or Rename a File using MSBuild | Blog - Ardalis
Move File Task or Rename File Task ... <Copy SourceFiles=" ... There's also a library of tasks you can install separately that includes...
Read more >Rename, Move, and Copy Files - JRiver Media Center Wiki
Right -click > Library Tools > Rename, Move, & Copy Files ... This mode does not alter the Library or the source files...
Read more >Working With Files - Gradle User Manual
You do this by adding an into() declaration for just the PDFs: ... Gradle has no API for moving files and directories around,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I looked around a bit, but didn’t immediately find anything using the TypeScript compiler. I also briefly just looked at the code for
findReferences
in the TypeScript repo, but I didn’t find anything useful in there yet (maybegetImportersForExport
). I’ll have to look back again later.FYI, it uses a lazy graph now in v9.4.0 so it should be way faster for moving lots of files.
I talked with the Typescript team and they told me about
getAllDependencies
inBuilderProgram
, but it seems dependent on compilation (ex. returning all files when specifying the outFile or out compiler options). So I had to roll with my own implementation.