facebook

Refactoring: can I rename .css files?

  1. CodeMix & Angular IDE
  2.  > 
  3. Getting Help
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #640303 Reply

    silvio-araujo
    Participant

    I’m using Codemix 3 release CI 2019.12.11, and working in an Angular 8 project in Eclipse. I use to rename project files with right-click button, and selecting “refactor” -> “rename” in Java projects. But now in Angular project, I see that feature is missing… Just a simple “rename” to a file, that brokes every reference! How can I do it now? And for my particular case, I want to rename a .css file to .scss … Is it possible?

    #640423 Reply

    support-swapna
    Moderator

    Silvio,

    Thank you for working with CodeMix.
    Are you looking to rename a .css file to .scss and in turn update/rename all references of that file in that project? If yes, then currently rename does not support updating all the references of the CSS file. You will have to manually update the references after updating the file extension.

    CodeMix is based on VSCode smarts and the rename behavior for CSS is the same in VSCode as well.
    I tried couple of extensions for CSS but none of them are renaming all the references of the file. I have filed a report with the dev team to check if we can work on it. We will keep you posted about it soon.

    Apologies for inconvenience caused.

    –Swapna
    Genuitec Support

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Refactoring: can I rename .css files?

You must be logged in to post in the forum log in