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

lsp: Rename on template #1085

Merged
merged 4 commits into from
Sep 10, 2024
Merged

Conversation

charlieegan3
Copy link
Member

Fixes #1061

Screen.Recording.2024-09-09.at.18.42.18.mov

I have added some tests for the templating, I was going to determine the desired name for the file in that function too but in the end it was easier to keep the renaming logic separate. Even if this is more verbose, can be revisited tomorrow if we want to do some tidying here. Posting now just to allow testing until I'm next back working on this.

@charlieegan3 charlieegan3 force-pushed the rename-on-template branch 2 times, most recently from cf79e48 to dda1078 Compare September 10, 2024 08:26
@charlieegan3 charlieegan3 marked this pull request as draft September 10, 2024 09:10
@charlieegan3 charlieegan3 marked this pull request as ready for review September 10, 2024 13:10
Copy link
Member

@anderseknert anderseknert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice, and the thorough tests are excellent 👍

Signed-off-by: Charlie Egan <[email protected]>
@charlieegan3 charlieegan3 merged commit 0c1ef19 into StyraInc:main Sep 10, 2024
4 checks passed
@charlieegan3 charlieegan3 deleted the rename-on-template branch September 10, 2024 13:31
srenatus pushed a commit to srenatus/regal that referenced this pull request Oct 1, 2024
* lsp: Rename on template

Fixes StyraInc#1061

Signed-off-by: Charlie Egan <[email protected]>

* lsp: template edits for rename in one operation

Signed-off-by: Charlie Egan <[email protected]>

* lsp: Include deleting dirs as part of wksp changes

Signed-off-by: Charlie Egan <[email protected]>

* lsp: templating add docs

Signed-off-by: Charlie Egan <[email protected]>

---------

Signed-off-by: Charlie Egan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Templating from directory-package-mismatch should honor exclude-test-suffix: false setting
2 participants